Home
last modified time | relevance | path

Searched refs:max_avail (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/btrfs/
Dsuper.c2187 if (dev_info1->max_avail > dev_info2->max_avail) in btrfs_cmp_device_free_bytes()
2189 else if (dev_info1->max_avail < dev_info2->max_avail) in btrfs_cmp_device_free_bytes()
2283 devices_info[i].max_avail = avail_space; in btrfs_calc_avail_data_space()
2298 if (devices_info[i].max_avail >= min_stripe_size) { in btrfs_calc_avail_data_space()
2302 avail_space += devices_info[i].max_avail * num_stripes; in btrfs_calc_avail_data_space()
2303 alloc_size = devices_info[i].max_avail; in btrfs_calc_avail_data_space()
2305 devices_info[j].max_avail -= alloc_size; in btrfs_calc_avail_data_space()
Dvolumes.h520 u64 max_avail; member
670 u64 *start, u64 *max_avail);
Dvolumes.c5039 if (di_a->max_avail > di_b->max_avail) in btrfs_cmp_device_info()
5041 if (di_a->max_avail < di_b->max_avail) in btrfs_cmp_device_info()
5189 u64 max_avail; in gather_device_info() local
5218 &max_avail); in gather_device_info()
5223 max_avail = dev_extent_want; in gather_device_info()
5225 if (max_avail < ctl->dev_extent_min) { in gather_device_info()
5229 __func__, device->devid, max_avail, in gather_device_info()
5240 devices_info[ndevs].max_avail = max_avail; in gather_device_info()
5269 ctl->stripe_size = div_u64(devices_info[ctl->ndevs - 1].max_avail, in decide_stripe_size_regular()
5314 ASSERT(devices_info[ctl->ndevs - 1].max_avail == ctl->dev_extent_min); in decide_stripe_size_zoned()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/
Dsge.c228 unsigned int max_avail; /* max bits to be sent to any port */ member
315 s->max_avail = max(4096U, p->mtu + 16 + 14 + 4); in t1_sched_update_parms()
318 s->max_avail = 16384; in t1_sched_update_parms()
324 p->speed, s->max_avail, max_avail_segs, in t1_sched_update_parms()
341 s->max_avail = val;
409 p->avail = min(p->avail + delta_avail, s->max_avail); in sched_update_avail()