Home
last modified time | relevance | path

Searched refs:ma_state (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/include/linux/
Dmaple_tree.h380 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 …]
Dmm_types.h1009 struct ma_state mas;
Dmm.h2342 void unmap_vmas(struct mmu_gather *tlb, struct ma_state *mas,
/Linux-v6.6/lib/
Dmaple_tree.c140 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-v6.6/include/trace/events/
Dmaple_tree.h11 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-v6.6/drivers/base/regmap/
Dregcache-maple.c190 struct ma_state *mas, in regcache_maple_sync_block()
/Linux-v6.6/Documentation/core-api/
Dmaple_tree.rst141 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-v6.6/mm/
Dinternal.h112 void free_pgtables(struct mmu_gather *tlb, struct ma_state *mas,
Dmmap.c79 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()
Dmemory.c363 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-v6.6/tools/testing/radix-tree/
Dmaple.c65 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()