Home
last modified time | relevance | path

Searched refs:avail_space (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Dsuper.c2039 u64 avail_space; in btrfs_calc_avail_data_space() local
2094 avail_space = device->total_bytes - device->bytes_used; in btrfs_calc_avail_data_space()
2097 avail_space = rounddown(avail_space, BTRFS_STRIPE_LEN); in btrfs_calc_avail_data_space()
2107 if (avail_space <= SZ_1M + min_stripe_size) in btrfs_calc_avail_data_space()
2110 avail_space -= SZ_1M; in btrfs_calc_avail_data_space()
2113 devices_info[i].max_avail = avail_space; in btrfs_calc_avail_data_space()
2124 avail_space = 0; in btrfs_calc_avail_data_space()
2132 avail_space += devices_info[i].max_avail * num_stripes; in btrfs_calc_avail_data_space()
2142 *free_bytes = avail_space; in btrfs_calc_avail_data_space()
/kernel/linux/linux-5.10/drivers/usb/atm/
Dusbatm.c456 u8 *target, unsigned int avail_space) in usbatm_write_cells() argument
463 for (bytes_written = 0; bytes_written < avail_space && ctrl->len; in usbatm_write_cells()