Searched refs:ma_state (Results 1 – 12 of 12) sorted by relevance
| /linux/include/linux/ |
| H A D | maple_tree.h | 469 struct ma_state { struct 494 struct ma_state *mas; argument 527 struct ma_state name = { \ 542 #define MA_WR_STATE(name, ma_state, wr_entry) \ argument 544 .mas = ma_state, \ 558 void *mas_walk(struct ma_state *mas); 559 void *mas_store(struct ma_state *mas, void *entry); 560 void *mas_erase(struct ma_state *mas); 561 int mas_store_gfp(struct ma_state *mas, void *entry, gfp_t gfp); 562 void mas_store_prealloc(struct ma_state *mas, void *entry); [all …]
|
| H A D | mm_types.h | 1546 struct ma_state mas;
|
| /linux/lib/ |
| H A D | maple_tree.c | 186 static unsigned int mas_mt_height(struct ma_state *mas) in mas_mt_height() 228 static __always_inline void mas_set_err(struct ma_state *mas, long err) in mas_set_err() 234 static __always_inline bool mas_is_ptr(const struct ma_state *mas) in mas_is_ptr() 239 static __always_inline bool mas_is_start(const struct ma_state *mas) in mas_is_start() 244 static __always_inline bool mas_is_none(const struct ma_state *mas) in mas_is_none() 249 static __always_inline bool mas_is_paused(const struct ma_state *mas) in mas_is_paused() 254 static __always_inline bool mas_is_overflow(struct ma_state *mas) in mas_is_overflow() 259 static inline bool mas_is_underflow(struct ma_state *mas) in mas_is_underflow() 264 static inline void mas_make_walkable(struct ma_state *mas) in mas_make_walkable() 294 static inline struct maple_node *mas_mn(const struct ma_state *mas) in mas_mn() [all …]
|
| /linux/include/trace/events/ |
| H A 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/rust/kernel/ |
| H A D | maple_tree.rs | 263 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 D | vma.c | 41 struct ma_state mas_detach; 1356 struct ma_state *mas_detach, bool mm_wr_locked) in vms_clear_ptes() 1388 struct ma_state *mas_detach) in vms_clean_up_area() 1411 struct ma_state *mas_detach) in vms_complete_munmap_vmas() 1457 static void reattach_vmas(struct ma_state *mas_detach) in reattach_vmas() 1479 struct ma_state *mas_detach) in vms_gather_munmap_vmas() 2491 struct ma_state *mas_detach) in vms_abort_munmap_vmas() 2493 struct ma_state *mas = &vms->vmi->mas; in vms_abort_munmap_vmas()
|
| H A D | vma.h | 171 struct ma_state *mas; /* the maple state point to the first vma */
|
| H A D | alloc_tag.c | 748 static bool find_aligned_area(struct ma_state *mas, unsigned long section_size, in find_aligned_area()
|
| H A D | memory.c | 376 struct ma_state *mas = unmap->mas; in free_pgtables()
|
| /linux/Documentation/core-api/ |
| H A D | maple_tree.rst | 158 The advanced API is based around the ma_state, this is where the 'mas' 159 prefix originates. The ma_state struct keeps track of tree operations to make
|
| /linux/tools/testing/vma/include/ |
| H A D | dup.h | 424 struct ma_state mas;
|
| /linux/tools/testing/radix-tree/ |
| H A D | maple.c | 345 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 …]
|