Home
last modified time | relevance | path

Searched refs:rb_entry_safe (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/tools/include/linux/
Drbtree.h75 #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/
Drbtree.h77 #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), \
Dtimerqueue.h38 return rb_entry_safe(leftmost, struct timerqueue_node, node); in timerqueue_getnext()
Dskbuff.h3816 #define rb_to_skb(rb) rb_entry_safe(rb, struct sk_buff, rbnode)
/linux-6.1.9/fs/f2fs/
Dextent_cache.c169 *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()
Dgc.c510 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()
Dsegment.c1341 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/
Dgeneric.c58 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/
Ddrm_mm.c297 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/
Di915_drv.h450 rb_entry_safe(rb, struct intel_engine_cs, uabi_node)
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Dintel_memory_region.c1010 engine = rb_entry_safe(rb_next(&engine->uabi_node), in random_engine_class()
/linux-6.1.9/mm/
Dvmalloc.c790 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/
Dcore.c1759 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()