Searched refs:total_avail (Results 1 – 4 of 4) sorted by relevance
1028 u32 total_avail; member1360 log->total_avail = log->total_avail_pages >> log->page_bits; in log_create()1367 log->max_current_avail = log->total_avail * log->reserved; in log_create()1368 log->total_avail = log->total_avail * log->data_size; in log_create()2395 if (rec_len >= log->total_avail) in find_log_rec()4007 log->total_avail = log->total_avail_pages >> log->page_bits; in log_replay()4008 log->max_current_avail = log->total_avail * log->reserved; in log_replay()4009 log->total_avail = log->total_avail * log->data_size; in log_replay()
521 u64 total_avail; member
5043 if (di_a->total_avail > di_b->total_avail) in btrfs_cmp_device_info()5045 if (di_a->total_avail < di_b->total_avail) in btrfs_cmp_device_info()5185 u64 total_avail; in gather_device_info() local5209 total_avail = device->total_bytes - device->bytes_used; in gather_device_info()5211 total_avail = 0; in gather_device_info()5214 if (total_avail < ctl->dev_extent_min) in gather_device_info()5241 devices_info[ndevs].total_avail = total_avail; in gather_device_info()
1783 unsigned long avail, total_avail; in nfsd4_get_drc_mem() local1788 total_avail = nfsd_drc_max_mem - nfsd_drc_mem_used; in nfsd4_get_drc_mem()1795 total_avail = 0; in nfsd4_get_drc_mem()1796 avail = min((unsigned long)NFSD_MAX_MEM_PER_SESSION, total_avail); in nfsd4_get_drc_mem()1809 total_avail/scale_factor); in nfsd4_get_drc_mem()