Searched refs:rb_entry_safe (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/tools/include/linux/ |
A 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.3-rc2/include/linux/ |
A 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), \
|
A D | timerqueue.h | 38 return rb_entry_safe(leftmost, struct timerqueue_node, node); in timerqueue_getnext()
|
A D | skbuff.h | 3844 #define rb_to_skb(rb) rb_entry_safe(rb, struct sk_buff, rbnode)
|
/linux-6.3-rc2/fs/f2fs/ |
A D | extent_cache.c | 315 *next_entry = rb_entry_safe(tmp_node, struct rb_entry, rb_node); in f2fs_lookup_rb_tree_ret() 320 *prev_entry = rb_entry_safe(tmp_node, struct rb_entry, rb_node); in f2fs_lookup_rb_tree_ret() 327 *prev_entry = rb_entry_safe(tmp_node, struct rb_entry, rb_node); in f2fs_lookup_rb_tree_ret() 332 *next_entry = rb_entry_safe(tmp_node, struct rb_entry, rb_node); in f2fs_lookup_rb_tree_ret() 789 next_en = rb_entry_safe(node, struct extent_node, in __update_extent_tree_range()
|
A D | gc.c | 511 re = rb_entry_safe(node, struct rb_entry, rb_node); in atgc_lookup_victim() 579 re = rb_entry_safe(node, struct rb_entry, rb_node); in atssr_lookup_victim()
|
A D | segment.c | 1363 next_dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __update_discard_tree_range() 1430 dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __issue_discard_cmd_orderly() 3010 dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __issue_discard_cmd_range()
|
/linux-6.3-rc2/fs/proc/ |
A 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.3-rc2/drivers/gpu/drm/ |
A 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.3-rc2/drivers/gpu/drm/i915/ |
A D | i915_drv.h | 398 rb_entry_safe(rb, struct intel_engine_cs, uabi_node)
|
/linux-6.3-rc2/drivers/gpu/drm/i915/selftests/ |
A D | intel_memory_region.c | 1010 engine = rb_entry_safe(rb_next(&engine->uabi_node), in random_engine_class()
|
/linux-6.3-rc2/mm/ |
A D | vmalloc.c | 783 va = rb_entry_safe(node, struct vmap_area, rb_node); in get_subtree_max_size() 3733 return rb_entry_safe(n, struct vmap_area, rb_node); in node_to_va()
|
/linux-6.3-rc2/kernel/events/ |
A D | core.c | 1754 for (event = rb_entry_safe(rb_first(&((groups)->tree)), \ 1756 event = rb_entry_safe(rb_next(&event->group_node), \
|
Completed in 96 milliseconds