Searched refs:rebalance_weight (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/shared/ |
D | user-record.c | 88 .rebalance_weight = REBALANCE_WEIGHT_UNSET, in user_record_new() 989 uint64_t *rebalance_weight = userdata; in dispatch_rebalance_weight() local 992 assert_se(rebalance_weight); in dispatch_rebalance_weight() 995 *rebalance_weight = REBALANCE_WEIGHT_UNSET; in dispatch_rebalance_weight() 1000 …*rebalance_weight = json_variant_boolean(variant) ? REBALANCE_WEIGHT_DEFAULT : REBALANCE_WEIGHT_OF… in dispatch_rebalance_weight() 1009 *rebalance_weight = (uint64_t) u; in dispatch_rebalance_weight() 1011 *rebalance_weight = REBALANCE_WEIGHT_OFF; in dispatch_rebalance_weight() 1211 …INVALID, dispatch_rebalance_weight, offsetof(UserRecord, rebalance_weight), … in dispatch_per_machine() 1563 …INVALID, dispatch_rebalance_weight, offsetof(UserRecord, rebalance_weight), … in user_record_load() 1978 if (h->rebalance_weight == REBALANCE_WEIGHT_UNSET) in user_record_rebalance_weight() [all …]
|
D | user-record.h | 268 uint64_t rebalance_weight; member
|
D | user-record-show.c | 464 if (hr->rebalance_weight != REBALANCE_WEIGHT_UNSET) { in user_record_show()
|
/systemd-251/src/home/ |
D | homed-manager.c | 1870 h->rebalance_weight = user_record_rebalance_weight(h->record); in manager_rebalance_calculate() 1871 if (h->rebalance_weight > UINT64_MAX - weight_sum) in manager_rebalance_calculate() 1873 weight_sum += h->rebalance_weight; in manager_rebalance_calculate() 1905 assert(h->rebalance_weight <= weight_sum); in manager_rebalance_calculate() 1907 …d = ((double) (free_sum / 4096) * (double) h->rebalance_weight) / (double) weight_sum; /* Calculat… in manager_rebalance_calculate() 1918 weight_sum = LESS_BY(weight_sum, h->rebalance_weight); in manager_rebalance_calculate()
|
D | homed-home.h | 172 …uint64_t rebalance_size, rebalance_usage, rebalance_free, rebalance_min, rebalance_weight, rebalan… member
|
D | user-record-util.c | 1509 h->rebalance_weight = weight; in user_record_set_rebalance_weight()
|
D | homed-home.c | 1742 if (disk_size == UINT64_MAX && h->record->rebalance_weight != REBALANCE_WEIGHT_OFF) in home_resize()
|