Home
last modified time | relevance | path

Searched refs:total_avail (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/fs/btrfs/
Dvolumes.h336 u64 total_avail; member
Dvolumes.c4600 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() local
4717 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()
/linux-4.19.296/fs/nfsd/
Dnfs4state.c1533 unsigned long avail, total_avail; in nfsd4_get_drc_mem() local
1536 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()