Home
last modified time | relevance | path

Searched refs:anon_vma_chain (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/mm/
Dinterval_tree.c61 static inline unsigned long avc_start_pgoff(struct anon_vma_chain *avc) in avc_start_pgoff()
66 static inline unsigned long avc_last_pgoff(struct anon_vma_chain *avc) in avc_last_pgoff()
71 INTERVAL_TREE_DEFINE(struct anon_vma_chain, rb, unsigned long, rb_subtree_last, in INTERVAL_TREE_DEFINE() argument
75 void anon_vma_interval_tree_insert(struct anon_vma_chain *node, in INTERVAL_TREE_DEFINE()
85 void anon_vma_interval_tree_remove(struct anon_vma_chain *node, in anon_vma_interval_tree_remove()
91 struct anon_vma_chain *
98 struct anon_vma_chain *
99 anon_vma_interval_tree_iter_next(struct anon_vma_chain *node, in anon_vma_interval_tree_iter_next()
106 void anon_vma_interval_tree_verify(struct anon_vma_chain *node) in anon_vma_interval_tree_verify()
Drmap.c140 static inline struct anon_vma_chain *anon_vma_chain_alloc(gfp_t gfp) in anon_vma_chain_alloc()
145 static void anon_vma_chain_free(struct anon_vma_chain *anon_vma_chain) in anon_vma_chain_free() argument
147 kmem_cache_free(anon_vma_chain_cachep, anon_vma_chain); in anon_vma_chain_free()
151 struct anon_vma_chain *avc, in anon_vma_chain_link()
156 list_add(&avc->same_vma, &vma->anon_vma_chain); in anon_vma_chain_link()
192 struct anon_vma_chain *avc; in __anon_vma_prepare()
283 struct anon_vma_chain *avc, *pavc; in anon_vma_clone()
286 list_for_each_entry_reverse(pavc, &src->anon_vma_chain, same_vma) { in anon_vma_clone()
337 struct anon_vma_chain *avc; in anon_vma_fork()
399 struct anon_vma_chain *avc, *next; in unlink_anon_vmas()
[all …]
Dmmap.c292 struct anon_vma_chain *avc; in validate_mm()
317 list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) in validate_mm()
352 struct anon_vma_chain *avc; in anon_vma_interval_tree_pre_update_vma()
354 list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) in anon_vma_interval_tree_pre_update_vma()
361 struct anon_vma_chain *avc; in anon_vma_interval_tree_post_update_vma()
363 list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) in anon_vma_interval_tree_post_update_vma()
754 list_is_singular(&vma->anon_vma_chain))) in is_mergeable_anon_vma()
1090 if (anon_vma && list_is_singular(&old->anon_vma_chain)) in reusable_anon_vma()
3681 struct anon_vma_chain *avc; in mm_take_all_locks()
3723 list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) in mm_take_all_locks()
[all …]
Dksm.c2858 struct anon_vma_chain *vmac; in rmap_walk_ksm()
2930 struct anon_vma_chain *vmac; in collect_procs_ksm()
Dmemory-failure.c613 struct anon_vma_chain *vmac; in collect_procs_anon()
/linux-6.6.21/include/linux/
Dmm.h36 struct anon_vma_chain;
809 INIT_LIST_HEAD(&vma->anon_vma_chain); in vma_init()
3200 void anon_vma_interval_tree_insert(struct anon_vma_chain *node,
3202 void anon_vma_interval_tree_remove(struct anon_vma_chain *node,
3204 struct anon_vma_chain *
3207 struct anon_vma_chain *anon_vma_interval_tree_iter_next(
3208 struct anon_vma_chain *node, unsigned long start, unsigned long last);
3210 void anon_vma_interval_tree_verify(struct anon_vma_chain *node);
Drmap.h82 struct anon_vma_chain { struct
Dmm_types.h629 struct list_head anon_vma_chain; /* Serialized by mmap_lock & member
/linux-6.6.21/kernel/
Dfork.c516 INIT_LIST_HEAD(&new->anon_vma_chain); in vm_area_dup()