/openbmc/u-boot/include/linux/ |
H A D | rbtree.h | 77 #define rb_entry_safe(ptr, type, member) \ macro 92 for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \ 93 pos && ({ n = rb_entry_safe(rb_next_postorder(&pos->field), \
|
/openbmc/linux/tools/include/linux/ |
H 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), \
|
/openbmc/linux/include/linux/ |
H 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), \
|
H A D | timerqueue.h | 38 return rb_entry_safe(leftmost, struct timerqueue_node, node); in timerqueue_getnext()
|
H A D | skbuff.h | 3899 #define rb_to_skb(rb) rb_entry_safe(rb, struct sk_buff, rbnode)
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | bitmap.c | 60 for ((bn) = rb_entry_safe(rb_first(&(bitmap)->xb_root.rb_root), \ in INTERVAL_TREE_DEFINE() 63 (bn) = rb_entry_safe(rb_next(&(bn)->bn_rbnode), \
|
/openbmc/linux/fs/f2fs/ |
H A D | extent_cache.c | 231 *next_entry = rb_entry_safe(tmp_node, struct extent_node, rb_node); in __lookup_extent_node_ret() 236 *prev_entry = rb_entry_safe(tmp_node, struct extent_node, rb_node); in __lookup_extent_node_ret() 243 *prev_entry = rb_entry_safe(tmp_node, in __lookup_extent_node_ret() 249 *next_entry = rb_entry_safe(tmp_node, in __lookup_extent_node_ret() 677 next_en = rb_entry_safe(node, struct extent_node, in __update_extent_tree_range()
|
H A D | segment.c | 1059 *next_entry = rb_entry_safe(tmp_node, struct discard_cmd, rb_node); in __lookup_discard_cmd_ret() 1064 *prev_entry = rb_entry_safe(tmp_node, struct discard_cmd, rb_node); in __lookup_discard_cmd_ret() 1070 *prev_entry = rb_entry_safe(tmp_node, struct discard_cmd, rb_node); in __lookup_discard_cmd_ret() 1074 *next_entry = rb_entry_safe(tmp_node, struct discard_cmd, rb_node); in __lookup_discard_cmd_ret() 1525 next_dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __update_discard_tree_range() 1601 dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __issue_discard_cmd_orderly() 3224 dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __issue_discard_cmd_range()
|
H A D | gc.c | 553 ve = rb_entry_safe(node, struct victim_entry, rb_node); in atgc_lookup_victim()
|
/openbmc/linux/fs/proc/ |
H 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()
|
/openbmc/linux/drivers/gpu/drm/ |
H 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()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_drv.h | 405 rb_entry_safe(rb, struct intel_engine_cs, uabi_node)
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | intel_memory_region.c | 1010 engine = rb_entry_safe(rb_next(&engine->uabi_node), in random_engine_class()
|
/openbmc/linux/mm/ |
H A D | vmalloc.c | 786 va = rb_entry_safe(node, struct vmap_area, rb_node); in get_subtree_max_size() 3942 return rb_entry_safe(n, struct vmap_area, rb_node); in node_to_va()
|
/openbmc/linux/kernel/events/ |
H A D | core.c | 1770 for (event = rb_entry_safe(rb_first(&((groups)->tree)), \ 1772 event = rb_entry_safe(rb_next(&event->group_node), \
|