Home
last modified time | relevance | path

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

1234

/Linux-v6.6/kernel/locking/
Drtmutex_common.h112 return !RB_EMPTY_ROOT(&lock->waiters.rb_root); in rt_mutex_has_waiters()
144 return !RB_EMPTY_ROOT(&p->pi_waiters.rb_root); in task_has_pi_waiters()
Drtmutex_api.c487 DEBUG_LOCKS_WARN_ON(!RB_EMPTY_ROOT(&task->pi_waiters.rb_root)); in rt_mutex_debug_task_free()
/Linux-v6.6/lib/
Dtimerqueue.c60 return !RB_EMPTY_ROOT(&head->rb_root.rb_root); in timerqueue_del()
/Linux-v6.6/net/bridge/
Dbr_private_mcast_eht.h68 RB_EMPTY_ROOT(&pg->eht_host_tree)); in br_multicast_eht_should_del_pg()
Dbr_multicast_eht.c155 WARN_ON(!RB_EMPTY_ROOT(&eht_set->entry_tree)); in br_multicast_destroy_eht_set()
456 if (RB_EMPTY_ROOT(&eht_set->entry_tree)) in br_multicast_create_eht_set_entry()
478 if (RB_EMPTY_ROOT(&eht_set->entry_tree)) { in br_multicast_del_eht_set_entry()
/Linux-v6.6/drivers/gpu/drm/i915/
Di915_scheduler.h71 return RB_EMPTY_ROOT(&sched_engine->queue.rb_root); in i915_sched_engine_is_empty()
/Linux-v6.6/fs/afs/
Dvl_alias.c195 if (!RB_EMPTY_ROOT(&p->volumes)) in afs_query_for_alias_one()
246 if (RB_EMPTY_ROOT(&p->volumes)) in afs_query_for_alias()
/Linux-v6.6/net/ceph/
Dstring_table.c105 return RB_EMPTY_ROOT(&string_tree); in ceph_strings_empty()
Dosdmap.c221 while (!RB_EMPTY_ROOT(root)) { in clear_crush_names()
267 while (!RB_EMPTY_ROOT(&c->choose_args)) { in clear_choose_args()
1151 while (!RB_EMPTY_ROOT(&map->pg_temp)) { in ceph_osdmap_destroy()
1158 while (!RB_EMPTY_ROOT(&map->primary_temp)) { in ceph_osdmap_destroy()
1165 while (!RB_EMPTY_ROOT(&map->pg_upmap)) { in ceph_osdmap_destroy()
1172 while (!RB_EMPTY_ROOT(&map->pg_upmap_items)) { in ceph_osdmap_destroy()
1179 while (!RB_EMPTY_ROOT(&map->pg_pools)) { in ceph_osdmap_destroy()
1793 WARN_ON(!RB_EMPTY_ROOT(&map->pg_upmap)); in osdmap_decode()
1794 WARN_ON(!RB_EMPTY_ROOT(&map->pg_upmap_items)); in osdmap_decode()
2997 while (!RB_EMPTY_ROOT(locs)) { in ceph_clear_crush_locs()
Dosd_client.c1264 WARN_ON(!RB_EMPTY_ROOT(&osd->o_requests)); in osd_cleanup()
1265 WARN_ON(!RB_EMPTY_ROOT(&osd->o_linger_requests)); in osd_cleanup()
1266 WARN_ON(!RB_EMPTY_ROOT(&osd->o_backoff_mappings)); in osd_cleanup()
1267 WARN_ON(!RB_EMPTY_ROOT(&osd->o_backoffs_by_id)); in osd_cleanup()
1341 if (RB_EMPTY_ROOT(&osd->o_requests) && in maybe_move_osd_to_lru()
1342 RB_EMPTY_ROOT(&osd->o_linger_requests)) in maybe_move_osd_to_lru()
1409 if (RB_EMPTY_ROOT(&osd->o_requests) && in reopen_osd()
1410 RB_EMPTY_ROOT(&osd->o_linger_requests)) { in reopen_osd()
1749 WARN_ON(!RB_EMPTY_ROOT(&spg->backoffs)); in free_spg_mapping()
1990 while (!RB_EMPTY_ROOT(&osd->o_backoff_mappings)) { in DEFINE_RB_FUNCS()
[all …]
/Linux-v6.6/tools/perf/tests/
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()
/Linux-v6.6/block/
Dbfq-iosched.c870 !RB_EMPTY_ROOT(&bfqd->queue_weights_tree.rb_root) && in bfq_asymmetric_scenario()
2055 if (RB_EMPTY_ROOT(&bfqq->sort_list) && bfqq->dispatched == 0) in bfq_update_io_intensity()
2406 if (RB_EMPTY_ROOT(&bfqq->sort_list)) { in bfq_remove_request()
2689 if (RB_EMPTY_ROOT(root)) in bfqq_find_close()
3119 if (bfq_bfqq_busy(bfqq) && RB_EMPTY_ROOT(&bfqq->sort_list) && in bfq_release_process_ref()
3917 if (RB_EMPTY_ROOT(&bfqq->sort_list) && in __bfq_bfqq_expire()
3937 !RB_EMPTY_ROOT(&bfqq->sort_list))) in __bfq_bfqq_expire()
4376 RB_EMPTY_ROOT(&bfqq->sort_list)) { in bfq_bfqq_expire()
4642 return RB_EMPTY_ROOT(&bfqq->sort_list) && bfq_better_to_idle(bfqq); in bfq_bfqq_must_idle()
4707 if (!RB_EMPTY_ROOT(&bfqq->sort_list) && in bfq_choose_bfqq_for_injection()
[all …]
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-v6.6/drivers/iommu/iommufd/
Dio_pagetable.c138 if (RB_EMPTY_ROOT(&iopt->allowed_itree.rb_root)) { in iopt_alloc_iova()
669 WARN_ON(!RB_EMPTY_ROOT(&iopt->reserved_itree.rb_root)); in iopt_destroy_table()
672 WARN_ON(!RB_EMPTY_ROOT(&iopt->area_itree.rb_root)); in iopt_destroy_table()
1122 !RB_EMPTY_ROOT(&iopt->area_itree.rb_root)) { in iopt_disable_large_pages()
/Linux-v6.6/fs/ntfs3/
Dbitmap.c800 if (!RB_EMPTY_ROOT(&wnd->start_tree)) in wnd_set_used()
899 if (RB_EMPTY_ROOT(&wnd->start_tree)) in wnd_is_free()
935 if (RB_EMPTY_ROOT(&wnd->start_tree)) in wnd_is_used()
1025 if (RB_EMPTY_ROOT(&wnd->start_tree)) { in wnd_find()
1423 if (!RB_EMPTY_ROOT(&wnd->start_tree) && len) in wnd_zone_set()
/Linux-v6.6/fs/ocfs2/
Dreservations.c475 goal, wanted, RB_EMPTY_ROOT(root)); in __ocfs2_resv_find_window()
479 if (RB_EMPTY_ROOT(root)) { in __ocfs2_resv_find_window()
/Linux-v6.6/tools/include/linux/
Drbtree.h39 #define RB_EMPTY_ROOT(root) (READ_ONCE((root)->rb_node) == NULL) macro
/Linux-v6.6/include/linux/
Drbtree.h30 #define RB_EMPTY_ROOT(root) (READ_ONCE((root)->rb_node) == NULL) macro
Dkernfs.h379 WARN_ON_ONCE(!RB_EMPTY_ROOT(&kn->dir.children)); in kernfs_enable_ns()
/Linux-v6.6/fs/dlm/
Ddebug_fs.c512 if (!RB_EMPTY_ROOT(tree)) { in table_seq_start()
544 if (!RB_EMPTY_ROOT(tree)) { in table_seq_start()
610 if (!RB_EMPTY_ROOT(tree)) { in table_seq_next()
/Linux-v6.6/drivers/infiniband/sw/rxe/
Drxe.c32 WARN_ON(!RB_EMPTY_ROOT(&rxe->mcg_tree)); in rxe_dealloc()
/Linux-v6.6/tools/perf/util/
Ddso.h267 return !RB_EMPTY_ROOT(&dso->symbols.rb_root); in dso__has_symbols()
Dcgroup.c581 while (!RB_EMPTY_ROOT(&env->cgroups.tree)) { in perf_env__purge_cgroups()
/Linux-v6.6/fs/xfs/
Dxfs_extent_busy.c653 if (RB_EMPTY_ROOT(&pag->pagb_tree)) in xfs_extent_busy_wait_all()
/Linux-v6.6/fs/ceph/
Dquota.c186 while (!RB_EMPTY_ROOT(&mdsc->quotarealms_inodes)) { in ceph_cleanup_quotarealms_inodes()

1234