Lines Matching refs:xa_state

35 static inline void xas_lock_type(struct xa_state *xas, unsigned int lock_type)  in xas_lock_type()
45 static inline void xas_unlock_type(struct xa_state *xas, unsigned int lock_type) in xas_unlock_type()
123 static void xas_squash_marks(const struct xa_state *xas) in xas_squash_marks()
146 static void xas_set_offset(struct xa_state *xas) in xas_set_offset()
152 static void xas_move_index(struct xa_state *xas, unsigned long offset) in xas_move_index()
159 static void xas_advance(struct xa_state *xas) in xas_advance()
165 static void *set_bounds(struct xa_state *xas) in set_bounds()
178 static void *xas_start(struct xa_state *xas) in xas_start()
200 static void *xas_descend(struct xa_state *xas, struct xa_node *node) in xas_descend()
230 void *xas_load(struct xa_state *xas) in xas_load()
266 static void xas_destroy(struct xa_state *xas) in xas_destroy()
295 bool xas_nomem(struct xa_state *xas, gfp_t gfp) in xas_nomem()
321 static bool __xas_nomem(struct xa_state *xas, gfp_t gfp) in __xas_nomem()
346 static void xas_update(struct xa_state *xas, struct xa_node *node) in xas_update()
354 static void *xas_alloc(struct xa_state *xas, unsigned int shift) in xas_alloc()
396 static unsigned long xas_size(const struct xa_state *xas) in xas_size()
408 static unsigned long xas_max(struct xa_state *xas) in xas_max()
432 static void xas_shrink(struct xa_state *xas) in xas_shrink()
476 static void xas_delete_node(struct xa_state *xas) in xas_delete_node()
518 static void xas_free_nodes(struct xa_state *xas, struct xa_node *top) in xas_free_nodes()
554 static int xas_expand(struct xa_state *xas, void *head) in xas_expand()
634 static void *xas_create(struct xa_state *xas, bool allow_root) in xas_create()
699 void xas_create_range(struct xa_state *xas) in xas_create_range()
740 static void update_node(struct xa_state *xas, struct xa_node *node, in update_node()
768 void *xas_store(struct xa_state *xas, void *entry) in xas_store()
850 bool xas_get_mark(const struct xa_state *xas, xa_mark_t mark) in xas_get_mark()
869 void xas_set_mark(const struct xa_state *xas, xa_mark_t mark) in xas_set_mark()
898 void xas_clear_mark(const struct xa_state *xas, xa_mark_t mark) in xas_clear_mark()
932 void xas_init_marks(const struct xa_state *xas) in xas_init_marks()
963 void xas_pause(struct xa_state *xas) in xas_pause()
991 void *__xas_prev(struct xa_state *xas) in __xas_prev()
1030 void *__xas_next(struct xa_state *xas) in __xas_next()
1078 void *xas_find(struct xa_state *xas, unsigned long max) in xas_find()
1145 void *xas_find_marked(struct xa_state *xas, unsigned long max, xa_mark_t mark) in xas_find_marked()
1229 void *xas_find_conflict(struct xa_state *xas) in xas_find_conflict()
1306 static void *xas_result(struct xa_state *xas, void *curr) in xas_result()
1502 static void xas_set_range(struct xa_state *xas, unsigned long first, in xas_set_range()
1876 static unsigned int xas_extract_present(struct xa_state *xas, void **dst, in xas_extract_present()
1895 static unsigned int xas_extract_marked(struct xa_state *xas, void **dst, in xas_extract_marked()