Searched refs:xa_node (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/lib/ |
D | xarray.c | 78 static inline unsigned long *node_marks(struct xa_node *node, xa_mark_t mark) in node_marks() 83 static inline bool node_get_mark(struct xa_node *node, in node_get_mark() 90 static inline bool node_set_mark(struct xa_node *node, unsigned int offset, in node_set_mark() 97 static inline bool node_clear_mark(struct xa_node *node, unsigned int offset, in node_clear_mark() 103 static inline bool node_any_mark(struct xa_node *node, xa_mark_t mark) in node_any_mark() 108 static inline void node_mark_all(struct xa_node *node, xa_mark_t mark) in node_mark_all() 133 unsigned long *marks = xas->xa_node->marks[mark]; in xas_squash_marks() 142 static unsigned int get_offset(unsigned long index, struct xa_node *node) in get_offset() 149 xas->xa_offset = get_offset(xas->xa_index, xas->xa_node); in xas_set_offset() 155 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() 1630 static void test_update_node(struct xa_node *node) in test_update_node() [all …]
|
D | idr.c | 568 struct xa_node *node = xa_to_node(entry); in ida_dump_entry()
|
/kernel/linux/linux-5.10/include/linux/ |
D | xarray.h | 1122 struct xa_node { struct 1127 struct xa_node __rcu *parent; /* NULL at top of tree */ argument 1141 void xa_dump_node(const struct xa_node *); argument 1177 const struct xa_node *node, unsigned int offset) in xa_entry() 1186 const struct xa_node *node, unsigned int offset) in xa_entry_locked() 1194 static inline struct xa_node *xa_parent(const struct xarray *xa, in xa_parent() 1195 const struct xa_node *node) in xa_parent() 1202 static inline struct xa_node *xa_parent_locked(const struct xarray *xa, in xa_parent_locked() 1203 const struct xa_node *node) in xa_parent_locked() 1210 static inline void *xa_mk_node(const struct xa_node *node) in xa_mk_node() [all …]
|
D | radix-tree.h | 24 #define radix_tree_node xa_node
|
D | swap.h | 322 void workingset_update_node(struct xa_node *node);
|
/kernel/linux/linux-5.10/mm/ |
D | workingset.c | 495 void workingset_update_node(struct xa_node *node) in workingset_update_node() 585 struct xa_node *node = container_of(item, struct xa_node, private_list); in shadow_lru_isolate()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
D | multiorder.c | 63 assert(xas.xa_node->shift == shift); in multiorder_iteration()
|
/kernel/linux/linux-5.10/fs/ |
D | dax.c | 563 if (xas->xa_node == XA_ERROR(-ENOMEM)) in grab_mapping_entry()
|