Lines Matching refs:statp
21 struct kstatfs *statp,
29 if (limit && statp->f_blocks > limit) {
30 statp->f_blocks = limit;
31 statp->f_bfree = statp->f_bavail =
32 (statp->f_blocks > dqp->q_blk.reserved) ?
33 (statp->f_blocks - dqp->q_blk.reserved) : 0;
39 if (limit && statp->f_files > limit) {
40 statp->f_files = limit;
41 statp->f_ffree =
42 (statp->f_files > dqp->q_ino.reserved) ?
43 (statp->f_files - dqp->q_ino.reserved) : 0;
58 struct kstatfs *statp)
64 xfs_fill_statvfs_from_dquot(statp, dqp);