Home
last modified time | relevance | path

Searched refs:f_bavail (Results 1 – 76 of 76) sorted by relevance

/linux-4.1.27/arch/mips/include/uapi/asm/
Dstatfs.h31 long f_bavail; member
54 __u64 f_bavail; member
73 long f_bavail; member
91 __u64 f_bavail; member
/linux-4.1.27/include/uapi/asm-generic/
Dstatfs.h27 __statfs_word f_bavail; member
50 __u64 f_bavail; member
73 __u64 f_bavail; member
/linux-4.1.27/arch/s390/include/uapi/asm/
Dstatfs.h25 unsigned long f_bavail; member
40 unsigned long long f_bavail; member
/linux-4.1.27/fs/
Dstatfs.c114 if ((st->f_blocks | st->f_bfree | st->f_bavail | in do_statfs_native()
134 buf.f_bavail = st->f_bavail; in do_statfs_native()
158 buf.f_bavail = st->f_bavail; in do_statfs64()
Dcompat.c216 if ((kbuf->f_blocks | kbuf->f_bfree | kbuf->f_bavail | in put_compat_statfs()
233 __put_user(kbuf->f_bavail, &ubuf->f_bavail) || in put_compat_statfs()
271 if ((kbuf->f_blocks | kbuf->f_bfree | kbuf->f_bavail | in put_compat_statfs64()
288 __put_user(kbuf->f_bavail, &ubuf->f_bavail) || in put_compat_statfs64()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dstatfs_pack.c55 osfs->os_bavail = sfs->f_bavail; in statfs_pack()
69 sfs->f_bavail = osfs->os_bavail; in statfs_unpack()
/linux-4.1.27/fs/cachefiles/
Ddaemon.c704 stats.f_bavail >>= cache->bshift; in cachefiles_has_space()
716 if (stats.f_bavail > bnr) in cachefiles_has_space()
717 stats.f_bavail -= bnr; in cachefiles_has_space()
719 stats.f_bavail = 0; in cachefiles_has_space()
723 stats.f_bavail < cache->bstop) in cachefiles_has_space()
728 stats.f_bavail < cache->bcull) in cachefiles_has_space()
733 stats.f_bavail >= cache->brun && in cachefiles_has_space()
Dbind.c168 (unsigned long long) stats.f_bavail); in cachefiles_daemon_add_cache()
/linux-4.1.27/include/linux/
Dstatfs.h12 u64 f_bavail; member
/linux-4.1.27/arch/s390/include/asm/
Dcompat.h155 u32 f_bavail; member
170 u64 f_bavail; member
/linux-4.1.27/fs/xfs/
Dxfs_qm_bhv.c43 statp->f_bfree = statp->f_bavail = in xfs_fill_statvfs_from_dquot()
Dxfs_super.c1077 statp->f_bavail = statp->f_bfree; in xfs_fs_statfs()
/linux-4.1.27/arch/alpha/kernel/
Dosf_sys.c238 int f_bavail; member
267 long f_bavail; member
310 tmp_stat.f_bavail = linux_stat->f_bavail; in linux_to_osf_statfs()
330 tmp_stat.f_bavail = linux_stat->f_bavail; in linux_to_osf_statfs64()
/linux-4.1.27/fs/hostfs/
Dhostfs_kern.c203 long long f_bavail; in hostfs_statfs() local
208 &sf->f_bsize, &f_blocks, &f_bfree, &f_bavail, &f_files, in hostfs_statfs()
215 sf->f_bavail = f_bavail; in hostfs_statfs()
Dhostfs_user.c401 *bavail_out = buf.f_bavail; in do_statfs()
/linux-4.1.27/fs/freevxfs/
Dvxfs_super.c117 bufp->f_bavail = 0; in vxfs_statfs()
/linux-4.1.27/kernel/
Dacct.c112 if (sbuf.f_bavail <= suspend) { in check_free_space()
119 if (sbuf.f_bavail >= resume) { in check_free_space()
/linux-4.1.27/arch/sparc/include/asm/
Dcompat.h132 int f_bavail; member
/linux-4.1.27/arch/powerpc/include/asm/
Dcompat.h102 int f_bavail; member
/linux-4.1.27/arch/mips/include/asm/
Dcompat.h112 int f_bavail; member
/linux-4.1.27/arch/arm64/include/asm/
Dcompat.h134 int f_bavail; member
/linux-4.1.27/arch/parisc/include/asm/
Dcompat.h104 s32 f_bavail; member
/linux-4.1.27/arch/x86/include/asm/
Dcompat.h108 int f_bavail; member
/linux-4.1.27/fs/btrfs/
Dsuper.c1887 buf->f_bavail = div_u64(total_free_data, factor); in btrfs_statfs()
1891 buf->f_bavail += div_u64(total_free_data, factor); in btrfs_statfs()
1892 buf->f_bavail = buf->f_bavail >> bits; in btrfs_statfs()
1910 buf->f_bavail = 0; in btrfs_statfs()
/linux-4.1.27/fs/coda/
Dinode.c304 buf->f_bavail = 9000000; in coda_statfs()
Dupcall.c563 sfs->f_bavail = outp->coda_statfs.stat.f_bavail; in venus_statfs()
/linux-4.1.27/fs/9p/
Dvfs_super.c266 buf->f_bavail = rs.bavail; in v9fs_statfs()
/linux-4.1.27/fs/efs/
Dsuper.c342 buf->f_bavail = sbi->data_free; /* free blocks for non-root */ in efs_statfs()
/linux-4.1.27/include/uapi/linux/
Dcoda.h239 int32_t f_bavail; member
/linux-4.1.27/fs/qnx4/
Dinode.c137 buf->f_bavail = buf->f_bfree; in qnx4_statfs()
/linux-4.1.27/fs/sysv/
Dinode.c96 buf->f_bavail = buf->f_bfree = sysv_count_free_blocks(sb); in sysv_statfs()
/linux-4.1.27/fs/hfs/
Dsuper.c103 buf->f_bavail = buf->f_bfree; in hfs_statfs()
/linux-4.1.27/fs/squashfs/
Dsuper.c363 buf->f_bfree = buf->f_bavail = 0; in squashfs_statfs()
/linux-4.1.27/fs/afs/
Dsuper.c555 buf->f_bavail = buf->f_bfree = buf->f_blocks - vs.blocks_in_use; in afs_statfs()
/linux-4.1.27/fs/ncpfs/
Dinode.c844 buf->f_bavail = vi.free_blocks; in ncp_statfs()
861 buf->f_bavail = 0; in ncp_statfs()
/linux-4.1.27/fs/romfs/
Dsuper.c423 buf->f_bfree = buf->f_bavail = buf->f_ffree; in romfs_statfs()
/linux-4.1.27/fs/cramfs/
Dinode.c358 buf->f_bavail = 0; in cramfs_statfs()
/linux-4.1.27/fs/bfs/
Dinode.c230 buf->f_bfree = buf->f_bavail = info->si_freeb; in bfs_statfs()
/linux-4.1.27/fs/adfs/
Dsuper.c231 buf->f_bavail = in adfs_statfs()
/linux-4.1.27/fs/affs/
Dsuper.c590 buf->f_bavail = free; in affs_statfs()
/linux-4.1.27/fs/omfs/
Dinode.c286 buf->f_bfree = buf->f_bavail = buf->f_ffree = in omfs_statfs()
/linux-4.1.27/fs/nfsd/
Dnfsxdr.c492 *p++ = htonl(stat->f_bavail); in nfssvc_encode_statfsres()
Dnfs3xdr.c1028 p = xdr_encode_hyper(p, bs * s->f_bavail); /* user available bytes */ in nfs3svc_encode_fsstatres()
Dnfs4xdr.c2652 dummy64 = (u64)statfs.f_bavail * (u64)statfs.f_bsize; in nfsd4_encode_fattr()
/linux-4.1.27/fs/qnx6/
Dinode.c167 buf->f_bavail = buf->f_bfree; in qnx6_statfs()
/linux-4.1.27/fs/hpfs/
Dsuper.c191 buf->f_bavail = sbi->sb_n_free; in hpfs_statfs()
/linux-4.1.27/fs/hfsplus/
Dsuper.c315 buf->f_bavail = buf->f_bfree; in hfsplus_statfs()
/linux-4.1.27/fs/logfs/
Dsuper.c106 stats->f_bavail = super->s_free_bytes >> sb->s_blocksize_bits; in logfs_statfs()
/linux-4.1.27/fs/ext2/
Dsuper.c1415 buf->f_bavail = buf->f_bfree - le32_to_cpu(es->s_r_blocks_count); in ext2_statfs()
1417 buf->f_bavail = 0; in ext2_statfs()
/linux-4.1.27/fs/minix/
Dinode.c365 buf->f_bavail = buf->f_bfree; in minix_statfs()
/linux-4.1.27/fs/hppfs/
Dhppfs.c592 sf->f_bavail = 0; in hppfs_statfs()
/linux-4.1.27/fs/jffs2/
Dfs.c229 buf->f_bavail = buf->f_bfree = avail >> PAGE_SHIFT; in jffs2_statfs()
/linux-4.1.27/fs/befs/
Dlinuxvfs.c915 buf->f_bavail = buf->f_bfree; in befs_statfs()
/linux-4.1.27/fs/ceph/
Dsuper.c74 buf->f_bavail = le64_to_cpu(st.kb_avail) >> (CEPH_BLOCK_SHIFT-10); in ceph_statfs()
/linux-4.1.27/fs/jfs/
Dsuper.c160 buf->f_bavail = sbi->bmap->db_nfree; in jfs_statfs()
/linux-4.1.27/fs/exofs/
Dsuper.c930 buf->f_bavail = buf->f_bfree; in exofs_statfs()
/linux-4.1.27/fs/ubifs/
Dsuper.c407 buf->f_bavail = (free - c->report_rp_size) >> UBIFS_BLOCK_SHIFT; in ubifs_statfs()
409 buf->f_bavail = 0; in ubifs_statfs()
/linux-4.1.27/fs/hugetlbfs/
Dinode.c605 buf->f_bavail = buf->f_bfree = free_pages; in hugetlbfs_statfs()
/linux-4.1.27/fs/f2fs/
Dsuper.c560 buf->f_bavail = user_block_count - valid_user_blocks(sbi); in f2fs_statfs()
/linux-4.1.27/fs/fuse/
Dinode.c401 stbuf->f_bavail = attr->bavail; in convert_fuse_statfs()
/linux-4.1.27/fs/isofs/
Dinode.c977 buf->f_bavail = 0; in isofs_statfs()
/linux-4.1.27/fs/nilfs2/
Dsuper.c669 buf->f_bavail = (buf->f_bfree >= nrsvblocks) ? in nilfs_statfs()
/linux-4.1.27/fs/ext3/
Dsuper.c2849 buf->f_bavail = buf->f_bfree - le32_to_cpu(es->s_r_blocks_count); in ext3_statfs()
2851 buf->f_bavail = 0; in ext3_statfs()
/linux-4.1.27/fs/gfs2/
Dsuper.c1195 buf->f_bavail = sc.sc_free; in gfs2_statfs()
/linux-4.1.27/fs/cifs/
Dcifssmb.c5061 FSData->f_bfree = FSData->f_bavail = in SMBOldQFSInfo()
5141 FSData->f_bfree = FSData->f_bavail = in CIFSSMBQFSInfo()
5507 FSData->f_bavail = FSData->f_bfree; in CIFSSMBQFSPosixInfo()
5509 FSData->f_bavail = in CIFSSMBQFSPosixInfo()
Dsmb2pdu.c2503 kst->f_bavail = le64_to_cpu(pfs_inf->CallerAvailableAllocationUnits); in copy_fs_info_to_kstatfs()
/linux-4.1.27/fs/ufs/
Dsuper.c1408 buf->f_bavail = (buf->f_bfree > (((long)buf->f_blocks / 100) * uspi->s_minfree)) in ufs_statfs()
/linux-4.1.27/fs/fat/
Dinode.c732 buf->f_bavail = sbi->free_clusters; in fat_statfs()
/linux-4.1.27/fs/reiserfs/
Dsuper.c2204 buf->f_bavail = buf->f_bfree; in reiserfs_statfs()
/linux-4.1.27/fs/udf/
Dsuper.c2337 buf->f_bavail = buf->f_bfree; in udf_statfs()
/linux-4.1.27/fs/ocfs2/
Dsuper.c1703 buf->f_bavail = buf->f_bfree; in ocfs2_statfs()
/linux-4.1.27/fs/ntfs/
Dsuper.c2642 sfs->f_bavail = sfs->f_bfree = size; in ntfs_statfs()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_lib.c1579 sfs->f_bavail = osfs.os_bavail; in ll_statfs()
/linux-4.1.27/fs/nfs/
Dsuper.c478 buf->f_bavail = (res.abytes + blockres) >> blockbits; in nfs_statfs()
/linux-4.1.27/fs/ext4/
Dsuper.c5149 buf->f_bavail = buf->f_bfree - in ext4_statfs()
5152 buf->f_bavail = 0; in ext4_statfs()
/linux-4.1.27/mm/
Dshmem.c2188 buf->f_bavail = in shmem_statfs()