Searched refs:total_avail (Results 1 – 3 of 3) sorted by relevance
336 u64 total_avail; member
4600 if (di_a->total_avail > di_b->total_avail) in btrfs_cmp_device_info()4602 if (di_a->total_avail < di_b->total_avail) in btrfs_cmp_device_info()4625 u64 total_avail; in __btrfs_alloc_chunk() local4717 total_avail = device->total_bytes - device->bytes_used; in __btrfs_alloc_chunk()4719 total_avail = 0; in __btrfs_alloc_chunk()4722 if (total_avail == 0) in __btrfs_alloc_chunk()4750 devices_info[ndevs].total_avail = total_avail; in __btrfs_alloc_chunk()
1533 unsigned long avail, total_avail; in nfsd4_get_drc_mem() local1536 total_avail = nfsd_drc_max_mem - nfsd_drc_mem_used; in nfsd4_get_drc_mem()1537 avail = min((unsigned long)NFSD_MAX_MEM_PER_SESSION, total_avail); in nfsd4_get_drc_mem()1542 avail = clamp_t(unsigned long, avail, slotsize, total_avail/3); in nfsd4_get_drc_mem()