Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/ !
Dmaple_tree.h373 struct ma_state { struct
387 struct ma_state *mas; argument
428 struct ma_state name = { \
438 #define MA_WR_STATE(name, ma_state, wr_entry) \ argument
440 .mas = ma_state, \
452 void *mas_walk(struct ma_state *mas);
453 void *mas_store(struct ma_state *mas, void *entry);
454 void *mas_erase(struct ma_state *mas);
455 int mas_store_gfp(struct ma_state *mas, void *entry, gfp_t gfp);
456 void mas_store_prealloc(struct ma_state *mas, void *entry);
[all …]
Dmm_types.h807 struct ma_state mas;
Dmm.h2702 void vma_mas_store(struct vm_area_struct *vma, struct ma_state *mas);
2703 void vma_mas_remove(struct vm_area_struct *vma, struct ma_state *mas);
2752 extern int do_mas_munmap(struct ma_state *mas, struct mm_struct *mm,
/linux-6.1.9/lib/ !
Dmaple_tree.c139 struct ma_state *orig_l; /* Original left side of subtree */
140 struct ma_state *orig_r; /* Original right side of subtree */
141 struct ma_state *l; /* New left side of subtree */
142 struct ma_state *m; /* New middle of subtree (rare) */
143 struct ma_state *r; /* New right side of subtree */
187 static void mas_set_height(struct ma_state *mas) in mas_set_height()
197 static unsigned int mas_mt_height(struct ma_state *mas) in mas_mt_height()
233 static inline void mas_set_err(struct ma_state *mas, long err) in mas_set_err()
238 static inline bool mas_is_ptr(struct ma_state *mas) in mas_is_ptr()
243 static inline bool mas_is_start(struct ma_state *mas) in mas_is_start()
[all …]
/linux-6.1.9/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-6.1.9/mm/ !
Dmmap.c165 static int do_brk_munmap(struct ma_state *mas, struct vm_area_struct *vma,
168 static int do_brk_flags(struct ma_state *mas, struct vm_area_struct *brkvma,
430 void vma_mas_store(struct vm_area_struct *vma, struct ma_state *mas) in vma_mas_store()
446 void vma_mas_remove(struct vm_area_struct *vma, struct ma_state *mas) in vma_mas_remove()
462 static inline void vma_mas_szero(struct ma_state *mas, unsigned long start, in vma_mas_szero()
512 inline int vma_expand(struct ma_state *mas, struct vm_area_struct *vma, in vma_expand()
2154 static inline void remove_mt(struct mm_struct *mm, struct ma_state *mas) in remove_mt()
2277 struct ma_state *mas_detach) in munmap_sidetree()
2302 do_mas_align_munmap(struct ma_state *mas, struct vm_area_struct *vma, in do_mas_align_munmap()
2480 int do_mas_munmap(struct ma_state *mas, struct mm_struct *mm, in do_mas_munmap()
[all …]
Dnommu.c547 void vma_mas_store(struct vm_area_struct *vma, struct ma_state *mas) in vma_mas_store()
553 void vma_mas_remove(struct vm_area_struct *vma, struct ma_state *mas) in vma_mas_remove()
583 static void mas_add_vma_to_mm(struct ma_state *mas, struct mm_struct *mm, in mas_add_vma_to_mm()
/linux-6.1.9/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-6.1.9/fs/ !
Dcoredump.c1107 static struct vm_area_struct *coredump_next_vma(struct ma_state *mas, in coredump_next_vma()
/linux-6.1.9/tools/testing/radix-tree/ !
Dmaple.c701 int mas_ce2_over_count(struct ma_state *mas_start, struct ma_state *mas_end, in mas_ce2_over_count()
709 struct ma_state tmp; in mas_ce2_over_count()
771 static inline void mas_node_walk(struct ma_state *mas, struct maple_node *node, in mas_node_walk()
843 static inline bool mas_descend_walk(struct ma_state *mas, in mas_descend_walk()
878 static inline bool mas_tree_walk(struct ma_state *mas, unsigned long *range_min, in mas_tree_walk()
910 static inline void *mas_range_load(struct ma_state *mas, in mas_range_load()
35219 static void mas_dfs_preorder(struct ma_state *mas) in mas_dfs_preorder()