Searched refs:rebalance (Results 1 - 13 of 13) sorted by relevance

/linux-master/fs/bcachefs/
H A Drebalance.h15 p = rcu_dereference(c->rebalance.thread);
H A Drebalance.c17 #include "rebalance.h"
198 struct bch_fs_rebalance *r = &trans->c->rebalance;
272 struct bch_fs_rebalance *r = &trans->c->rebalance;
298 struct bch_fs_rebalance *r = &c->rebalance;
321 struct bch_fs_rebalance *r = &c->rebalance;
385 struct bch_fs_rebalance *r = &c->rebalance;
404 struct bch_fs_rebalance *r = &c->rebalance;
442 c->rebalance.pd.rate.rate = UINT_MAX;
443 bch2_ratelimit_reset(&c->rebalance.pd.rate);
445 p = rcu_dereference_protected(c->rebalance
[all...]
H A DMakefile70 rebalance.o \
H A Dsysfs.c34 #include "rebalance.h"
218 sysfs_pd_controller_attribute(rebalance); variable
402 sysfs_printf(rebalance_enabled, "%i", c->rebalance.enabled);
403 sysfs_pd_controller_show(rebalance, &c->rebalance.pd); /* XXX */
487 ssize_t ret = strtoul_safe(buf, c->rebalance.enabled)
494 sysfs_pd_controller_store(rebalance, &c->rebalance.pd);
673 sysfs_pd_controller_files(rebalance),
H A Dextents_format.h82 x(rebalance, 5)
H A Dextents.c1050 const struct bch_extent_rebalance *r = &entry->rebalance;
1052 prt_str(out, "rebalance: target ");
1209 const struct bch_extent_rebalance *r = &entry->rebalance;
1289 return &entry->rebalance;
1337 * If it's an indirect extent, we don't delete the rebalance entry when
1361 /* get existing rebalance entry: */
1386 new->rebalance.type = 1U << BCH_EXTENT_ENTRY_rebalance;
1387 new->rebalance.compression = compression;
1388 new->rebalance.target = target;
1389 new->rebalance
[all...]
H A Dbcachefs.h1015 struct bch_fs_rebalance rebalance; member in struct:bch_fs
H A Dsuper.c48 #include "rebalance.h"
246 * - foreground writes depend on copygc and rebalance (to free up space)
248 * - copygc and rebalance depend on mark and sweep gc (they actually probably
422 * Ideally we'd start copygc/rebalance earlier instead of waiting for
433 bch_err(c, "error starting rebalance thread");
821 c->rebalance.enabled = 1;
/linux-master/tools/include/linux/
H A Drbtree_augmented.h192 struct rb_node *parent, *rebalance; local
208 rebalance = NULL;
210 rebalance = __rb_is_black(pc) ? parent : NULL;
217 rebalance = NULL;
277 rebalance = NULL;
281 rebalance = __rb_is_black(pc2) ? parent : NULL;
287 return rebalance;
294 struct rb_node *rebalance = __rb_erase_augmented(node, root, augment); local
295 if (rebalance)
296 __rb_erase_color(rebalance, roo
[all...]
/linux-master/include/linux/
H A Drbtree_augmented.h229 struct rb_node *parent, *rebalance; local
245 rebalance = NULL;
247 rebalance = __rb_is_black(pc) ? parent : NULL;
254 rebalance = NULL;
313 rebalance = NULL;
315 rebalance = rb_is_black(successor) ? parent : NULL;
322 return rebalance;
329 struct rb_node *rebalance = __rb_erase_augmented(node, root, augment); local
330 if (rebalance)
331 __rb_erase_color(rebalance, roo
[all...]
/linux-master/tools/lib/
H A Drbtree.c440 struct rb_node *rebalance; local
441 rebalance = __rb_erase_augmented(node, root, &dummy_callbacks);
442 if (rebalance)
443 ____rb_erase_color(rebalance, root, dummy_rotate);
/linux-master/lib/
H A Drbtree.c442 struct rb_node *rebalance; local
443 rebalance = __rb_erase_augmented(node, root, &dummy_callbacks);
444 if (rebalance)
445 ____rb_erase_color(rebalance, root, dummy_rotate);
H A Dbtree.c536 static void rebalance(struct btree_head *head, struct btree_geo *geo, function
617 rebalance(head, geo, key, level, node, fill - 1);

Completed in 206 milliseconds