Lines Matching refs:xa_state
1348 struct xa_state { struct
1391 struct xa_state name = __XA_STATE(array, index, 0, 0)
1405 struct xa_state name = __XA_STATE(array, \
1429 static inline int xas_error(const struct xa_state *xas) in xas_error()
1443 static inline void xas_set_err(struct xa_state *xas, long err) in xas_set_err()
1454 static inline bool xas_invalid(const struct xa_state *xas) in xas_invalid()
1465 static inline bool xas_valid(const struct xa_state *xas) in xas_valid()
1476 static inline bool xas_is_node(const struct xa_state *xas) in xas_is_node()
1509 static inline void xas_reset(struct xa_state *xas) in xas_reset()
1526 static inline bool xas_retry(struct xa_state *xas, const void *entry) in xas_retry()
1536 void *xas_load(struct xa_state *);
1537 void *xas_store(struct xa_state *, void *entry);
1538 void *xas_find(struct xa_state *, unsigned long max);
1539 void *xas_find_conflict(struct xa_state *);
1541 bool xas_get_mark(const struct xa_state *, xa_mark_t);
1542 void xas_set_mark(const struct xa_state *, xa_mark_t);
1543 void xas_clear_mark(const struct xa_state *, xa_mark_t);
1544 void *xas_find_marked(struct xa_state *, unsigned long max, xa_mark_t);
1545 void xas_init_marks(const struct xa_state *);
1547 bool xas_nomem(struct xa_state *, gfp_t);
1548 void xas_destroy(struct xa_state *);
1549 void xas_pause(struct xa_state *);
1551 void xas_create_range(struct xa_state *);
1555 int xas_get_order(struct xa_state *xas);
1556 void xas_split(struct xa_state *, void *entry, unsigned int order);
1557 void xas_split_alloc(struct xa_state *, void *entry, unsigned int order, gfp_t);
1558 void xas_try_split(struct xa_state *xas, void *entry, unsigned int order);
1566 static inline int xas_get_order(struct xa_state *xas) in xas_get_order()
1571 static inline void xas_split(struct xa_state *xas, void *entry, in xas_split()
1577 static inline void xas_split_alloc(struct xa_state *xas, void *entry, in xas_split_alloc()
1582 static inline void xas_try_split(struct xa_state *xas, void *entry, in xas_try_split()
1608 static inline void *xas_reload(struct xa_state *xas) in xas_reload()
1637 static inline void xas_set(struct xa_state *xas, unsigned long index) in xas_set()
1653 static inline void xas_advance(struct xa_state *xas, unsigned long index) in xas_advance()
1667 static inline void xas_set_order(struct xa_state *xas, unsigned long index, in xas_set_order()
1690 static inline void xas_set_update(struct xa_state *xas, xa_update_node_t update) in xas_set_update()
1695 static inline void xas_set_lru(struct xa_state *xas, struct list_lru *lru) in xas_set_lru()
1711 static inline void *xas_next_entry(struct xa_state *xas, unsigned long max) in xas_next_entry()
1736 static inline unsigned int xas_find_chunk(struct xa_state *xas, bool advance, in xas_find_chunk()
1768 static inline void *xas_next_marked(struct xa_state *xas, unsigned long max, in xas_next_marked()
1848 void *__xas_next(struct xa_state *);
1849 void *__xas_prev(struct xa_state *);
1867 static inline void *xas_prev(struct xa_state *xas) in xas_prev()
1896 static inline void *xas_next(struct xa_state *xas) in xas_next()