Searched refs:f_blocks (Results 1 – 25 of 59) sorted by relevance
123
/fs/cachefiles/ |
D | bind.c | 167 (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/ |
D | xfs_qm_bhv.c | 41 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/ |
D | statfs.c | 113 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()
|
D | compat.c | 215 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/ |
D | svcsubs.c | 111 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()
|
D | svclock.c | 251 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/ |
D | super.c | 552 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/ |
D | hostfs_kern.c | 201 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()
|
D | hostfs_user.c | 399 *blocks_out = buf.f_blocks; in do_statfs()
|
/fs/freevxfs/ |
D | vxfs_super.c | 115 bufp->f_blocks = infp->vsi_raw->vs_dsize; in vxfs_statfs()
|
/fs/adfs/ |
D | super.c | 229 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/ |
D | super.c | 89 buf->f_blocks -= min_blocks; in sdcardfs_statfs()
|
/fs/coda/ |
D | inode.c | 302 buf->f_blocks = 9000000; in coda_statfs()
|
D | upcall.c | 560 sfs->f_blocks = outp->coda_statfs.stat.f_blocks; in venus_statfs()
|
/fs/ufs/ |
D | super.c | 1388 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/ |
D | vfs_super.c | 260 buf->f_blocks = rs.blocks; in v9fs_statfs()
|
/fs/efs/ |
D | super.c | 339 buf->f_blocks = sbi->total_groups * /* total data blocks */ in efs_statfs()
|
/fs/sysv/ |
D | inode.c | 95 buf->f_blocks = sbi->s_ndatazones; in sysv_statfs()
|
/fs/qnx4/ |
D | inode.c | 135 buf->f_blocks = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size) * 8; in qnx4_statfs()
|
/fs/squashfs/ |
D | super.c | 363 buf->f_blocks = ((msblk->bytes_used - 1) >> msblk->block_log) + 1; in squashfs_statfs()
|
/fs/hfs/ |
D | super.c | 102 buf->f_blocks = (u32)HFS_SB(sb)->fs_ablocks * HFS_SB(sb)->fs_div; in hfs_statfs()
|
/fs/ncpfs/ |
D | inode.c | 842 buf->f_blocks = vi.total_blocks; in ncp_statfs() 859 buf->f_blocks = 0; in ncp_statfs()
|
/fs/f2fs/ |
D | super.c | 1128 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/ |
D | super.c | 2032 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/ |
D | super.c | 440 buf->f_blocks = in romfs_statfs()
|
123