Home
last modified time | relevance | path

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

/Linux-v6.6/fs/btrfs/
Dsuper.c1920 u64 avail_space; in btrfs_calc_avail_data_space() local
1971 avail_space = device->total_bytes - device->bytes_used; in btrfs_calc_avail_data_space()
1974 avail_space = rounddown(avail_space, BTRFS_STRIPE_LEN); in btrfs_calc_avail_data_space()
1980 if (avail_space <= BTRFS_DEVICE_RANGE_RESERVED + min_stripe_size) in btrfs_calc_avail_data_space()
1983 avail_space -= BTRFS_DEVICE_RANGE_RESERVED; in btrfs_calc_avail_data_space()
1986 devices_info[i].max_avail = avail_space; in btrfs_calc_avail_data_space()
1997 avail_space = 0; in btrfs_calc_avail_data_space()
2005 avail_space += devices_info[i].max_avail * num_stripes; in btrfs_calc_avail_data_space()
2015 *free_bytes = avail_space; in btrfs_calc_avail_data_space()
/Linux-v6.6/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()
/Linux-v6.6/drivers/net/ethernet/microsoft/mana/
Dmana_en.c1357 unsigned int avail_space; in mana_poll_tx_cq() local
1439 avail_space = mana_gd_wq_avail_space(gdma_wq); in mana_poll_tx_cq()
1450 if (txq_stopped && apc->port_is_up && avail_space >= MAX_TX_WQE_SIZE) { in mana_poll_tx_cq()