Searched refs:statp (Results 1 – 5 of 5) sorted by relevance
21 struct kstatfs *statp, in xfs_fill_statvfs_from_dquot() argument29 if (limit && statp->f_blocks > limit) { in xfs_fill_statvfs_from_dquot()30 statp->f_blocks = limit; in xfs_fill_statvfs_from_dquot()31 statp->f_bfree = statp->f_bavail = in xfs_fill_statvfs_from_dquot()32 (statp->f_blocks > dqp->q_res_bcount) ? in xfs_fill_statvfs_from_dquot()33 (statp->f_blocks - dqp->q_res_bcount) : 0; in xfs_fill_statvfs_from_dquot()39 if (limit && statp->f_files > limit) { in xfs_fill_statvfs_from_dquot()40 statp->f_files = limit; in xfs_fill_statvfs_from_dquot()41 statp->f_ffree = in xfs_fill_statvfs_from_dquot()42 (statp->f_files > dqp->q_res_icount) ? in xfs_fill_statvfs_from_dquot()[all …]
1088 struct kstatfs *statp) in xfs_fs_statfs() argument1100 statp->f_type = XFS_SB_MAGIC; in xfs_fs_statfs()1101 statp->f_namelen = MAXNAMELEN - 1; in xfs_fs_statfs()1104 statp->f_fsid.val[0] = (u32)id; in xfs_fs_statfs()1105 statp->f_fsid.val[1] = (u32)(id >> 32); in xfs_fs_statfs()1112 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()1114 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()1117 statp->f_bfree = fdblocks - mp->m_alloc_set_aside; in xfs_fs_statfs()1118 statp->f_bavail = statp->f_bfree; in xfs_fs_statfs()1120 fakeinos = statp->f_bfree << sbp->sb_inopblog; in xfs_fs_statfs()[all …]
515 nfsd_cache_update(struct svc_rqst *rqstp, int cachetype, __be32 *statp) in nfsd_cache_update() argument530 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update()534 if (!statp || len > (256 >> 2)) { in nfsd_cache_update()543 rp->c_replstat = *statp; in nfsd_cache_update()554 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update()
790 nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfsd_dispatch() argument802 *statp = rpc_garbage_args; in nfsd_dispatch()814 *statp = rpc_garbage_args; in nfsd_dispatch()855 *statp = rpc_system_err; in nfsd_dispatch()861 nfsd_cache_update(rqstp, rqstp->rq_cachetype, statp + 1); in nfsd_dispatch()
77 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp);