Searched refs:total_avail (Results 1 – 3 of 3) sorted by relevance
354 u64 total_avail; member
4890 if (di_a->total_avail > di_b->total_avail) in btrfs_cmp_device_info()4892 if (di_a->total_avail < di_b->total_avail) in btrfs_cmp_device_info()4915 u64 total_avail; in __btrfs_alloc_chunk() local5007 total_avail = device->total_bytes - device->bytes_used; in __btrfs_alloc_chunk()5009 total_avail = 0; in __btrfs_alloc_chunk()5012 if (total_avail == 0) in __btrfs_alloc_chunk()5040 devices_info[ndevs].total_avail = total_avail; in __btrfs_alloc_chunk()
1575 unsigned long avail, total_avail; in nfsd4_get_drc_mem() local1580 total_avail = nfsd_drc_max_mem - nfsd_drc_mem_used; in nfsd4_get_drc_mem()1587 total_avail = 0; in nfsd4_get_drc_mem()1588 avail = min((unsigned long)NFSD_MAX_MEM_PER_SESSION, total_avail); in nfsd4_get_drc_mem()1601 total_avail/scale_factor); in nfsd4_get_drc_mem()