Home
last modified time | relevance | path

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

/linux/lib/
H A Dmaple_tree.c154 struct ma_state *orig_l; /* Original left side of subtree */
155 struct ma_state *orig_r; /* Original right side of subtree */
156 struct ma_state *l; /* New left side of subtree */
157 struct ma_state *m; /* New middle of subtree (rare) */
158 struct ma_state *r; /* New right side of subtree */
221 static unsigned int mas_mt_height(struct ma_state *mas) in mas_mt_height()
263 static __always_inline void mas_set_err(struct ma_state *mas, long err) in mas_set_err()
269 static __always_inline bool mas_is_ptr(const struct ma_state *mas) in mas_is_ptr()
274 static __always_inline bool mas_is_start(const struct ma_state *mas) in mas_is_start()
279 static __always_inline bool mas_is_none(const struct ma_state *mas) in mas_is_none()
[all …]
H A Dinterval_tree_test.c202 static void mas_cur_span(struct ma_state *mas, struct interval_tree_span_iter *state) in mas_cur_span()
H A Dalloc_tag.c387 static bool find_aligned_area(struct ma_state *mas, unsigned long section_size, in find_aligned_area()
/linux/include/trace/events/
H A 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/rust/kernel/
H A Dmaple_tree.rs263 let mut ma_state = unsafe { MaState::new_raw(self.into_ref().get_ref(), 0, usize::MAX) }; in free_all_entries() localVariable
276 ma_state.mas_find_raw(usize::MAX) in free_all_entries()
323 pub fn ma_state(&mut self, first: usize, end: usize) -> MaState<'_, T> { in ma_state() method
500 state: bindings::ma_state,
516 state: bindings::ma_state { in new_raw()
534 fn as_raw(&mut self) -> *mut bindings::ma_state { in as_raw() argument
/linux/mm/
H A Dexecmem.c110 static inline unsigned long mas_range_len(struct ma_state *mas) in mas_range_len()
213 static bool within_range(struct execmem_range *range, struct ma_state *mas, in within_range()
354 static int __execmem_cache_free(struct ma_state *mas, void *ptr, gfp_t gfp_mask) in __execmem_cache_free()
H A Dvma.c36 struct ma_state mas_detach;
1257 struct ma_state *mas_detach, bool mm_wr_locked) in vms_clear_ptes()
1289 struct ma_state *mas_detach) in vms_clean_up_area()
1312 struct ma_state *mas_detach) in vms_complete_munmap_vmas()
1358 static void reattach_vmas(struct ma_state *mas_detach) in reattach_vmas()
1380 struct ma_state *mas_detach) in vms_gather_munmap_vmas()
2341 struct ma_state *mas_detach) in vms_abort_munmap_vmas()
2343 struct ma_state *mas = &vms->vmi->mas; in vms_abort_munmap_vmas()
H A Dvma.h159 struct ma_state *mas; /* the maple state point to the first vma */
H A Dmemory.c389 struct ma_state *mas = unmap->mas; in free_pgtables()
/linux/drivers/base/regmap/
H A Dregcache-maple.c190 struct ma_state *mas, in regcache_maple_sync_block()
/linux/Documentation/core-api/
H A Dmaple_tree.rst145 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/include/linux/
H A Dmm_types.h1498 struct ma_state mas;
/linux/tools/testing/vma/include/
H A Ddup.h401 struct ma_state mas;
/linux/tools/testing/radix-tree/
H A Dmaple.c344 int mas_ce2_over_count(struct ma_state *mas_start, struct ma_state *mas_end, in mas_ce2_over_count()
352 struct ma_state tmp; in mas_ce2_over_count()
414 static inline void mas_node_walk(struct ma_state *mas, struct maple_node *node, in mas_node_walk()
486 static inline bool mas_descend_walk(struct ma_state *mas, in mas_descend_walk()
521 static inline bool mas_tree_walk(struct ma_state *mas, unsigned long *range_min, in mas_tree_walk()
554 static inline void *mas_range_load(struct ma_state *mas, in mas_range_load()
34934 static void mas_dfs_preorder(struct ma_state *mas) in mas_dfs_preorder()
35041 struct ma_state *mas = wr_mas->mas; in get_vacant_height()
35086 static int mas_allocated(struct ma_state *mas) in mas_allocated()
35657 static __init void mas_subtree_max_range(struct ma_state *mas) in mas_subtree_max_range()
[all …]