Lines Matching refs:dqblk

37 static int getfsquota(int type, long id, char *path, struct dqblk *dqblk);
171 struct dqblk dqblk; in sendquota() local
183 } else if (!getfsquota(USRQUOTA, getq_args.gqa_uid, getq_args.gqa_pathp, &dqblk)) { in sendquota()
190 scale = 1 << flsll(dqblk.dqb_bhardlimit >> 32); in sendquota()
194 dqblk.dqb_bhardlimit / scale; in sendquota()
196 dqblk.dqb_bsoftlimit / scale; in sendquota()
198 dqblk.dqb_curblocks / scale; in sendquota()
200 dqblk.dqb_ihardlimit; in sendquota()
202 dqblk.dqb_isoftlimit; in sendquota()
204 dqblk.dqb_curinodes; in sendquota()
206 dqblk.dqb_btime - timev.tv_sec; in sendquota()
208 dqblk.dqb_itime - timev.tv_sec; in sendquota()
223 struct dqblk dqblk; in sendquota_extended() local
235 } else if (!getfsquota(getq_args.gqa_type, getq_args.gqa_id, getq_args.gqa_pathp, &dqblk)) { in sendquota_extended()
242 scale = 1 << flsll(dqblk.dqb_bhardlimit >> 32); in sendquota_extended()
246 dqblk.dqb_bhardlimit / scale; in sendquota_extended()
248 dqblk.dqb_bsoftlimit / scale; in sendquota_extended()
250 dqblk.dqb_curblocks / scale; in sendquota_extended()
252 dqblk.dqb_ihardlimit; in sendquota_extended()
254 dqblk.dqb_isoftlimit; in sendquota_extended()
256 dqblk.dqb_curinodes; in sendquota_extended()
258 dqblk.dqb_btime - timev.tv_sec; in sendquota_extended()
260 dqblk.dqb_itime - timev.tv_sec; in sendquota_extended()
275 getfsquota(int type, long id, char *path, struct dqblk *dqblk) in getfsquota() argument
308 rv = quota_read(qf, dqblk, id) == 0; in getfsquota()
312 type, id, path, dqblk, rv); in getfsquota()