Searched refs:ma_state (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/include/linux/ |
D | maple_tree.h | 380 struct ma_state { struct 394 struct ma_state *mas; argument 437 struct ma_state name = { \ 448 #define MA_WR_STATE(name, ma_state, wr_entry) \ argument 450 .mas = ma_state, \ 462 void *mas_walk(struct ma_state *mas); 463 void *mas_store(struct ma_state *mas, void *entry); 464 void *mas_erase(struct ma_state *mas); 465 int mas_store_gfp(struct ma_state *mas, void *entry, gfp_t gfp); 466 void mas_store_prealloc(struct ma_state *mas, void *entry); [all …]
|
D | mm_types.h | 1009 struct ma_state mas;
|
D | mm.h | 2342 void unmap_vmas(struct mmu_gather *tlb, struct ma_state *mas,
|
/linux-6.6.21/lib/ |
D | maple_tree.c | 140 struct ma_state *orig_l; /* Original left side of subtree */ 141 struct ma_state *orig_r; /* Original right side of subtree */ 142 struct ma_state *l; /* New left side of subtree */ 143 struct ma_state *m; /* New middle of subtree (rare) */ 144 struct ma_state *r; /* New right side of subtree */ 193 static void mas_set_height(struct ma_state *mas) in mas_set_height() 203 static unsigned int mas_mt_height(struct ma_state *mas) in mas_mt_height() 239 static inline void mas_set_err(struct ma_state *mas, long err) in mas_set_err() 244 static inline bool mas_is_ptr(const struct ma_state *mas) in mas_is_ptr() 249 static inline bool mas_is_start(const struct ma_state *mas) in mas_is_start() [all …]
|
/linux-6.6.21/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.6.21/drivers/base/regmap/ |
D | regcache-maple.c | 190 struct ma_state *mas, in regcache_maple_sync_block()
|
/linux-6.6.21/Documentation/core-api/ |
D | maple_tree.rst | 141 The advanced API is based around the ma_state, this is where the 'mas' 142 prefix originates. The ma_state struct keeps track of tree operations to make
|
/linux-6.6.21/mm/ |
D | internal.h | 112 void free_pgtables(struct mmu_gather *tlb, struct ma_state *mas,
|
D | mmap.c | 79 static void unmap_region(struct mm_struct *mm, struct ma_state *mas, 2299 static inline void remove_mt(struct mm_struct *mm, struct ma_state *mas) in remove_mt() 2322 static void unmap_region(struct mm_struct *mm, struct ma_state *mas, in unmap_region()
|
D | memory.c | 363 void free_pgtables(struct mmu_gather *tlb, struct ma_state *mas, in free_pgtables() 1715 void unmap_vmas(struct mmu_gather *tlb, struct ma_state *mas, in unmap_vmas()
|
/linux-6.6.21/tools/testing/radix-tree/ |
D | maple.c | 65 static int get_alloc_node_count(struct ma_state *mas) in get_alloc_node_count() 79 static void check_mas_alloc_node_count(struct ma_state *mas) in check_mas_alloc_node_count() 746 int mas_ce2_over_count(struct ma_state *mas_start, struct ma_state *mas_end, in mas_ce2_over_count() 754 struct ma_state tmp; in mas_ce2_over_count() 816 static inline void mas_node_walk(struct ma_state *mas, struct maple_node *node, in mas_node_walk() 888 static inline bool mas_descend_walk(struct ma_state *mas, in mas_descend_walk() 923 static inline bool mas_tree_walk(struct ma_state *mas, unsigned long *range_min, in mas_tree_walk() 955 static inline void *mas_range_load(struct ma_state *mas, in mas_range_load() 35332 static void mas_dfs_preorder(struct ma_state *mas) in mas_dfs_preorder()
|