Home
last modified time | relevance | path

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

123

/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()
/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()
/fs/sdcardfs/
Dsuper.c91 if (buf->f_bavail > min_blocks) in sdcardfs_statfs()
92 buf->f_bavail -= min_blocks; in sdcardfs_statfs()
94 buf->f_bavail = 0; in sdcardfs_statfs()
97 buf->f_bfree = buf->f_bavail; in sdcardfs_statfs()
Dsdcardfs.h601 avail = statfs.f_bavail * statfs.f_bsize; in check_min_free_space()
/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()
/fs/xfs/
Dxfs_qm_bhv.c43 statp->f_bfree = statp->f_bavail = in xfs_fill_statvfs_from_dquot()
/fs/freevxfs/
Dvxfs_super.c117 bufp->f_bavail = 0; in vxfs_statfs()
/fs/btrfs/
Dsuper.c2041 buf->f_bavail = div_u64(total_free_data, factor); in btrfs_statfs()
2045 buf->f_bavail += div_u64(total_free_data, factor); in btrfs_statfs()
2046 buf->f_bavail = buf->f_bavail >> bits; in btrfs_statfs()
2072 buf->f_bavail = 0; in btrfs_statfs()
/fs/coda/
Dinode.c304 buf->f_bavail = 9000000; in coda_statfs()
Dupcall.c562 sfs->f_bavail = outp->coda_statfs.stat.f_bavail; in venus_statfs()
/fs/9p/
Dvfs_super.c262 buf->f_bavail = rs.bavail; in v9fs_statfs()
/fs/efs/
Dsuper.c342 buf->f_bavail = sbi->data_free; /* free blocks for non-root */ in efs_statfs()
/fs/sysv/
Dinode.c96 buf->f_bavail = buf->f_bfree = sysv_count_free_blocks(sb); in sysv_statfs()
/fs/qnx4/
Dinode.c137 buf->f_bavail = buf->f_bfree; in qnx4_statfs()
/fs/squashfs/
Dsuper.c364 buf->f_bfree = buf->f_bavail = 0; in squashfs_statfs()
/fs/afs/
Dsuper.c555 buf->f_bavail = buf->f_bfree = buf->f_blocks - vs.blocks_in_use; in afs_statfs()
/fs/hfs/
Dsuper.c104 buf->f_bavail = buf->f_bfree; in hfs_statfs()
/fs/ncpfs/
Dinode.c844 buf->f_bavail = vi.free_blocks; in ncp_statfs()
861 buf->f_bavail = 0; in ncp_statfs()
/fs/f2fs/
Dsuper.c1131 buf->f_bfree = buf->f_bavail = in f2fs_statfs_project()
1170 buf->f_bavail = buf->f_bfree - in f2fs_statfs()
1173 buf->f_bavail = 0; in f2fs_statfs()
1180 buf->f_ffree = buf->f_bavail; in f2fs_statfs()
1184 buf->f_bavail); in f2fs_statfs()
/fs/romfs/
Dsuper.c439 buf->f_bfree = buf->f_bavail = buf->f_ffree; in romfs_statfs()
/fs/cramfs/
Dinode.c359 buf->f_bavail = 0; in cramfs_statfs()
/fs/bfs/
Dinode.c230 buf->f_bfree = buf->f_bavail = info->si_freeb; in bfs_statfs()

123