Searched refs:avail_space (Results 1 – 3 of 3) sorted by relevance
2217 u64 avail_space; in btrfs_calc_avail_data_space() local2268 avail_space = device->total_bytes - device->bytes_used; in btrfs_calc_avail_data_space()2271 avail_space = rounddown(avail_space, BTRFS_STRIPE_LEN); in btrfs_calc_avail_data_space()2277 if (avail_space <= BTRFS_DEVICE_RANGE_RESERVED + min_stripe_size) in btrfs_calc_avail_data_space()2280 avail_space -= BTRFS_DEVICE_RANGE_RESERVED; in btrfs_calc_avail_data_space()2283 devices_info[i].max_avail = avail_space; in btrfs_calc_avail_data_space()2294 avail_space = 0; in btrfs_calc_avail_data_space()2302 avail_space += devices_info[i].max_avail * num_stripes; in btrfs_calc_avail_data_space()2312 *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()
965 unsigned int avail_space; in mana_poll_tx_cq() local1041 avail_space = mana_gd_wq_avail_space(gdma_wq); in mana_poll_tx_cq()1052 if (txq_stopped && apc->port_is_up && avail_space >= MAX_TX_WQE_SIZE) { in mana_poll_tx_cq()