Home
last modified time | relevance | path

Searched refs:RB_EMPTY_ROOT (Results 1 – 25 of 84) sorted by relevance

1234

/linux/lib/
H A Dtimerqueue.c60 return !RB_EMPTY_ROOT(&head->rb_root.rb_root); in timerqueue_del()
/linux/net/bridge/
H A Dbr_private_mcast_eht.h68 RB_EMPTY_ROOT(&pg->eht_host_tree)); in br_multicast_eht_should_del_pg()
H A Dbr_multicast_eht.c155 WARN_ON(!RB_EMPTY_ROOT(&eht_set->entry_tree)); in br_multicast_destroy_eht_set()
459 if (RB_EMPTY_ROOT(&eht_set->entry_tree)) in br_multicast_create_eht_set_entry()
481 if (RB_EMPTY_ROOT(&eht_set->entry_tree)) { in br_multicast_del_eht_set_entry()
/linux/fs/afs/
H A Dvl_alias.c146 if (!RB_EMPTY_ROOT(&p->volumes)) in afs_query_for_alias_one()
197 if (RB_EMPTY_ROOT(&p->volumes)) in afs_query_for_alias()
/linux/drivers/gpu/drm/i915/
H A Di915_scheduler.h71 return RB_EMPTY_ROOT(&sched_engine->queue.rb_root); in i915_sched_engine_is_empty()
/linux/net/ceph/
H A Dstring_table.c105 return RB_EMPTY_ROOT(&string_tree); in ceph_strings_empty()
H A Dosdmap.c221 while (!RB_EMPTY_ROOT(root)) { in clear_crush_names()
271 while (!RB_EMPTY_ROOT(&c->choose_args)) { in clear_choose_args()
1143 while (!RB_EMPTY_ROOT(&map->pg_temp)) { in ceph_osdmap_destroy()
1150 while (!RB_EMPTY_ROOT(&map->primary_temp)) { in ceph_osdmap_destroy()
1157 while (!RB_EMPTY_ROOT(&map->pg_upmap)) { in ceph_osdmap_destroy()
1164 while (!RB_EMPTY_ROOT(&map->pg_upmap_items)) { in ceph_osdmap_destroy()
1171 while (!RB_EMPTY_ROOT(&map->pg_pools)) { in ceph_osdmap_destroy()
1783 WARN_ON(!RB_EMPTY_ROOT(&map->pg_upmap)); in osdmap_decode()
1784 WARN_ON(!RB_EMPTY_ROOT(&map->pg_upmap_items)); in osdmap_decode()
2995 while (!RB_EMPTY_ROOT(locs)) { in ceph_clear_crush_locs()
H A Dosd_client.c1243 WARN_ON(!RB_EMPTY_ROOT(&osd->o_requests)); in osd_cleanup()
1244 WARN_ON(!RB_EMPTY_ROOT(&osd->o_linger_requests)); in osd_cleanup()
1245 WARN_ON(!RB_EMPTY_ROOT(&osd->o_backoff_mappings)); in osd_cleanup()
1246 WARN_ON(!RB_EMPTY_ROOT(&osd->o_backoffs_by_id)); in osd_cleanup()
1318 if (RB_EMPTY_ROOT(&osd->o_requests) && in maybe_move_osd_to_lru()
1319 RB_EMPTY_ROOT(&osd->o_linger_requests)) in maybe_move_osd_to_lru()
1386 if (RB_EMPTY_ROOT(&osd->o_requests) && in reopen_osd()
1387 RB_EMPTY_ROOT(&osd->o_linger_requests)) { in reopen_osd()
1733 WARN_ON(!RB_EMPTY_ROOT(&spg->backoffs)); in free_spg_mapping()
1974 while (!RB_EMPTY_ROOT(&osd->o_backoff_mappings)) { in DEFINE_RB_FUNCS()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_range_fence.c122 XE_WARN_ON(!RB_EMPTY_ROOT(&tree->root.rb_root)); in xe_range_fence_tree_fini()
/linux/tools/perf/tests/
H A Dhists_cumulate.c144 while (!RB_EMPTY_ROOT(&root_out->rb_root)) { in del_hist_entries()
237 TEST_ASSERT_VAL("callchains expected", !RB_EMPTY_ROOT(root)); in do_test()
H A Dcode-reading.c94 while (!RB_EMPTY_ROOT(root)) { in tested_sections__free()
/linux/fs/xfs/
H A Dxfs_extent_busy.c657 if (RB_EMPTY_ROOT(&eb->eb_tree)) in xfs_extent_busy_wait_group()
710 res = RB_EMPTY_ROOT(&eb->eb_tree); in xfs_extent_busy_list_empty()
/linux/block/
H A Dbfq-iosched.c872 !RB_EMPTY_ROOT(&bfqd->queue_weights_tree.rb_root) && in bfq_asymmetric_scenario()
2057 if (RB_EMPTY_ROOT(&bfqq->sort_list) && bfqq->dispatched == 0) in bfq_update_io_intensity()
2408 if (RB_EMPTY_ROOT(&bfqq->sort_list)) { in bfq_remove_request()
2684 if (RB_EMPTY_ROOT(root)) in bfqq_find_close()
3118 if (bfq_bfqq_busy(bfqq) && RB_EMPTY_ROOT(&bfqq->sort_list) && in bfq_release_process_ref()
3914 if (RB_EMPTY_ROOT(&bfqq->sort_list) && in __bfq_bfqq_expire()
3934 !RB_EMPTY_ROOT(&bfqq->sort_list))) in __bfq_bfqq_expire()
4373 RB_EMPTY_ROOT(&bfqq->sort_list)) { in bfq_bfqq_expire()
4639 return RB_EMPTY_ROOT(&bfqq->sort_list) && bfq_better_to_idle(bfqq); in bfq_bfqq_must_idle()
4704 if (!RB_EMPTY_ROOT(&bfqq->sort_list) && in bfq_choose_bfqq_for_injection()
[all …]
H A Dbfq-wf2q.c661 if (RB_EMPTY_ROOT(&st->active) && last_idle && in bfq_forget_idle()
1354 if (RB_EMPTY_ROOT(&st->active)) in __bfq_lookup_next_entity()
1407 if (!RB_EMPTY_ROOT(&idle_class_st->active)) in bfq_lookup_next_entity()
/linux/fs/ntfs3/
H A Dbitmap.c784 if (!RB_EMPTY_ROOT(&wnd->start_tree)) in wnd_set_used()
877 if (RB_EMPTY_ROOT(&wnd->start_tree)) in wnd_is_free()
914 if (RB_EMPTY_ROOT(&wnd->start_tree)) in wnd_is_used()
997 if (RB_EMPTY_ROOT(&wnd->start_tree)) { in wnd_find()
1396 if (!RB_EMPTY_ROOT(&wnd->start_tree) && len) in wnd_zone_set()
/linux/fs/
H A Dmount.h196 return RB_EMPTY_ROOT(&ns->mounts); in mnt_ns_empty()
/linux/tools/include/linux/
H A Drbtree.h39 #define RB_EMPTY_ROOT(root) (READ_ONCE((root)->rb_node) == NULL) macro
/linux/drivers/iommu/iommufd/
H A Dio_pagetable.c158 if (RB_EMPTY_ROOT(&iopt->allowed_itree.rb_root)) { in iopt_alloc_iova()
957 WARN_ON(!RB_EMPTY_ROOT(&iopt->reserved_itree.rb_root)); in iopt_destroy_table()
960 WARN_ON(!RB_EMPTY_ROOT(&iopt->area_itree.rb_root)); in iopt_destroy_table()
1439 !RB_EMPTY_ROOT(&iopt->area_itree.rb_root)) { in iopt_disable_large_pages()
/linux/include/linux/
H A Drbtree.h30 #define RB_EMPTY_ROOT(root) (READ_ONCE((root)->rb_node) == NULL) macro
/linux/arch/arm64/kvm/
H A Dpkvm.c356 WARN_ON_ONCE(!RB_EMPTY_ROOT(&pgt->pkvm_mappings.rb_root)); in pkvm_pgtable_stage2_destroy_pgd()
/linux/tools/perf/util/
H A Dbpf-trace-summary.c455 if (!RB_EMPTY_ROOT(&cgroups)) { in trace_cleanup_bpf_summary()
H A Dcgroup.c590 while (!RB_EMPTY_ROOT(&env->cgroups.tree)) { in perf_env__purge_cgroups()
H A Dannotate-data.c711 while (!RB_EMPTY_ROOT(root)) { in global_var_type__tree_delete()
806 if (RB_EMPTY_ROOT(dso__global_vars(dso))) in get_global_var_type()
1770 while (!RB_EMPTY_ROOT(root)) { in annotated_data_type__tree_delete()
/linux/tools/perf/ui/browsers/
H A Dhists.c342 !RB_EMPTY_ROOT(&child->rb_root); in callchain_node__init_have_children_rb_tree()
345 !RB_EMPTY_ROOT(&child->rb_root); in callchain_node__init_have_children_rb_tree()
362 chain->has_children = !RB_EMPTY_ROOT(&node->rb_root); in callchain_node__init_have_children()
388 he->has_children = !RB_EMPTY_ROOT(&he->sorted_chain); in hist_entry__init_have_children()
391 he->has_children = !RB_EMPTY_ROOT(&he->hroot_out.rb_root); in hist_entry__init_have_children()
/linux/net/rxrpc/
H A Drecvmsg.c390 if (RB_EMPTY_ROOT(&rx->calls) && in rxrpc_recvmsg()

1234