Home
last modified time | relevance | path

Searched refs:statp (Results 1 – 5 of 5) sorted by relevance

/fs/xfs/
Dxfs_qm_bhv.c33 struct kstatfs *statp, in xfs_fill_statvfs_from_dquot() argument
41 if (limit && statp->f_blocks > limit) { in xfs_fill_statvfs_from_dquot()
42 statp->f_blocks = limit; in xfs_fill_statvfs_from_dquot()
43 statp->f_bfree = statp->f_bavail = 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()
51 if (limit && statp->f_files > limit) { in xfs_fill_statvfs_from_dquot()
52 statp->f_files = limit; in xfs_fill_statvfs_from_dquot()
53 statp->f_ffree = in xfs_fill_statvfs_from_dquot()
54 (statp->f_files > dqp->q_res_icount) ? in xfs_fill_statvfs_from_dquot()
[all …]
Dxfs_super.c1103 struct kstatfs *statp) in xfs_fs_statfs() argument
1115 statp->f_type = XFS_SB_MAGIC; in xfs_fs_statfs()
1116 statp->f_namelen = MAXNAMELEN - 1; in xfs_fs_statfs()
1119 statp->f_fsid.val[0] = (u32)id; in xfs_fs_statfs()
1120 statp->f_fsid.val[1] = (u32)(id >> 32); in xfs_fs_statfs()
1127 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()
1129 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
1132 statp->f_bfree = fdblocks - mp->m_alloc_set_aside; in xfs_fs_statfs()
1133 statp->f_bavail = statp->f_bfree; in xfs_fs_statfs()
1135 fakeinos = statp->f_bfree << sbp->sb_inopblog; in xfs_fs_statfs()
[all …]
/fs/nfsd/
Dnfscache.c516 nfsd_cache_update(struct svc_rqst *rqstp, int cachetype, __be32 *statp) in nfsd_cache_update() argument
531 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update()
535 if (!statp || len > (256 >> 2)) { in nfsd_cache_update()
544 rp->c_replstat = *statp; in nfsd_cache_update()
555 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update()
Dnfssvc.c783 nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfsd_dispatch() argument
795 *statp = rpc_garbage_args; in nfsd_dispatch()
807 *statp = rpc_garbage_args; in nfsd_dispatch()
848 *statp = rpc_system_err; in nfsd_dispatch()
854 nfsd_cache_update(rqstp, rqstp->rq_cachetype, statp + 1); in nfsd_dispatch()
Dnfsd.h77 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp);