Lines Matching refs:index
142 static unsigned int get_offset(unsigned long index, struct xa_node *node) in get_offset() argument
144 return (index >> node->shift) & XA_CHUNK_MASK; in get_offset()
702 unsigned long index = xas->xa_index; in xas_create_range() local
716 if (xas->xa_index <= (index | XA_CHUNK_MASK)) in xas_create_range()
732 xas->xa_index = index; in xas_create_range()
735 xas->xa_index = index; in xas_create_range()
1294 void *xa_load(struct xarray *xa, unsigned long index) in xa_load() argument
1296 XA_STATE(xas, xa, index); in xa_load()
1332 void *__xa_erase(struct xarray *xa, unsigned long index) in __xa_erase() argument
1334 XA_STATE(xas, xa, index); in __xa_erase()
1351 void *xa_erase(struct xarray *xa, unsigned long index) in xa_erase() argument
1356 entry = __xa_erase(xa, index); in xa_erase()
1378 void *__xa_store(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) in __xa_store() argument
1380 XA_STATE(xas, xa, index); in __xa_store()
1415 void *xa_store(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) in xa_store() argument
1420 curr = __xa_store(xa, index, entry, gfp); in xa_store()
1443 void *__xa_cmpxchg(struct xarray *xa, unsigned long index, in __xa_cmpxchg() argument
1446 XA_STATE(xas, xa, index); in __xa_cmpxchg()
1481 int __xa_insert(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) in __xa_insert() argument
1483 XA_STATE(xas, xa, index); in __xa_insert()
1698 void __xa_set_mark(struct xarray *xa, unsigned long index, xa_mark_t mark) in __xa_set_mark() argument
1700 XA_STATE(xas, xa, index); in __xa_set_mark()
1716 void __xa_clear_mark(struct xarray *xa, unsigned long index, xa_mark_t mark) in __xa_clear_mark() argument
1718 XA_STATE(xas, xa, index); in __xa_clear_mark()
1738 bool xa_get_mark(struct xarray *xa, unsigned long index, xa_mark_t mark) in xa_get_mark() argument
1740 XA_STATE(xas, xa, index); in xa_get_mark()
1768 void xa_set_mark(struct xarray *xa, unsigned long index, xa_mark_t mark) in xa_set_mark() argument
1771 __xa_set_mark(xa, index, mark); in xa_set_mark()
1786 void xa_clear_mark(struct xarray *xa, unsigned long index, xa_mark_t mark) in xa_clear_mark() argument
1789 __xa_clear_mark(xa, index, mark); in xa_clear_mark()
2024 void xa_dump_index(unsigned long index, unsigned int shift) in xa_dump_index() argument
2027 pr_info("%lu: ", index); in xa_dump_index()
2031 pr_info("%lu-%lu: ", index, index | ((1UL << shift) - 1)); in xa_dump_index()
2034 void xa_dump_entry(const void *entry, unsigned long index, unsigned long shift) in xa_dump_entry() argument
2039 xa_dump_index(index, shift); in xa_dump_entry()
2050 index + (i << node->shift), node->shift); in xa_dump_entry()