/linux/lib/ |
H A D | xarray.c | 38 static inline void xas_lock_type(struct xa_state *xas, unsigned int lock_type) in xas_lock_type() argument 48 static inline void xas_unlock_type(struct xa_state *xas, unsigned int lock_type) in xas_unlock_type() argument 126 xas_squash_marks(const struct xa_state * xas) xas_squash_marks() argument 149 xas_set_offset(struct xa_state * xas) xas_set_offset() argument 155 xas_move_index(struct xa_state * xas,unsigned long offset) xas_move_index() argument 162 xas_next_offset(struct xa_state * xas) xas_next_offset() argument 168 set_bounds(struct xa_state * xas) set_bounds() argument 181 xas_start(struct xa_state * xas) xas_start() argument 203 xas_descend(struct xa_state * xas,struct xa_node * node) xas_descend() argument 235 xas_load(struct xa_state * xas) xas_load() argument 268 xas_destroy(struct xa_state * xas) xas_destroy() argument 298 xas_nomem(struct xa_state * xas,gfp_t gfp) xas_nomem() argument 325 __xas_nomem(struct xa_state * xas,gfp_t gfp) __xas_nomem() argument 351 xas_update(struct xa_state * xas,struct xa_node * node) xas_update() argument 359 xas_alloc(struct xa_state * xas,unsigned int shift) xas_alloc() argument 401 xas_size(const struct xa_state * xas) xas_size() argument 413 xas_max(struct xa_state * xas) xas_max() argument 437 xas_shrink(struct xa_state * xas) xas_shrink() argument 481 xas_delete_node(struct xa_state * xas) xas_delete_node() argument 523 xas_free_nodes(struct xa_state * xas,struct xa_node * top) xas_free_nodes() argument 559 xas_expand(struct xa_state * xas,void * head) xas_expand() argument 639 xas_create(struct xa_state * xas,bool allow_root) xas_create() argument 704 xas_create_range(struct xa_state * xas) xas_create_range() argument 747 update_node(struct xa_state * xas,struct xa_node * node,int count,int values) update_node() argument 775 xas_store(struct xa_state * xas,void * entry) xas_store() argument 857 xas_get_mark(const struct xa_state * xas,xa_mark_t mark) xas_get_mark() argument 876 xas_set_mark(const struct xa_state * xas,xa_mark_t mark) xas_set_mark() argument 905 xas_clear_mark(const struct xa_state * xas,xa_mark_t mark) xas_clear_mark() argument 939 xas_init_marks(const struct xa_state * xas) xas_init_marks() argument 1017 xas_split_alloc(struct xa_state * xas,void * entry,unsigned int order,gfp_t gfp) xas_split_alloc() argument 1068 xas_split(struct xa_state * xas,void * entry,unsigned int order) xas_split() argument 1135 xas_pause(struct xa_state * xas) xas_pause() argument 1165 __xas_prev(struct xa_state * xas) __xas_prev() argument 1204 __xas_next(struct xa_state * xas) __xas_next() argument 1252 xas_find(struct xa_state * xas,unsigned long max) xas_find() argument 1321 xas_find_marked(struct xa_state * xas,unsigned long max,xa_mark_t mark) xas_find_marked() argument 1409 xas_find_conflict(struct xa_state * xas) xas_find_conflict() argument 1486 xas_result(struct xa_state * xas,void * curr) xas_result() argument 1682 xas_set_range(struct xa_state * xas,unsigned long first,unsigned long last) xas_set_range() argument 2053 xas_sibling(struct xa_state * xas) xas_sibling() argument 2113 xas_extract_present(struct xa_state * xas,void ** dst,unsigned long max,unsigned int n) xas_extract_present() argument 2132 xas_extract_marked(struct xa_state * xas,void ** dst,unsigned long max,unsigned int n,xa_mark_t mark) xas_extract_marked() argument 2202 struct xa_state xas = { xa_delete_node() local [all...] |
/linux/include/linux/ |
H A D | xarray.h | 1410 #define xas_marked(xas, mark) xa_marked((xas)->xa, (mark)) argument 1411 #define xas_trylock(xas) xa_trylock((xas)->xa) argument 1412 #define xas_lock(xas) xa_lock((xas)->xa) argument 1413 #define xas_unlock(xas) xa_unloc argument 1406 xas_marked(xas,mark) global() argument 1407 xas_trylock(xas) global() argument 1408 xas_lock(xas) global() argument 1409 xas_unlock(xas) global() argument 1414 xas_lock_irqsave(xas,flags) global() argument 1416 xas_unlock_irqrestore(xas,flags) global() argument 1425 xas_error(const struct xa_state * xas) xas_error() argument 1439 xas_set_err(struct xa_state * xas,long err) xas_set_err() argument 1450 xas_invalid(const struct xa_state * xas) xas_invalid() argument 1461 xas_valid(const struct xa_state * xas) xas_valid() argument 1472 xas_is_node(const struct xa_state * xas) xas_is_node() argument 1505 xas_reset(struct xa_state * xas) xas_reset() argument 1522 xas_retry(struct xa_state * xas,const void * entry) xas_retry() argument 1559 xas_split(struct xa_state * xas,void * entry,unsigned int order) xas_split() argument 1565 xas_split_alloc(struct xa_state * xas,void * entry,unsigned int order,gfp_t gfp) xas_split_alloc() argument 1585 xas_reload(struct xa_state * xas) xas_reload() argument 1614 xas_set(struct xa_state * xas,unsigned long index) xas_set() argument 1630 xas_advance(struct xa_state * xas,unsigned long index) xas_advance() argument 1644 xas_set_order(struct xa_state * xas,unsigned long index,unsigned int order) xas_set_order() argument 1667 xas_set_update(struct xa_state * xas,xa_update_node_t update) xas_set_update() argument 1672 xas_set_lru(struct xa_state * xas,struct list_lru * lru) xas_set_lru() argument 1688 xas_next_entry(struct xa_state * xas,unsigned long max) xas_next_entry() argument 1713 xas_find_chunk(struct xa_state * xas,bool advance,xa_mark_t mark) xas_find_chunk() argument 1745 xas_next_marked(struct xa_state * xas,unsigned long max,xa_mark_t mark) xas_next_marked() argument 1788 xas_for_each(xas,entry,max) global() argument 1806 xas_for_each_marked(xas,entry,max,mark) global() argument 1822 xas_for_each_conflict(xas,entry) global() argument 1844 xas_prev(struct xa_state * xas) xas_prev() argument 1873 xas_next(struct xa_state * xas) xas_next() argument [all...] |
/linux/fs/ |
H A D | dax.c | 143 static wait_queue_head_t *dax_entry_waitqueue(struct xa_state *xas, in dax_entry_waitqueue() 181 static void dax_wake_entry(struct xa_state *xas, void *entry, in dax_wake_entry() 209 static void *get_unlocked_entry(struct xa_state *xas, unsigned int order) in get_unlocked_entry() 243 static void wait_entry_unlocked(struct xa_state *xas, void *entry) in wait_entry_unlocked() 264 static void put_unlocked_entry(struct xa_state *xas, void *entry, in put_unlocked_entry() 276 static void dax_unlock_entry(struct xa_state *xas, void *entry) in dax_unlock_entry() 292 static void *dax_lock_entry(struct xa_state *xas, void *entry) in dax_lock_entry() 573 static void *grab_mapping_entry(struct xa_state *xas, in grab_mapping_entry() 869 static void *dax_insert_entry(struct xa_state *xas, struct vm_fault *vmf, in dax_insert_entry() 926 static int dax_writeback_one(struct xa_state *xas, struct dax_device *dax_dev, in dax_writeback_one() [all …]
|
/linux/mm/ |
H A D | memfd.c | 38 static void memfd_tag_pins(struct xa_state *xas) in memfd_tag_pins()
|
H A D | filemap.c | 1975 static inline struct folio *find_get_entry(struct xa_state *xas, pgoff_t max, in find_get_entry() 2975 static inline loff_t folio_seek_hole_data(struct xa_state *xas, in folio_seek_hole_data() 3008 static inline size_t seek_folio_size(struct xa_state *xas, struct folio *folio) in seek_folio_size() 3482 static struct folio *next_uptodate_folio(struct xa_state *xas, in next_uptodate_folio()
|
H A D | internal.h | 1507 #define mapping_set_update(xas, mapping) do { \ argument
|