Searched refs:rb_entry_safe (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/tools/include/linux/ |
D | rbtree.h | 75 #define rb_entry_safe(ptr, type, member) \ macro 98 for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \ 99 pos && ({ n = rb_entry_safe(rb_next_postorder(&pos->field), \
|
/linux-6.1.9/include/linux/ |
D | rbtree.h | 77 #define rb_entry_safe(ptr, type, member) \ macro 100 for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \ 101 pos && ({ n = rb_entry_safe(rb_next_postorder(&pos->field), \
|
D | timerqueue.h | 38 return rb_entry_safe(leftmost, struct timerqueue_node, node); in timerqueue_getnext()
|
D | skbuff.h | 3816 #define rb_to_skb(rb) rb_entry_safe(rb, struct sk_buff, rbnode)
|
/linux-6.1.9/fs/f2fs/ |
D | extent_cache.c | 169 *next_entry = rb_entry_safe(tmp_node, struct rb_entry, rb_node); in f2fs_lookup_rb_tree_ret() 174 *prev_entry = rb_entry_safe(tmp_node, struct rb_entry, rb_node); in f2fs_lookup_rb_tree_ret() 181 *prev_entry = rb_entry_safe(tmp_node, struct rb_entry, rb_node); in f2fs_lookup_rb_tree_ret() 186 *next_entry = rb_entry_safe(tmp_node, struct rb_entry, rb_node); in f2fs_lookup_rb_tree_ret() 613 next_en = rb_entry_safe(node, struct extent_node, in f2fs_update_extent_tree_range()
|
D | gc.c | 510 re = rb_entry_safe(node, struct rb_entry, rb_node); in atgc_lookup_victim() 578 re = rb_entry_safe(node, struct rb_entry, rb_node); in atssr_lookup_victim()
|
D | segment.c | 1341 next_dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __update_discard_tree_range() 1410 dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __issue_discard_cmd_orderly() 3031 dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __issue_discard_cmd_range()
|
/linux-6.1.9/fs/proc/ |
D | generic.c | 58 return rb_entry_safe(rb_first(&dir->subdir), struct proc_dir_entry, in pde_subdir_first() 64 return rb_entry_safe(rb_next(&dir->subdir_node), struct proc_dir_entry, in pde_subdir_next()
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_mm.c | 297 return rb_entry_safe(rb, struct drm_mm_node, rb_hole_size); in rb_hole_size_to_node() 302 return rb_entry_safe(rb, struct drm_mm_node, rb_hole_addr); in rb_hole_addr_to_node()
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_drv.h | 450 rb_entry_safe(rb, struct intel_engine_cs, uabi_node)
|
/linux-6.1.9/drivers/gpu/drm/i915/selftests/ |
D | intel_memory_region.c | 1010 engine = rb_entry_safe(rb_next(&engine->uabi_node), in random_engine_class()
|
/linux-6.1.9/mm/ |
D | vmalloc.c | 790 va = rb_entry_safe(node, struct vmap_area, rb_node); in get_subtree_max_size() 3686 return rb_entry_safe(n, struct vmap_area, rb_node); in node_to_va()
|
/linux-6.1.9/kernel/events/ |
D | core.c | 1759 for (event = rb_entry_safe(rb_first(&((groups)->tree)), \ 1761 event = rb_entry_safe(rb_next(&event->group_node), \ 4161 event = rb_entry_safe(rb_first(&ctx->flexible_groups.tree), in ctx_event_to_rotate()
|