Home
last modified time | relevance | path

Searched refs:rebalance (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/tools/include/linux/
Drbtree_augmented.h192 struct rb_node *parent, *rebalance; in __rb_erase_augmented() local
208 rebalance = NULL; in __rb_erase_augmented()
210 rebalance = __rb_is_black(pc) ? parent : NULL; in __rb_erase_augmented()
217 rebalance = NULL; in __rb_erase_augmented()
277 rebalance = NULL; in __rb_erase_augmented()
281 rebalance = __rb_is_black(pc2) ? parent : NULL; in __rb_erase_augmented()
287 return rebalance; in __rb_erase_augmented()
294 struct rb_node *rebalance = __rb_erase_augmented(node, root, augment); in rb_erase_augmented() local
295 if (rebalance) in rb_erase_augmented()
296 __rb_erase_color(rebalance, root, augment->rotate); in rb_erase_augmented()
/linux-6.12.1/include/linux/
Drbtree_augmented.h229 struct rb_node *parent, *rebalance; in __rb_erase_augmented() local
245 rebalance = NULL; in __rb_erase_augmented()
247 rebalance = __rb_is_black(pc) ? parent : NULL; in __rb_erase_augmented()
254 rebalance = NULL; in __rb_erase_augmented()
313 rebalance = NULL; in __rb_erase_augmented()
315 rebalance = rb_is_black(successor) ? parent : NULL; in __rb_erase_augmented()
322 return rebalance; in __rb_erase_augmented()
329 struct rb_node *rebalance = __rb_erase_augmented(node, root, augment); in rb_erase_augmented() local
330 if (rebalance) in rb_erase_augmented()
331 __rb_erase_color(rebalance, root, augment->rotate); in rb_erase_augmented()
/linux-6.12.1/fs/bcachefs/
Drebalance.c202 struct bch_fs_rebalance *r = &trans->c->rebalance; in do_rebalance_extent()
277 struct bch_fs_rebalance *r = &trans->c->rebalance; in do_rebalance_scan()
303 struct bch_fs_rebalance *r = &c->rebalance; in rebalance_wait()
326 struct bch_fs_rebalance *r = &c->rebalance; in do_rebalance()
392 struct bch_fs_rebalance *r = &c->rebalance; in bch2_rebalance_thread()
411 struct bch_fs_rebalance *r = &c->rebalance; in bch2_rebalance_status_to_text()
449 c->rebalance.pd.rate.rate = UINT_MAX; in bch2_rebalance_stop()
450 bch2_ratelimit_reset(&c->rebalance.pd.rate); in bch2_rebalance_stop()
452 p = rcu_dereference_protected(c->rebalance.thread, 1); in bch2_rebalance_stop()
453 c->rebalance.thread = NULL; in bch2_rebalance_stop()
[all …]
Dsysfs.c220 sysfs_pd_controller_attribute(rebalance);
344 sysfs_printf(rebalance_enabled, "%i", c->rebalance.enabled); in SHOW()
345 sysfs_pd_controller_show(rebalance, &c->rebalance.pd); /* XXX */ in SHOW()
431 ssize_t ret = strtoul_safe(buf, c->rebalance.enabled) in STORE()
438 sysfs_pd_controller_store(rebalance, &c->rebalance.pd); in STORE()
617 sysfs_pd_controller_files(rebalance),
Drebalance.h15 p = rcu_dereference(c->rebalance.thread); in rebalance_wakeup()
DMakefile71 rebalance.o \
Dextents.c1159 const struct bch_extent_rebalance *r = &entry->rebalance; in bch2_bkey_ptrs_to_text()
1317 const struct bch_extent_rebalance *r = &entry->rebalance; in bch2_bkey_ptrs_validate()
1401 return &entry->rebalance; in bch2_bkey_rebalance_opts()
1537 new->rebalance.type = 1U << BCH_EXTENT_ENTRY_rebalance; in bch2_bkey_set_needs_rebalance()
1538 new->rebalance.compression = compression; in bch2_bkey_set_needs_rebalance()
1539 new->rebalance.target = target; in bch2_bkey_set_needs_rebalance()
1540 new->rebalance.unused = 0; in bch2_bkey_set_needs_rebalance()
Dextents_format.h82 x(rebalance, 5)
Dbcachefs.h987 struct bch_fs_rebalance rebalance; member
Dsuper.c813 c->rebalance.enabled = 1; in bch2_fs_alloc()
/linux-6.12.1/tools/lib/
Drbtree.c440 struct rb_node *rebalance; in rb_erase() local
441 rebalance = __rb_erase_augmented(node, root, &dummy_callbacks); in rb_erase()
442 if (rebalance) in rb_erase()
443 ____rb_erase_color(rebalance, root, dummy_rotate); in rb_erase()
/linux-6.12.1/lib/
Drbtree.c442 struct rb_node *rebalance; in rb_erase() local
443 rebalance = __rb_erase_augmented(node, root, &dummy_callbacks); in rb_erase()
444 if (rebalance) in rb_erase()
445 ____rb_erase_color(rebalance, root, dummy_rotate); in rb_erase()
Dbtree.c535 static void rebalance(struct btree_head *head, struct btree_geo *geo, in rebalance() function
616 rebalance(head, geo, key, level, node, fill - 1); in btree_remove_level()
/linux-6.12.1/Documentation/translations/zh_CN/core-api/
Drbtree.rst128 /* Add new node and rebalance tree. */
/linux-6.12.1/Documentation/scheduler/
Dsched-domains.rst44 rebalance interval. If so, it runs sched_balance_rq() on that domain. It then checks
/linux-6.12.1/Documentation/core-api/
Drbtree.rst136 /* Add new node and rebalance tree. */
/linux-6.12.1/Documentation/admin-guide/cgroup-v1/
Dcpusets.rst286 /dev/cpuset/memory_pressure_enabled, the hook in the rebalance
/linux-6.12.1/Documentation/filesystems/xfs/
Dxfs-online-fsck-design.rst5098 `inode scan rebalance
5099 …s://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=scrub-iscan-rebalance>`_