Symbol: xa_state
arch/arm64/kernel/hibernate.c
243
XA_STATE(xa_state, &mte_pages, 0);
arch/arm64/kernel/hibernate.c
247
xas_for_each(&xa_state, tags, ULONG_MAX) {
arch/arm64/kernel/hibernate.c
299
XA_STATE(xa_state, &mte_pages, 0);
arch/arm64/kernel/hibernate.c
304
xas_for_each(&xa_state, tags, ULONG_MAX) {
arch/arm64/kernel/hibernate.c
305
unsigned long pfn = xa_state.xa_index;
arch/arm64/mm/mteswap.c
84
XA_STATE(xa_state, &mte_pages, entry.val);
arch/arm64/mm/mteswap.c
87
xas_for_each(&xa_state, tags, last_entry.val - 1) {
arch/arm64/mm/mteswap.c
88
__xa_erase(&mte_pages, xa_state.xa_index);
fs/btrfs/extent_io.c
2127
static inline struct extent_buffer *find_get_eb(struct xa_state *xas, unsigned long max,
fs/cachefiles/ondemand.c
375
static struct cachefiles_req *cachefiles_ondemand_select_req(struct xa_state *xas,
fs/cachefiles/ondemand.c
400
struct xa_state *xas, int err)
fs/dax.c
1042
static void *dax_insert_entry(struct xa_state *xas, struct vm_fault *vmf,
fs/dax.c
1100
static int dax_writeback_one(struct xa_state *xas, struct dax_device *dax_dev,
fs/dax.c
1358
static vm_fault_t dax_load_hole(struct xa_state *xas, struct vm_fault *vmf,
fs/dax.c
1374
static vm_fault_t dax_pmd_load_hole(struct xa_state *xas, struct vm_fault *vmf,
fs/dax.c
1398
static vm_fault_t dax_pmd_load_hole(struct xa_state *xas, struct vm_fault *vmf,
fs/dax.c
147
static wait_queue_head_t *dax_entry_waitqueue(struct xa_state *xas,
fs/dax.c
1807
struct xa_state *xas, void **entry, bool pmd)
fs/dax.c
185
static void dax_wake_entry(struct xa_state *xas, void *entry,
fs/dax.c
1939
static bool dax_fault_check_fallback(struct vm_fault *vmf, struct xa_state *xas,
fs/dax.c
213
static void *get_next_unlocked_entry(struct xa_state *xas, unsigned int order)
fs/dax.c
247
static void *wait_entry_unlocked_exclusive(struct xa_state *xas, void *entry)
fs/dax.c
278
static void wait_entry_unlocked(struct xa_state *xas, void *entry)
fs/dax.c
299
static void put_unlocked_entry(struct xa_state *xas, void *entry,
fs/dax.c
311
static void dax_unlock_entry(struct xa_state *xas, void *entry)
fs/dax.c
327
static void *dax_lock_entry(struct xa_state *xas, void *entry)
fs/dax.c
650
static void *grab_mapping_entry(struct xa_state *xas,
include/linux/xarray.h
1397
struct xa_state name = __XA_STATE(array, index, 0, 0)
include/linux/xarray.h
1411
struct xa_state name = __XA_STATE(array, \
include/linux/xarray.h
1435
static inline int xas_error(const struct xa_state *xas)
include/linux/xarray.h
1449
static inline void xas_set_err(struct xa_state *xas, long err)
include/linux/xarray.h
1460
static inline bool xas_invalid(const struct xa_state *xas)
include/linux/xarray.h
1471
static inline bool xas_valid(const struct xa_state *xas)
include/linux/xarray.h
1482
static inline bool xas_is_node(const struct xa_state *xas)
include/linux/xarray.h
1515
static inline void xas_reset(struct xa_state *xas)
include/linux/xarray.h
1532
static inline bool xas_retry(struct xa_state *xas, const void *entry)
include/linux/xarray.h
1542
void *xas_load(struct xa_state *);
include/linux/xarray.h
1543
void *xas_store(struct xa_state *, void *entry);
include/linux/xarray.h
1544
void *xas_find(struct xa_state *, unsigned long max);
include/linux/xarray.h
1545
void *xas_find_conflict(struct xa_state *);
include/linux/xarray.h
1547
bool xas_get_mark(const struct xa_state *, xa_mark_t);
include/linux/xarray.h
1548
void xas_set_mark(const struct xa_state *, xa_mark_t);
include/linux/xarray.h
1549
void xas_clear_mark(const struct xa_state *, xa_mark_t);
include/linux/xarray.h
1550
void *xas_find_marked(struct xa_state *, unsigned long max, xa_mark_t);
include/linux/xarray.h
1551
void xas_init_marks(const struct xa_state *);
include/linux/xarray.h
1553
bool xas_nomem(struct xa_state *, gfp_t);
include/linux/xarray.h
1554
void xas_destroy(struct xa_state *);
include/linux/xarray.h
1555
void xas_pause(struct xa_state *);
include/linux/xarray.h
1557
void xas_create_range(struct xa_state *);
include/linux/xarray.h
1561
int xas_get_order(struct xa_state *xas);
include/linux/xarray.h
1562
void xas_split(struct xa_state *, void *entry, unsigned int order);
include/linux/xarray.h
1563
void xas_split_alloc(struct xa_state *, void *entry, unsigned int order, gfp_t);
include/linux/xarray.h
1564
void xas_try_split(struct xa_state *xas, void *entry, unsigned int order);
include/linux/xarray.h
1572
static inline int xas_get_order(struct xa_state *xas)
include/linux/xarray.h
1577
static inline void xas_split(struct xa_state *xas, void *entry,
include/linux/xarray.h
1583
static inline void xas_split_alloc(struct xa_state *xas, void *entry,
include/linux/xarray.h
1588
static inline void xas_try_split(struct xa_state *xas, void *entry,
include/linux/xarray.h
1614
static inline void *xas_reload(struct xa_state *xas)
include/linux/xarray.h
1643
static inline void xas_set(struct xa_state *xas, unsigned long index)
include/linux/xarray.h
1659
static inline void xas_advance(struct xa_state *xas, unsigned long index)
include/linux/xarray.h
1673
static inline void xas_set_order(struct xa_state *xas, unsigned long index,
include/linux/xarray.h
1696
static inline void xas_set_update(struct xa_state *xas, xa_update_node_t update)
include/linux/xarray.h
1701
static inline void xas_set_lru(struct xa_state *xas, struct list_lru *lru)
include/linux/xarray.h
1717
static inline void *xas_next_entry(struct xa_state *xas, unsigned long max)
include/linux/xarray.h
1742
static inline unsigned int xas_find_chunk(struct xa_state *xas, bool advance,
include/linux/xarray.h
1774
static inline void *xas_next_marked(struct xa_state *xas, unsigned long max,
include/linux/xarray.h
1854
void *__xas_next(struct xa_state *);
include/linux/xarray.h
1855
void *__xas_prev(struct xa_state *);
include/linux/xarray.h
1873
static inline void *xas_prev(struct xa_state *xas)
include/linux/xarray.h
1902
static inline void *xas_next(struct xa_state *xas)
lib/xarray.c
1011
static void __xas_init_node_for_split(struct xa_state *xas,
lib/xarray.c
1045
void xas_split_alloc(struct xa_state *xas, void *entry, unsigned int order,
lib/xarray.c
1086
void xas_split(struct xa_state *xas, void *entry, unsigned int order)
lib/xarray.c
1175
void xas_try_split(struct xa_state *xas, void *entry, unsigned int order)
lib/xarray.c
126
static void xas_squash_marks(const struct xa_state *xas)
lib/xarray.c
1275
void xas_pause(struct xa_state *xas)
lib/xarray.c
1306
void *__xas_prev(struct xa_state *xas)
lib/xarray.c
1345
void *__xas_next(struct xa_state *xas)
lib/xarray.c
1393
void *xas_find(struct xa_state *xas, unsigned long max)
lib/xarray.c
1462
void *xas_find_marked(struct xa_state *xas, unsigned long max, xa_mark_t mark)
lib/xarray.c
150
static void xas_set_offset(struct xa_state *xas)
lib/xarray.c
1552
void *xas_find_conflict(struct xa_state *xas)
lib/xarray.c
156
static void xas_move_index(struct xa_state *xas, unsigned long offset)
lib/xarray.c
1627
static void *xas_result(struct xa_state *xas, void *curr)
lib/xarray.c
163
static void xas_next_offset(struct xa_state *xas)
lib/xarray.c
169
static void *set_bounds(struct xa_state *xas)
lib/xarray.c
182
static void *xas_start(struct xa_state *xas)
lib/xarray.c
1823
static void xas_set_range(struct xa_state *xas, unsigned long first,
lib/xarray.c
1917
int xas_get_order(struct xa_state *xas)
lib/xarray.c
204
static __always_inline void *xas_descend(struct xa_state *xas,
lib/xarray.c
2210
static bool xas_sibling(struct xa_state *xas)
lib/xarray.c
2270
static unsigned int xas_extract_present(struct xa_state *xas, void **dst,
lib/xarray.c
2289
static unsigned int xas_extract_marked(struct xa_state *xas, void **dst,
lib/xarray.c
2359
struct xa_state xas = {
lib/xarray.c
237
void *xas_load(struct xa_state *xas)
lib/xarray.c
270
void xas_destroy(struct xa_state *xas)
lib/xarray.c
301
bool xas_nomem(struct xa_state *xas, gfp_t gfp)
lib/xarray.c
328
static bool __xas_nomem(struct xa_state *xas, gfp_t gfp)
lib/xarray.c
354
static void xas_update(struct xa_state *xas, struct xa_node *node)
lib/xarray.c
362
static void *xas_alloc(struct xa_state *xas, unsigned int shift)
lib/xarray.c
38
static inline void xas_lock_type(struct xa_state *xas, unsigned int lock_type)
lib/xarray.c
404
static unsigned long xas_size(const struct xa_state *xas)
lib/xarray.c
416
static unsigned long xas_max(struct xa_state *xas)
lib/xarray.c
445
static void xas_shrink(struct xa_state *xas)
lib/xarray.c
48
static inline void xas_unlock_type(struct xa_state *xas, unsigned int lock_type)
lib/xarray.c
489
static void xas_delete_node(struct xa_state *xas)
lib/xarray.c
531
static void xas_free_nodes(struct xa_state *xas, struct xa_node *top)
lib/xarray.c
567
static int xas_expand(struct xa_state *xas, void *head)
lib/xarray.c
647
static void *xas_create(struct xa_state *xas, bool allow_root)
lib/xarray.c
712
void xas_create_range(struct xa_state *xas)
lib/xarray.c
755
static void update_node(struct xa_state *xas, struct xa_node *node,
lib/xarray.c
783
void *xas_store(struct xa_state *xas, void *entry)
lib/xarray.c
865
bool xas_get_mark(const struct xa_state *xas, xa_mark_t mark)
lib/xarray.c
884
void xas_set_mark(const struct xa_state *xas, xa_mark_t mark)
lib/xarray.c
913
void xas_clear_mark(const struct xa_state *xas, xa_mark_t mark)
lib/xarray.c
947
void xas_init_marks(const struct xa_state *xas)
mm/filemap.c
2060
static inline struct folio *find_get_entry(struct xa_state *xas, pgoff_t max,
mm/filemap.c
3146
static inline loff_t folio_seek_hole_data(struct xa_state *xas,
mm/filemap.c
3179
static inline size_t seek_folio_size(struct xa_state *xas, struct folio *folio)
mm/filemap.c
3701
static struct folio *next_uptodate_folio(struct xa_state *xas,
mm/huge_memory.c
3629
struct page *split_at, struct xa_state *xas,
mm/huge_memory.c
3780
struct page *split_at, struct xa_state *xas,
mm/memfd.c
37
static void memfd_tag_pins(struct xa_state *xas)