Home
last modified time | relevance | path

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

123

/fs/cachefiles/
Dbind.c167 (unsigned long long) stats.f_blocks, in cachefiles_daemon_add_cache()
181 stats.f_blocks >>= cache->bshift; in cachefiles_daemon_add_cache()
182 do_div(stats.f_blocks, 100); in cachefiles_daemon_add_cache()
183 cache->bstop = stats.f_blocks * cache->bstop_percent; in cachefiles_daemon_add_cache()
184 cache->bcull = stats.f_blocks * cache->bcull_percent; in cachefiles_daemon_add_cache()
185 cache->brun = stats.f_blocks * cache->brun_percent; in cachefiles_daemon_add_cache()
/fs/xfs/
Dxfs_qm_bhv.c41 if (limit && statp->f_blocks > limit) { in xfs_fill_statvfs_from_dquot()
42 statp->f_blocks = limit; in xfs_fill_statvfs_from_dquot()
44 (statp->f_blocks > dqp->q_res_bcount) ? in xfs_fill_statvfs_from_dquot()
45 (statp->f_blocks - dqp->q_res_bcount) : 0; in xfs_fill_statvfs_from_dquot()
/fs/
Dstatfs.c113 if (sizeof buf.f_blocks == 4) { in do_statfs_native()
114 if ((st->f_blocks | st->f_bfree | st->f_bavail | in do_statfs_native()
132 buf.f_blocks = st->f_blocks; in do_statfs_native()
156 buf.f_blocks = st->f_blocks; in do_statfs64()
Dcompat.c215 if (sizeof ubuf->f_blocks == 4) { in put_compat_statfs()
216 if ((kbuf->f_blocks | kbuf->f_bfree | kbuf->f_bavail | in put_compat_statfs()
231 __put_user(kbuf->f_blocks, &ubuf->f_blocks) || in put_compat_statfs()
270 if (sizeof ubuf->f_blocks == 4) { in put_compat_statfs64()
271 if ((kbuf->f_blocks | kbuf->f_bfree | kbuf->f_bavail | in put_compat_statfs64()
286 __put_user(kbuf->f_blocks, &ubuf->f_blocks) || in put_compat_statfs64()
/fs/lockd/
Dsvcsubs.c111 INIT_LIST_HEAD(&file->f_blocks); in nlm_lookup_file()
231 if (file->f_count || !list_empty(&file->f_blocks) || file->f_shares) in nlm_file_inuse()
275 if (list_empty(&file->f_blocks) && !file->f_locks in nlm_traverse_files()
Dsvclock.c251 list_add(&block->b_flist, &file->f_blocks); in nlmsvc_create_block()
318 list_for_each_entry_safe(block, next, &file->f_blocks, b_flist) { in nlmsvc_traverse_blocks()
/fs/afs/
Dsuper.c552 buf->f_blocks = vs.part_max_blocks; in afs_statfs()
554 buf->f_blocks = vs.max_quota; in afs_statfs()
555 buf->f_bavail = buf->f_bfree = buf->f_blocks - vs.blocks_in_use; in afs_statfs()
/fs/hostfs/
Dhostfs_kern.c201 long long f_blocks; in hostfs_statfs() local
208 &sf->f_bsize, &f_blocks, &f_bfree, &f_bavail, &f_files, in hostfs_statfs()
213 sf->f_blocks = f_blocks; in hostfs_statfs()
Dhostfs_user.c399 *blocks_out = buf.f_blocks; in do_statfs()
/fs/freevxfs/
Dvxfs_super.c115 bufp->f_blocks = infp->vsi_raw->vs_dsize; in vxfs_statfs()
/fs/adfs/
Dsuper.c229 buf->f_blocks = sbi->s_size; in adfs_statfs()
233 buf->f_ffree = (long)(buf->f_bfree * buf->f_files) / (long)buf->f_blocks; in adfs_statfs()
/fs/sdcardfs/
Dsuper.c89 buf->f_blocks -= min_blocks; in sdcardfs_statfs()
/fs/coda/
Dinode.c302 buf->f_blocks = 9000000; in coda_statfs()
Dupcall.c560 sfs->f_blocks = outp->coda_statfs.stat.f_blocks; in venus_statfs()
/fs/ufs/
Dsuper.c1388 buf->f_blocks = fs64_to_cpu(sb, usb3->fs_un1.fs_u2.fs_dsize); in ufs_statfs()
1391 buf->f_blocks = uspi->s_dsize; in ufs_statfs()
1397 buf->f_bavail = (buf->f_bfree > (((long)buf->f_blocks / 100) * uspi->s_minfree)) in ufs_statfs()
1398 ? (buf->f_bfree - (((long)buf->f_blocks / 100) * uspi->s_minfree)) : 0; in ufs_statfs()
/fs/9p/
Dvfs_super.c260 buf->f_blocks = rs.blocks; in v9fs_statfs()
/fs/efs/
Dsuper.c339 buf->f_blocks = sbi->total_groups * /* total data blocks */ in efs_statfs()
/fs/sysv/
Dinode.c95 buf->f_blocks = sbi->s_ndatazones; in sysv_statfs()
/fs/qnx4/
Dinode.c135 buf->f_blocks = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size) * 8; in qnx4_statfs()
/fs/squashfs/
Dsuper.c363 buf->f_blocks = ((msblk->bytes_used - 1) >> msblk->block_log) + 1; in squashfs_statfs()
/fs/hfs/
Dsuper.c102 buf->f_blocks = (u32)HFS_SB(sb)->fs_ablocks * HFS_SB(sb)->fs_div; in hfs_statfs()
/fs/ncpfs/
Dinode.c842 buf->f_blocks = vi.total_blocks; in ncp_statfs()
859 buf->f_blocks = 0; in ncp_statfs()
/fs/f2fs/
Dsuper.c1128 if (limit && buf->f_blocks > limit) { in f2fs_statfs_project()
1130 buf->f_blocks = limit; in f2fs_statfs_project()
1132 (buf->f_blocks > curblock) ? in f2fs_statfs_project()
1133 (buf->f_blocks - curblock) : 0; in f2fs_statfs_project()
1166 buf->f_blocks = total_count - start_count; in f2fs_statfs()
/fs/btrfs/
Dsuper.c2032 buf->f_blocks = div_u64(btrfs_super_total_bytes(disk_super), factor); in btrfs_statfs()
2033 buf->f_blocks >>= bits; in btrfs_statfs()
2034 buf->f_bfree = buf->f_blocks - (div_u64(total_used, factor) >> bits); in btrfs_statfs()
/fs/romfs/
Dsuper.c440 buf->f_blocks = in romfs_statfs()

123