Searched refs:ma_state (Results 1 – 14 of 14) sorted by relevance
/linux-6.12.1/include/linux/ |
D | maple_tree.h | 438 struct ma_state { struct 455 struct ma_state *mas; argument 483 struct ma_state name = { \ 496 #define MA_WR_STATE(name, ma_state, wr_entry) \ argument 498 .mas = ma_state, \ 510 void *mas_walk(struct ma_state *mas); 511 void *mas_store(struct ma_state *mas, void *entry); 512 void *mas_erase(struct ma_state *mas); 513 int mas_store_gfp(struct ma_state *mas, void *entry, gfp_t gfp); 514 void mas_store_prealloc(struct ma_state *mas, void *entry); [all …]
|
D | mm_types.h | 1122 struct ma_state mas;
|
D | mm.h | 2376 void unmap_vmas(struct mmu_gather *tlb, struct ma_state *mas,
|
/linux-6.12.1/lib/ |
D | maple_tree.c | 142 struct ma_state *orig_l; /* Original left side of subtree */ 143 struct ma_state *orig_r; /* Original right side of subtree */ 144 struct ma_state *l; /* New left side of subtree */ 145 struct ma_state *m; /* New middle of subtree (rare) */ 146 struct ma_state *r; /* New right side of subtree */ 200 static void mas_set_height(struct ma_state *mas) in mas_set_height() 210 static unsigned int mas_mt_height(struct ma_state *mas) in mas_mt_height() 252 static __always_inline void mas_set_err(struct ma_state *mas, long err) in mas_set_err() 258 static __always_inline bool mas_is_ptr(const struct ma_state *mas) in mas_is_ptr() 263 static __always_inline bool mas_is_start(const struct ma_state *mas) in mas_is_start() [all …]
|
/linux-6.12.1/include/trace/events/ |
D | maple_tree.h | 11 struct ma_state; 15 TP_PROTO(const char *fn, struct ma_state *mas), 48 TP_PROTO(const char *fn, struct ma_state *mas), 82 TP_PROTO(const char *fn, struct ma_state *mas, unsigned long piv,
|
/linux-6.12.1/mm/ |
D | vma.h | 204 struct ma_state *mas_detach); 207 struct ma_state *mas_detach); 210 struct ma_state *mas_detach); 218 static inline void reattach_vmas(struct ma_state *mas_detach) in reattach_vmas() 241 struct ma_state *mas_detach) in vms_abort_munmap_vmas() 243 struct ma_state *mas = &vms->vmi->mas; in vms_abort_munmap_vmas() 272 void unmap_region(struct ma_state *mas, struct vm_area_struct *vma,
|
D | vma.c | 344 void unmap_region(struct ma_state *mas, struct vm_area_struct *vma, in unmap_region() 1080 struct ma_state *mas_detach, bool mm_wr_locked) in vms_clear_ptes() 1107 struct ma_state *mas_detach) in vms_clean_up_area() 1130 struct ma_state *mas_detach) in vms_complete_munmap_vmas() 1181 struct ma_state *mas_detach) in vms_gather_munmap_vmas()
|
D | internal.h | 384 void free_pgtables(struct mmu_gather *tlb, struct ma_state *mas,
|
D | mmap.c | 1370 struct ma_state mas_detach; in __mmap_region()
|
D | memory.c | 364 void free_pgtables(struct mmu_gather *tlb, struct ma_state *mas, in free_pgtables() 1881 void unmap_vmas(struct mmu_gather *tlb, struct ma_state *mas, in unmap_vmas()
|
/linux-6.12.1/tools/testing/vma/ |
D | vma_internal.h | 145 struct ma_state mas; 663 static inline void unmap_vmas(struct mmu_gather *tlb, struct ma_state *mas, in unmap_vmas() 677 static inline void free_pgtables(struct mmu_gather *tlb, struct ma_state *mas, in free_pgtables()
|
/linux-6.12.1/drivers/base/regmap/ |
D | regcache-maple.c | 190 struct ma_state *mas, in regcache_maple_sync_block()
|
/linux-6.12.1/Documentation/core-api/ |
D | maple_tree.rst | 145 The advanced API is based around the ma_state, this is where the 'mas' 146 prefix originates. The ma_state struct keeps track of tree operations to make
|
/linux-6.12.1/tools/testing/radix-tree/ |
D | maple.c | 66 static int get_alloc_node_count(struct ma_state *mas) in get_alloc_node_count() 80 static void check_mas_alloc_node_count(struct ma_state *mas) in check_mas_alloc_node_count() 752 int mas_ce2_over_count(struct ma_state *mas_start, struct ma_state *mas_end, in mas_ce2_over_count() 760 struct ma_state tmp; in mas_ce2_over_count() 822 static inline void mas_node_walk(struct ma_state *mas, struct maple_node *node, in mas_node_walk() 894 static inline bool mas_descend_walk(struct ma_state *mas, in mas_descend_walk() 929 static inline bool mas_tree_walk(struct ma_state *mas, unsigned long *range_min, in mas_tree_walk() 962 static inline void *mas_range_load(struct ma_state *mas, in mas_range_load() 35341 static void mas_dfs_preorder(struct ma_state *mas) in mas_dfs_preorder() 35998 static __init void mas_subtree_max_range(struct ma_state *mas) in mas_subtree_max_range() [all …]
|