Searched refs:avail_space (Results 1 – 2 of 2) sorted by relevance
1602 u64 avail_space; in btrfs_calc_avail_data_space() local1653 avail_space = device->total_bytes - device->bytes_used; in btrfs_calc_avail_data_space()1656 avail_space = rounddown(avail_space, BTRFS_STRIPE_LEN); in btrfs_calc_avail_data_space()1662 if (avail_space <= BTRFS_DEVICE_RANGE_RESERVED + min_stripe_size) in btrfs_calc_avail_data_space()1665 avail_space -= BTRFS_DEVICE_RANGE_RESERVED; in btrfs_calc_avail_data_space()1668 devices_info[i].max_avail = avail_space; in btrfs_calc_avail_data_space()1679 avail_space = 0; in btrfs_calc_avail_data_space()1687 avail_space += devices_info[i].max_avail * num_stripes; in btrfs_calc_avail_data_space()1697 *free_bytes = avail_space; in btrfs_calc_avail_data_space()
1417 unsigned int avail_space; in mana_poll_tx_cq() local1499 avail_space = mana_gd_wq_avail_space(gdma_wq); in mana_poll_tx_cq()1510 if (txq_stopped && apc->port_is_up && avail_space >= MAX_TX_WQE_SIZE) { in mana_poll_tx_cq()