Home
last modified time | relevance | path

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

/fs/xfs/quota/
Dxfs_qm_bhv.c53 struct kstatfs *statp, in xfs_fill_statvfs_from_dquot() argument
61 if (limit && statp->f_blocks > limit) { in xfs_fill_statvfs_from_dquot()
62 statp->f_blocks = limit; in xfs_fill_statvfs_from_dquot()
63 statp->f_bfree = in xfs_fill_statvfs_from_dquot()
64 (statp->f_blocks > be64_to_cpu(dp->d_bcount)) ? in xfs_fill_statvfs_from_dquot()
65 (statp->f_blocks - be64_to_cpu(dp->d_bcount)) : 0; in xfs_fill_statvfs_from_dquot()
71 if (limit && statp->f_files > limit) { in xfs_fill_statvfs_from_dquot()
72 statp->f_files = limit; in xfs_fill_statvfs_from_dquot()
73 statp->f_ffree = in xfs_fill_statvfs_from_dquot()
74 (statp->f_files > be64_to_cpu(dp->d_icount)) ? in xfs_fill_statvfs_from_dquot()
[all …]
/fs/nfsd/
Dnfscache.c256 nfsd_cache_update(struct svc_rqst *rqstp, int cachetype, __be32 *statp) in nfsd_cache_update() argument
265 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update()
269 if (!statp || len > (256 >> 2)) { in nfsd_cache_update()
278 rp->c_replstat = *statp; in nfsd_cache_update()
290 memcpy(cachv->iov_base, statp, len << 2); in nfsd_cache_update()
Dnfssvc.c507 nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfsd_dispatch() argument
535 *statp = rpc_garbage_args; in nfsd_dispatch()
568 *statp = rpc_system_err; in nfsd_dispatch()
574 nfsd_cache_update(rqstp, proc->pc_cachetype, statp + 1); in nfsd_dispatch()
Dnfs4xdr.c2625 __be32 *statp; in nfsd4_encode_operation() local
2630 statp = p++; /* to be backfilled at the end */ in nfsd4_encode_operation()
2643 *statp = op->status; in nfsd4_encode_operation()
/fs/xfs/linux-2.6/
Dxfs_super.c1149 struct kstatfs *statp) in xfs_fs_statfs() argument
1156 statp->f_type = XFS_SB_MAGIC; in xfs_fs_statfs()
1157 statp->f_namelen = MAXNAMELEN - 1; in xfs_fs_statfs()
1160 statp->f_fsid.val[0] = (u32)id; in xfs_fs_statfs()
1161 statp->f_fsid.val[1] = (u32)(id >> 32); in xfs_fs_statfs()
1166 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()
1168 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
1169 statp->f_bfree = statp->f_bavail = in xfs_fs_statfs()
1171 fakeinos = statp->f_bfree << sbp->sb_inopblog; in xfs_fs_statfs()
1175 statp->f_files = in xfs_fs_statfs()
[all …]
/fs/xfs/
Dxfs_mount.h187 #define XFS_QM_DQSTATVFS(ip, statp) \ argument
188 (*(ip)->i_mount->m_qm_ops->xfs_dqstatvfs)(ip, statp)