Lines Matching refs:xa_state
36 static inline void xas_lock_type(struct xa_state *xas, unsigned int lock_type) in xas_lock_type()
46 static inline void xas_unlock_type(struct xa_state *xas, unsigned int lock_type) in xas_unlock_type()
124 static void xas_squash_marks(const struct xa_state *xas) in xas_squash_marks()
147 static void xas_set_offset(struct xa_state *xas) in xas_set_offset()
153 static void xas_move_index(struct xa_state *xas, unsigned long offset) in xas_move_index()
160 static void xas_advance(struct xa_state *xas) in xas_advance()
166 static void *set_bounds(struct xa_state *xas) in set_bounds()
179 static void *xas_start(struct xa_state *xas) in xas_start()
201 static void *xas_descend(struct xa_state *xas, struct xa_node *node) in xas_descend()
231 void *xas_load(struct xa_state *xas) in xas_load()
267 static void xas_destroy(struct xa_state *xas) in xas_destroy()
297 bool xas_nomem(struct xa_state *xas, gfp_t gfp) in xas_nomem()
324 static bool __xas_nomem(struct xa_state *xas, gfp_t gfp) in __xas_nomem()
350 static void xas_update(struct xa_state *xas, struct xa_node *node) in xas_update()
358 static void *xas_alloc(struct xa_state *xas, unsigned int shift) in xas_alloc()
400 static unsigned long xas_size(const struct xa_state *xas) in xas_size()
412 static unsigned long xas_max(struct xa_state *xas) in xas_max()
436 static void xas_shrink(struct xa_state *xas) in xas_shrink()
480 static void xas_delete_node(struct xa_state *xas) in xas_delete_node()
522 static void xas_free_nodes(struct xa_state *xas, struct xa_node *top) in xas_free_nodes()
558 static int xas_expand(struct xa_state *xas, void *head) in xas_expand()
638 static void *xas_create(struct xa_state *xas, bool allow_root) in xas_create()
703 void xas_create_range(struct xa_state *xas) in xas_create_range()
744 static void update_node(struct xa_state *xas, struct xa_node *node, in update_node()
772 void *xas_store(struct xa_state *xas, void *entry) in xas_store()
854 bool xas_get_mark(const struct xa_state *xas, xa_mark_t mark) in xas_get_mark()
873 void xas_set_mark(const struct xa_state *xas, xa_mark_t mark) in xas_set_mark()
902 void xas_clear_mark(const struct xa_state *xas, xa_mark_t mark) in xas_clear_mark()
936 void xas_init_marks(const struct xa_state *xas) in xas_init_marks()
1000 void xas_split_alloc(struct xa_state *xas, void *entry, unsigned int order, in xas_split_alloc()
1050 void xas_split(struct xa_state *xas, void *entry, unsigned int order) in xas_split()
1114 void xas_pause(struct xa_state *xas) in xas_pause()
1144 void *__xas_prev(struct xa_state *xas) in __xas_prev()
1183 void *__xas_next(struct xa_state *xas) in __xas_next()
1231 void *xas_find(struct xa_state *xas, unsigned long max) in xas_find()
1300 void *xas_find_marked(struct xa_state *xas, unsigned long max, xa_mark_t mark) in xas_find_marked()
1388 void *xas_find_conflict(struct xa_state *xas) in xas_find_conflict()
1465 static void *xas_result(struct xa_state *xas, void *curr) in xas_result()
1661 static void xas_set_range(struct xa_state *xas, unsigned long first, in xas_set_range()
2026 static bool xas_sibling(struct xa_state *xas) in xas_sibling()
2086 static unsigned int xas_extract_present(struct xa_state *xas, void **dst, in xas_extract_present()
2105 static unsigned int xas_extract_marked(struct xa_state *xas, void **dst, in xas_extract_marked()
2175 struct xa_state xas = { in xa_delete_node()