Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_qm_bhv.c21 struct kstatfs *statp, in xfs_fill_statvfs_from_dquot() argument
29 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_blk.reserved) ? in xfs_fill_statvfs_from_dquot()
33 (statp->f_blocks - dqp->q_blk.reserved) : 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_ino.reserved) ? in xfs_fill_statvfs_from_dquot()
[all …]
Dxfs_super.c797 struct kstatfs *statp) in xfs_fs_statfs() argument
815 statp->f_type = XFS_SUPER_MAGIC; in xfs_fs_statfs()
816 statp->f_namelen = MAXNAMELEN - 1; in xfs_fs_statfs()
819 statp->f_fsid = u64_to_fsid(id); in xfs_fs_statfs()
826 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()
828 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
832 statp->f_bfree = max_t(int64_t, 0, in xfs_fs_statfs()
834 statp->f_bavail = statp->f_bfree; in xfs_fs_statfs()
836 fakeinos = XFS_FSB_TO_INO(mp, statp->f_bfree); in xfs_fs_statfs()
837 statp->f_files = min(icount + fakeinos, (uint64_t)XFS_MAXINUMBER); in xfs_fs_statfs()
[all …]
/fs/lockd/
Dsvc.c693 static int nlmsvc_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nlmsvc_dispatch() argument
701 *statp = procp->pc_func(rqstp); in nlmsvc_dispatch()
702 if (*statp == rpc_drop_reply) in nlmsvc_dispatch()
704 if (*statp != rpc_success) in nlmsvc_dispatch()
714 *statp = rpc_garbage_args; in nlmsvc_dispatch()
718 *statp = rpc_system_err; in nlmsvc_dispatch()
/fs/nfsd/
Dnfscache.c551 void nfsd_cache_update(struct svc_rqst *rqstp, int cachetype, __be32 *statp) in nfsd_cache_update() argument
565 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update()
569 if (!statp || len > (256 >> 2)) { in nfsd_cache_update()
578 rp->c_replstat = *statp; in nfsd_cache_update()
589 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update()
Dnfssvc.c1027 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfsd_dispatch() argument
1067 *statp = proc->pc_func(rqstp); in nfsd_dispatch()
1068 if (*statp == rpc_drop_reply || test_bit(RQ_DROPME, &rqstp->rq_flags)) in nfsd_dispatch()
1080 *statp = rpc_garbage_args; in nfsd_dispatch()
1091 *statp = rpc_system_err; in nfsd_dispatch()
Dnfsd.h90 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp);
/fs/nfs/
Dcallback_xdr.c983 nfs_callback_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfs_callback_dispatch() argument
990 *statp = procp->pc_func(rqstp); in nfs_callback_dispatch()