Searched refs:xa_node (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/lib/ |
D | xarray.c | 80 static inline unsigned long *node_marks(struct xa_node *node, xa_mark_t mark) in node_marks() 85 static inline bool node_get_mark(struct xa_node *node, in node_get_mark() 92 static inline bool node_set_mark(struct xa_node *node, unsigned int offset, in node_set_mark() 99 static inline bool node_clear_mark(struct xa_node *node, unsigned int offset, in node_clear_mark() 105 static inline bool node_any_mark(struct xa_node *node, xa_mark_t mark) in node_any_mark() 110 static inline void node_mark_all(struct xa_node *node, xa_mark_t mark) in node_mark_all() 135 unsigned long *marks = xas->xa_node->marks[mark]; in xas_squash_marks() 144 static unsigned int get_offset(unsigned long index, struct xa_node *node) in get_offset() 151 xas->xa_offset = get_offset(xas->xa_index, xas->xa_node); in xas_set_offset() 157 unsigned int shift = xas->xa_node->shift; in xas_move_index() [all …]
|
D | test_xarray.c | 117 XA_BUG_ON(xa, xas.xa_node != XAS_RESTART); in check_xas_retry() 119 XA_BUG_ON(xa, xas.xa_node != NULL); in check_xas_retry() 126 xas.xa_node = XAS_RESTART; in check_xas_retry() 327 struct xa_node *node; in check_xa_shrink() 341 node = xas.xa_node; in check_xa_shrink() 345 XA_BUG_ON(xa, xas.xa_node != XAS_BOUNDS); in check_xa_shrink() 1088 xas.xa_node != XAS_RESTART); in check_find_3() 1275 XA_BUG_ON(xa, xas.xa_node == XAS_RESTART); in check_move_small() 1289 XA_BUG_ON(xa, xas.xa_node == XAS_RESTART); in check_move_small() 1652 static void test_update_node(struct xa_node *node) in test_update_node() [all …]
|
D | idr.c | 569 struct xa_node *node = xa_to_node(entry); in ida_dump_entry()
|
/linux-6.6.21/include/linux/ |
D | xarray.h | 1158 struct xa_node { struct 1163 struct xa_node __rcu *parent; /* NULL at top of tree */ argument 1177 void xa_dump_node(const struct xa_node *); argument 1213 const struct xa_node *node, unsigned int offset) in xa_entry() 1222 const struct xa_node *node, unsigned int offset) in xa_entry_locked() 1230 static inline struct xa_node *xa_parent(const struct xarray *xa, in xa_parent() 1231 const struct xa_node *node) in xa_parent() 1238 static inline struct xa_node *xa_parent_locked(const struct xarray *xa, in xa_parent_locked() 1239 const struct xa_node *node) in xa_parent_locked() 1246 static inline void *xa_mk_node(const struct xa_node *node) in xa_mk_node() [all …]
|
D | radix-tree.h | 26 #define radix_tree_node xa_node
|
D | swap.h | 353 void workingset_update_node(struct xa_node *node);
|
/linux-6.6.21/drivers/infiniband/core/ |
D | ib_core_uverbs.c | 295 if (xas.xa_node == XAS_RESTART) in rdma_user_mmap_entry_insert_range() 309 if (xas.xa_node == XAS_BOUNDS || xas.xa_index >= xa_last) in rdma_user_mmap_entry_insert_range()
|
/linux-6.6.21/mm/ |
D | workingset.c | 601 void workingset_update_node(struct xa_node *node) in workingset_update_node() 692 struct xa_node *node = container_of(item, struct xa_node, private_list); in shadow_lru_isolate()
|
/linux-6.6.21/tools/testing/radix-tree/ |
D | multiorder.c | 63 assert(xas.xa_node->shift == shift); in multiorder_iteration()
|
/linux-6.6.21/fs/cachefiles/ |
D | ondemand.c | 375 if (xas.xa_node == XAS_RESTART) in cachefiles_ondemand_send_req()
|
/linux-6.6.21/fs/ |
D | dax.c | 649 if (xas->xa_node == XA_ERROR(-ENOMEM)) in grab_mapping_entry()
|