Searched refs:RB_EMPTY_ROOT (Results 1 – 25 of 90) sorted by relevance
1234
49 return !RB_EMPTY_ROOT(&lock->waiters.rb_root); in rt_mutex_has_waiters()67 return !RB_EMPTY_ROOT(&p->pi_waiters.rb_root); in task_has_pi_waiters()
62 DEBUG_LOCKS_WARN_ON(!RB_EMPTY_ROOT(&task->pi_waiters.rb_root)); in rt_mutex_debug_task_free()
70 return !RB_EMPTY_ROOT(&head->rb_root.rb_root); in timerqueue_del()
195 if (!RB_EMPTY_ROOT(&p->volumes)) in afs_query_for_alias_one()246 if (RB_EMPTY_ROOT(&p->volumes)) in afs_query_for_alias()
105 return RB_EMPTY_ROOT(&string_tree); in ceph_strings_empty()
205 while (!RB_EMPTY_ROOT(root)) { in clear_crush_names()251 while (!RB_EMPTY_ROOT(&c->choose_args)) { in clear_choose_args()1135 while (!RB_EMPTY_ROOT(&map->pg_temp)) { in ceph_osdmap_destroy()1142 while (!RB_EMPTY_ROOT(&map->primary_temp)) { in ceph_osdmap_destroy()1149 while (!RB_EMPTY_ROOT(&map->pg_upmap)) { in ceph_osdmap_destroy()1156 while (!RB_EMPTY_ROOT(&map->pg_upmap_items)) { in ceph_osdmap_destroy()1163 while (!RB_EMPTY_ROOT(&map->pg_pools)) { in ceph_osdmap_destroy()1769 WARN_ON(!RB_EMPTY_ROOT(&map->pg_upmap)); in osdmap_decode()1770 WARN_ON(!RB_EMPTY_ROOT(&map->pg_upmap_items)); in osdmap_decode()2962 while (!RB_EMPTY_ROOT(locs)) { in ceph_clear_crush_locs()
1214 WARN_ON(!RB_EMPTY_ROOT(&osd->o_requests)); in osd_cleanup()1215 WARN_ON(!RB_EMPTY_ROOT(&osd->o_linger_requests)); in osd_cleanup()1216 WARN_ON(!RB_EMPTY_ROOT(&osd->o_backoff_mappings)); in osd_cleanup()1217 WARN_ON(!RB_EMPTY_ROOT(&osd->o_backoffs_by_id)); in osd_cleanup()1286 if (RB_EMPTY_ROOT(&osd->o_requests) && in maybe_move_osd_to_lru()1287 RB_EMPTY_ROOT(&osd->o_linger_requests)) in maybe_move_osd_to_lru()1354 if (RB_EMPTY_ROOT(&osd->o_requests) && in reopen_osd()1355 RB_EMPTY_ROOT(&osd->o_linger_requests)) { in reopen_osd()1690 WARN_ON(!RB_EMPTY_ROOT(&spg->backoffs)); in free_spg_mapping()1931 while (!RB_EMPTY_ROOT(&osd->o_backoff_mappings)) { in DEFINE_RB_FUNCS()[all …]
39 #define RB_EMPTY_ROOT(root) (READ_ONCE((root)->rb_node) == NULL) macro
40 #define RB_EMPTY_ROOT(root) (READ_ONCE((root)->rb_node) == NULL) macro
331 WARN_ON_ONCE(!RB_EMPTY_ROOT(&kn->dir.children)); in kernfs_enable_ns()
140 while (!RB_EMPTY_ROOT(&root_out->rb_root)) { in del_hist_entries()224 TEST_ASSERT_VAL("callchains expected", !RB_EMPTY_ROOT(root)); in do_test()
453 if (!RB_EMPTY_ROOT(tree)) { in table_seq_start()485 if (!RB_EMPTY_ROOT(tree)) { in table_seq_start()550 if (!RB_EMPTY_ROOT(tree)) { in table_seq_next()
693 !RB_EMPTY_ROOT(&bfqd->queue_weights_tree.rb_root) && in bfq_asymmetric_scenario()1876 if (RB_EMPTY_ROOT(&bfqq->sort_list) && bfq_bfqq_sync(bfqq)) { in bfq_add_request()2174 if (RB_EMPTY_ROOT(&bfqq->sort_list)) { in bfq_remove_request()2418 if (RB_EMPTY_ROOT(root)) in bfqq_find_close()2733 if (bfq_bfqq_busy(bfqq) && RB_EMPTY_ROOT(&bfqq->sort_list) && in bfq_release_process_ref()3486 if (RB_EMPTY_ROOT(&bfqq->sort_list) && in __bfq_bfqq_expire()3506 !RB_EMPTY_ROOT(&bfqq->sort_list))) in __bfq_bfqq_expire()3950 RB_EMPTY_ROOT(&bfqq->sort_list)) { in bfq_bfqq_expire()4231 return RB_EMPTY_ROOT(&bfqq->sort_list) && bfq_better_to_idle(bfqq); in bfq_bfqq_must_idle()4293 if (!RB_EMPTY_ROOT(&bfqq->sort_list) && in bfq_choose_bfqq_for_injection()[all …]
678 if (RB_EMPTY_ROOT(&st->active) && last_idle && in bfq_forget_idle()1406 if (RB_EMPTY_ROOT(&st->active)) in __bfq_lookup_next_entity()1459 if (!RB_EMPTY_ROOT(&idle_class_st->active)) in bfq_lookup_next_entity()
303 BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[READ])); in __dd_dispatch_request()320 BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[WRITE])); in __dd_dispatch_request()
479 goal, wanted, RB_EMPTY_ROOT(root)); in __ocfs2_resv_find_window()483 if (RB_EMPTY_ROOT(root)) { in __ocfs2_resv_find_window()
468 WARN_ON(!RB_EMPTY_ROOT(&vmw_bo->res_tree)); in vmw_bo_bo_free()485 WARN_ON(!RB_EMPTY_ROOT(&vbo->res_tree)); in vmw_user_bo_destroy()
256 return !RB_EMPTY_ROOT(&dso->symbols.rb_root); in dso__has_symbols()
371 while (!RB_EMPTY_ROOT(&env->cgroups.tree)) { in perf_env__purge_cgroups()
181 if (!RB_EMPTY_ROOT(&obj->mmo.offsets)) { in __i915_gem_object_free_mmaps()
80 BUG_ON(RB_EMPTY_ROOT(&fscache_object_list)); in fscache_objlist_remove()
630 if (RB_EMPTY_ROOT(&pag->pagb_tree)) in xfs_extent_busy_wait_all()
184 while (!RB_EMPTY_ROOT(&mdsc->quotarealms_inodes)) { in ceph_cleanup_quotarealms_inodes()
349 WARN_ON(!RB_EMPTY_ROOT(&map->root)); in cgroup_storage_map_free()
18 while (!RB_EMPTY_ROOT(&em_tree->map.rb_root)) { in free_extent_map_tree()