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_next_offset(struct xa_state *xas) in xas_next_offset()
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()
233 void *xas_load(struct xa_state *xas) in xas_load()
270 void xas_destroy(struct xa_state *xas) in xas_destroy()
300 bool xas_nomem(struct xa_state *xas, gfp_t gfp) in xas_nomem()
327 static bool __xas_nomem(struct xa_state *xas, gfp_t gfp) in __xas_nomem()
353 static void xas_update(struct xa_state *xas, struct xa_node *node) in xas_update()
361 static void *xas_alloc(struct xa_state *xas, unsigned int shift) in xas_alloc()
403 static unsigned long xas_size(const struct xa_state *xas) in xas_size()
415 static unsigned long xas_max(struct xa_state *xas) in xas_max()
439 static void xas_shrink(struct xa_state *xas) in xas_shrink()
483 static void xas_delete_node(struct xa_state *xas) in xas_delete_node()
525 static void xas_free_nodes(struct xa_state *xas, struct xa_node *top) in xas_free_nodes()
561 static int xas_expand(struct xa_state *xas, void *head) in xas_expand()
641 static void *xas_create(struct xa_state *xas, bool allow_root) in xas_create()
706 void xas_create_range(struct xa_state *xas) in xas_create_range()
749 static void update_node(struct xa_state *xas, struct xa_node *node, in update_node()
777 void *xas_store(struct xa_state *xas, void *entry) in xas_store()
859 bool xas_get_mark(const struct xa_state *xas, xa_mark_t mark) in xas_get_mark()
878 void xas_set_mark(const struct xa_state *xas, xa_mark_t mark) in xas_set_mark()
907 void xas_clear_mark(const struct xa_state *xas, xa_mark_t mark) in xas_clear_mark()
941 void xas_init_marks(const struct xa_state *xas) in xas_init_marks()
1005 void xas_split_alloc(struct xa_state *xas, void *entry, unsigned int order, in xas_split_alloc()
1056 void xas_split(struct xa_state *xas, void *entry, unsigned int order) in xas_split()
1122 void xas_pause(struct xa_state *xas) in xas_pause()
1152 void *__xas_prev(struct xa_state *xas) in __xas_prev()
1191 void *__xas_next(struct xa_state *xas) in __xas_next()
1239 void *xas_find(struct xa_state *xas, unsigned long max) in xas_find()
1308 void *xas_find_marked(struct xa_state *xas, unsigned long max, xa_mark_t mark) in xas_find_marked()
1396 void *xas_find_conflict(struct xa_state *xas) in xas_find_conflict()
1473 static void *xas_result(struct xa_state *xas, void *curr) in xas_result()
1669 static void xas_set_range(struct xa_state *xas, unsigned long first, in xas_set_range()
2034 static bool xas_sibling(struct xa_state *xas) in xas_sibling()
2094 static unsigned int xas_extract_present(struct xa_state *xas, void **dst, in xas_extract_present()
2113 static unsigned int xas_extract_marked(struct xa_state *xas, void **dst, in xas_extract_marked()
2183 struct xa_state xas = { in xa_delete_node()