Searched refs:rb_entry_safe (Results 1 – 12 of 12) sorted by relevance
/linux/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/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 | skbuff.h | 3568 #define rb_to_skb(rb) rb_entry_safe(rb, struct sk_buff, rbnode)
|
/linux/fs/f2fs/ |
A 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() 612 next_en = rb_entry_safe(node, struct extent_node, in f2fs_update_extent_tree_range()
|
A D | gc.c | 488 re = rb_entry_safe(node, struct rb_entry, rb_node); in atgc_lookup_victim() 556 re = rb_entry_safe(node, struct rb_entry, rb_node); in atssr_lookup_victim()
|
A D | segment.c | 1461 next_dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __update_discard_tree_range() 1530 dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __issue_discard_cmd_orderly() 3146 dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __issue_discard_cmd_range()
|
/linux/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/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/drivers/gpu/drm/i915/selftests/ |
A D | intel_memory_region.c | 844 engine = rb_entry_safe(rb_next(&engine->uabi_node), in random_engine_class()
|
/linux/mm/ |
A D | vmalloc.c | 773 va = rb_entry_safe(node, struct vmap_area, rb_node); in get_subtree_max_size() 3517 return rb_entry_safe(n, struct vmap_area, rb_node); in node_to_va()
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_drv.h | 1288 rb_entry_safe(rb, struct intel_engine_cs, uabi_node)
|
/linux/kernel/events/ |
A D | core.c | 1780 for (event = rb_entry_safe(rb_first(&((groups)->tree)), \ 1782 event = rb_entry_safe(rb_next(&event->group_node), \ 4142 event = rb_entry_safe(rb_first(&ctx->flexible_groups.tree), in ctx_event_to_rotate()
|
Completed in 67 milliseconds