| /linux-6.15/kernel/locking/ |
| H A D | rtmutex_common.h | 113 return !RB_EMPTY_ROOT(&lock->waiters.rb_root); in rt_mutex_has_waiters() 145 return !RB_EMPTY_ROOT(&p->pi_waiters.rb_root); in task_has_pi_waiters()
|
| H A D | rtmutex_api.c | 493 DEBUG_LOCKS_WARN_ON(!RB_EMPTY_ROOT(&task->pi_waiters.rb_root)); in rt_mutex_debug_task_free()
|
| /linux-6.15/lib/ |
| H A D | timerqueue.c | 60 return !RB_EMPTY_ROOT(&head->rb_root.rb_root); in timerqueue_del()
|
| /linux-6.15/net/bridge/ |
| H A D | br_private_mcast_eht.h | 68 RB_EMPTY_ROOT(&pg->eht_host_tree)); in br_multicast_eht_should_del_pg()
|
| H A D | br_multicast_eht.c | 155 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-6.15/fs/afs/ |
| H A D | vl_alias.c | 146 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-6.15/drivers/gpu/drm/i915/ |
| H A D | i915_scheduler.h | 71 return RB_EMPTY_ROOT(&sched_engine->queue.rb_root); in i915_sched_engine_is_empty()
|
| /linux-6.15/net/ceph/ |
| H A D | string_table.c | 105 return RB_EMPTY_ROOT(&string_tree); in ceph_strings_empty()
|
| H A D | osdmap.c | 221 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()
|
| H A D | osd_client.c | 1243 WARN_ON(!RB_EMPTY_ROOT(&osd->o_requests)); in osd_cleanup() 1320 if (RB_EMPTY_ROOT(&osd->o_requests) && in maybe_move_osd_to_lru() 1321 RB_EMPTY_ROOT(&osd->o_linger_requests)) in maybe_move_osd_to_lru() 1388 if (RB_EMPTY_ROOT(&osd->o_requests) && in reopen_osd() 1389 RB_EMPTY_ROOT(&osd->o_linger_requests)) { in reopen_osd() 1728 WARN_ON(!RB_EMPTY_ROOT(&spg->backoffs)); in free_spg_mapping() 1974 while (!RB_EMPTY_ROOT(&spg->backoffs)) { in DEFINE_RB_FUNCS() 3528 WARN_ON(!RB_EMPTY_ROOT(&osd->o_requests)); in handle_osds_timeout() 4483 if (RB_EMPTY_ROOT(&spg->backoffs)) { in handle_backoff_unblock() 5270 while (!RB_EMPTY_ROOT(&osdc->osds)) { in ceph_osdc_stop() [all …]
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_range_fence.c | 122 XE_WARN_ON(!RB_EMPTY_ROOT(&tree->root.rb_root)); in xe_range_fence_tree_fini()
|
| /linux-6.15/tools/perf/tests/ |
| H A D | hists_cumulate.c | 144 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-6.15/fs/xfs/ |
| H A D | xfs_extent_busy.c | 657 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-6.15/block/ |
| H A D | bfq-iosched.c | 881 !RB_EMPTY_ROOT(&bfqd->queue_weights_tree.rb_root) && in bfq_asymmetric_scenario() 2417 if (RB_EMPTY_ROOT(&bfqq->sort_list)) { in bfq_remove_request() 2700 if (RB_EMPTY_ROOT(root)) in bfqq_find_close() 3930 if (RB_EMPTY_ROOT(&bfqq->sort_list) && in __bfq_bfqq_expire() 3950 !RB_EMPTY_ROOT(&bfqq->sort_list))) in __bfq_bfqq_expire() 4389 RB_EMPTY_ROOT(&bfqq->sort_list)) { in bfq_bfqq_expire() 4720 if (!RB_EMPTY_ROOT(&bfqq->sort_list) && in bfq_choose_bfqq_for_injection() 4766 if (!RB_EMPTY_ROOT(&bfqq->sort_list) && in bfq_find_active_bfqq_for_actuator() 5420 WARN_ON_ONCE(!RB_EMPTY_ROOT(&bfqq->sort_list)); in bfq_put_queue() 6444 RB_EMPTY_ROOT(&bfqq->sort_list) && in bfq_completed_request() [all …]
|
| H A D | bfq-wf2q.c | 661 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()
|
| H A D | mq-deadline.c | 354 BUG_ON(RB_EMPTY_ROOT(&per_prio->sort_list[DD_READ])); in __dd_dispatch_request() 371 BUG_ON(RB_EMPTY_ROOT(&per_prio->sort_list[DD_WRITE])); in __dd_dispatch_request()
|
| /linux-6.15/fs/ |
| H A D | mount.h | 175 return RB_EMPTY_ROOT(&ns->mounts); in mnt_ns_empty()
|
| /linux-6.15/fs/ntfs3/ |
| H A D | bitmap.c | 784 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() 1395 if (!RB_EMPTY_ROOT(&wnd->start_tree) && len) in wnd_zone_set()
|
| /linux-6.15/fs/ocfs2/ |
| H A D | reservations.c | 475 goal, wanted, RB_EMPTY_ROOT(root)); in __ocfs2_resv_find_window() 479 if (RB_EMPTY_ROOT(root)) { in __ocfs2_resv_find_window()
|
| /linux-6.15/tools/include/linux/ |
| H A D | rbtree.h | 39 #define RB_EMPTY_ROOT(root) (READ_ONCE((root)->rb_node) == NULL) macro
|
| /linux-6.15/drivers/iommu/iommufd/ |
| H A D | io_pagetable.c | 147 if (RB_EMPTY_ROOT(&iopt->allowed_itree.rb_root)) { in iopt_alloc_iova() 908 WARN_ON(!RB_EMPTY_ROOT(&iopt->reserved_itree.rb_root)); in iopt_destroy_table() 911 WARN_ON(!RB_EMPTY_ROOT(&iopt->area_itree.rb_root)); in iopt_destroy_table() 1371 !RB_EMPTY_ROOT(&iopt->area_itree.rb_root)) { in iopt_disable_large_pages()
|
| /linux-6.15/include/linux/ |
| H A D | rbtree.h | 30 #define RB_EMPTY_ROOT(root) (READ_ONCE((root)->rb_node) == NULL) macro
|
| H A D | kernfs.h | 387 WARN_ON_ONCE(!RB_EMPTY_ROOT(&kn->dir.children)); in kernfs_enable_ns()
|
| /linux-6.15/drivers/infiniband/sw/rxe/ |
| H A D | rxe.c | 32 WARN_ON(!RB_EMPTY_ROOT(&rxe->mcg_tree)); in rxe_dealloc()
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_gpusvm.c | 675 WARN_ON(!RB_EMPTY_ROOT(&gpusvm->root.rb_root)); in drm_gpusvm_fini() 721 WARN_ON(!RB_EMPTY_ROOT(¬ifier->root.rb_root)); in drm_gpusvm_notifier_free() 1197 if (RB_EMPTY_ROOT(¬ifier->root.rb_root)) { in drm_gpusvm_range_remove()
|