Lines Matching refs:xa_state
38 static inline void xas_lock_type(struct xa_state *xas, unsigned int lock_type) in xas_lock_type()
48 static inline void xas_unlock_type(struct xa_state *xas, unsigned int lock_type) in xas_unlock_type()
126 static void xas_squash_marks(const struct xa_state *xas) in xas_squash_marks()
150 static void xas_set_offset(struct xa_state *xas) in xas_set_offset()
156 static void xas_move_index(struct xa_state *xas, unsigned long offset) in xas_move_index()
163 static void xas_next_offset(struct xa_state *xas) in xas_next_offset()
169 static void *set_bounds(struct xa_state *xas) in set_bounds()
182 static void *xas_start(struct xa_state *xas) in xas_start()
204 static __always_inline void *xas_descend(struct xa_state *xas, in xas_descend()
237 void *xas_load(struct xa_state *xas) in xas_load()
270 void xas_destroy(struct xa_state *xas) in xas_destroy()
301 bool xas_nomem(struct xa_state *xas, gfp_t gfp) in xas_nomem()
328 static bool __xas_nomem(struct xa_state *xas, gfp_t gfp) in __xas_nomem()
354 static void xas_update(struct xa_state *xas, struct xa_node *node) in xas_update()
362 static void *xas_alloc(struct xa_state *xas, unsigned int shift) in xas_alloc()
404 static unsigned long xas_size(const struct xa_state *xas) in xas_size()
416 static unsigned long xas_max(struct xa_state *xas) in xas_max()
445 static void xas_shrink(struct xa_state *xas) in xas_shrink()
489 static void xas_delete_node(struct xa_state *xas) in xas_delete_node()
531 static void xas_free_nodes(struct xa_state *xas, struct xa_node *top) in xas_free_nodes()
567 static int xas_expand(struct xa_state *xas, void *head) in xas_expand()
647 static void *xas_create(struct xa_state *xas, bool allow_root) in xas_create()
712 void xas_create_range(struct xa_state *xas) in xas_create_range()
755 static void update_node(struct xa_state *xas, struct xa_node *node, in update_node()
783 void *xas_store(struct xa_state *xas, void *entry) in xas_store()
865 bool xas_get_mark(const struct xa_state *xas, xa_mark_t mark) in xas_get_mark()
884 void xas_set_mark(const struct xa_state *xas, xa_mark_t mark) in xas_set_mark()
913 void xas_clear_mark(const struct xa_state *xas, xa_mark_t mark) in xas_clear_mark()
947 void xas_init_marks(const struct xa_state *xas) in xas_init_marks()
1011 static void __xas_init_node_for_split(struct xa_state *xas, in __xas_init_node_for_split()
1045 void xas_split_alloc(struct xa_state *xas, void *entry, unsigned int order, in xas_split_alloc()
1086 void xas_split(struct xa_state *xas, void *entry, unsigned int order) in xas_split()
1175 void xas_try_split(struct xa_state *xas, void *entry, unsigned int order) in xas_try_split()
1275 void xas_pause(struct xa_state *xas) in xas_pause()
1306 void *__xas_prev(struct xa_state *xas) in __xas_prev()
1345 void *__xas_next(struct xa_state *xas) in __xas_next()
1393 void *xas_find(struct xa_state *xas, unsigned long max) in xas_find()
1462 void *xas_find_marked(struct xa_state *xas, unsigned long max, xa_mark_t mark) in xas_find_marked()
1552 void *xas_find_conflict(struct xa_state *xas) in xas_find_conflict()
1627 static void *xas_result(struct xa_state *xas, void *curr) in xas_result()
1823 static void xas_set_range(struct xa_state *xas, unsigned long first, in xas_set_range()
1917 int xas_get_order(struct xa_state *xas) in xas_get_order()
2210 static bool xas_sibling(struct xa_state *xas) in xas_sibling()
2270 static unsigned int xas_extract_present(struct xa_state *xas, void **dst, in xas_extract_present()
2289 static unsigned int xas_extract_marked(struct xa_state *xas, void **dst, in xas_extract_marked()
2359 struct xa_state xas = { in xa_delete_node()