Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dmaple_tree.h472 struct ma_state { struct
491 struct ma_state *mas; argument
524 struct ma_state name = { \
539 #define MA_WR_STATE(name, ma_state, wr_entry) \ argument
541 .mas = ma_state, \
555 void *mas_walk(struct ma_state *mas);
556 void *mas_store(struct ma_state *mas, void *entry);
557 void *mas_erase(struct ma_state *mas);
558 int mas_store_gfp(struct ma_state *mas, void *entry, gfp_t gfp);
559 void mas_store_prealloc(struct ma_state *mas, void *entry);
[all …]
/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/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/lib/
H A Dalloc_tag.c403 static bool find_aligned_area(struct ma_state *mas, unsigned long section_size, in find_aligned_area()
/linux/tools/testing/vma/include/
H A Ddup.h424 struct ma_state mas;
/linux/tools/testing/radix-tree/
H A Dmaple.c345 int mas_ce2_over_count(struct ma_state *mas_start, struct ma_state *mas_end, in mas_ce2_over_count()
353 struct ma_state tmp; in mas_ce2_over_count()
415 static inline void mas_node_walk(struct ma_state *mas, struct maple_node *node, in mas_node_walk()
487 static inline bool mas_descend_walk(struct ma_state *mas, in mas_descend_walk()
522 static inline bool mas_tree_walk(struct ma_state *mas, unsigned long *range_min, in mas_tree_walk()
555 static inline void *mas_range_load(struct ma_state *mas, in mas_range_load()
34965 static void mas_dfs_preorder(struct ma_state *mas) in mas_dfs_preorder()
35072 struct ma_state *mas = wr_mas->mas; in get_vacant_height()
35117 static int mas_allocated(struct ma_state *mas) in mas_allocated()
35823 static __init void mas_subtree_max_range(struct ma_state *mas) in mas_subtree_max_range()
[all …]
/linux/mm/
H A Dmemory.c376 struct ma_state *mas = unmap->mas; in free_pgtables()