Searched refs:avail_space (Results 1 – 3 of 3) sorted by relevance
1920 u64 avail_space; in btrfs_calc_avail_data_space() local1971 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()
456 u8 *target, unsigned int avail_space) in usbatm_write_cells() argument463 for (bytes_written = 0; bytes_written < avail_space && ctrl->len; in usbatm_write_cells()
1357 unsigned int avail_space; in mana_poll_tx_cq() local1439 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()