Home
last modified time | relevance | path

Searched refs:q_core (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/fs/xfs/
Dxfs_qm.h35 !dqp->q_core.d_blk_hardlimit && \
36 !dqp->q_core.d_blk_softlimit && \
37 !dqp->q_core.d_rtb_hardlimit && \
38 !dqp->q_core.d_rtb_softlimit && \
39 !dqp->q_core.d_ino_hardlimit && \
40 !dqp->q_core.d_ino_softlimit && \
41 !dqp->q_core.d_bcount && \
42 !dqp->q_core.d_rtbcount && \
43 !dqp->q_core.d_icount)
Dxfs_qm_bhv.c38 limit = dqp->q_core.d_blk_softlimit ? in xfs_fill_statvfs_from_dquot()
39 be64_to_cpu(dqp->q_core.d_blk_softlimit) : in xfs_fill_statvfs_from_dquot()
40 be64_to_cpu(dqp->q_core.d_blk_hardlimit); in xfs_fill_statvfs_from_dquot()
48 limit = dqp->q_core.d_ino_softlimit ? in xfs_fill_statvfs_from_dquot()
49 be64_to_cpu(dqp->q_core.d_ino_softlimit) : in xfs_fill_statvfs_from_dquot()
50 be64_to_cpu(dqp->q_core.d_ino_hardlimit); in xfs_fill_statvfs_from_dquot()
Dxfs_trans_dquot.c365 d = &dqp->q_core; in xfs_trans_apply_dquot_deltas()
488 be64_to_cpu(dqp->q_core.d_bcount)); in xfs_trans_apply_dquot_deltas()
490 be64_to_cpu(dqp->q_core.d_icount)); in xfs_trans_apply_dquot_deltas()
492 be64_to_cpu(dqp->q_core.d_rtbcount)); in xfs_trans_apply_dquot_deltas()
575 be32_to_cpu(dqp->q_core.d_id)), in xfs_quota_warn()
607 hardlimit = be64_to_cpu(dqp->q_core.d_blk_hardlimit); in xfs_trans_dqresv()
610 softlimit = be64_to_cpu(dqp->q_core.d_blk_softlimit); in xfs_trans_dqresv()
613 timer = be32_to_cpu(dqp->q_core.d_btimer); in xfs_trans_dqresv()
614 warns = be16_to_cpu(dqp->q_core.d_bwarns); in xfs_trans_dqresv()
619 hardlimit = be64_to_cpu(dqp->q_core.d_rtb_hardlimit); in xfs_trans_dqresv()
[all …]
Dxfs_qm_syscalls.c446 ddq = &dqp->q_core; in xfs_qm_scall_setqlim()
667 XFS_FSB_TO_B(mp, be64_to_cpu(dqp->q_core.d_blk_hardlimit)); in xfs_qm_scall_getquota()
669 XFS_FSB_TO_B(mp, be64_to_cpu(dqp->q_core.d_blk_softlimit)); in xfs_qm_scall_getquota()
670 dst->d_ino_hardlimit = be64_to_cpu(dqp->q_core.d_ino_hardlimit); in xfs_qm_scall_getquota()
671 dst->d_ino_softlimit = be64_to_cpu(dqp->q_core.d_ino_softlimit); in xfs_qm_scall_getquota()
674 dst->d_spc_timer = be32_to_cpu(dqp->q_core.d_btimer); in xfs_qm_scall_getquota()
675 dst->d_ino_timer = be32_to_cpu(dqp->q_core.d_itimer); in xfs_qm_scall_getquota()
676 dst->d_ino_warns = be16_to_cpu(dqp->q_core.d_iwarns); in xfs_qm_scall_getquota()
677 dst->d_spc_warns = be16_to_cpu(dqp->q_core.d_bwarns); in xfs_qm_scall_getquota()
679 XFS_FSB_TO_B(mp, be64_to_cpu(dqp->q_core.d_rtb_hardlimit)); in xfs_qm_scall_getquota()
[all …]
Dxfs_dquot.c94 struct xfs_disk_dquot *d = &dq->q_core; in xfs_qm_adjust_dqlimits()
277 dqp->q_prealloc_hi_wmark = be64_to_cpu(dqp->q_core.d_blk_hardlimit); in xfs_dquot_set_prealloc_limits()
278 dqp->q_prealloc_lo_wmark = be64_to_cpu(dqp->q_core.d_blk_softlimit); in xfs_dquot_set_prealloc_limits()
364 xfs_qm_init_dquot_blk(tp, mp, be32_to_cpu(dqp->q_core.d_id), in xfs_qm_dqalloc()
468 xfs_dqid_t id = be32_to_cpu(dqp->q_core.d_id); in xfs_qm_dqtobp()
577 dqp->q_core.d_id = cpu_to_be32(id); in xfs_qm_dqread()
640 memcpy(&dqp->q_core, ddqp, sizeof(xfs_disk_dquot_t)); in xfs_qm_dqread()
988 error = xfs_dqcheck(mp, &dqp->q_core, be32_to_cpu(ddqp->d_id), 0, in xfs_qm_dqflush()
998 memcpy(ddqp, &dqp->q_core, sizeof(xfs_disk_dquot_t)); in xfs_qm_dqflush()
1063 if (be32_to_cpu(d1->q_core.d_id) > in xfs_dqlock2()
[all …]
Dxfs_qm.c96 next_index = be32_to_cpu(dqp->q_core.d_id) + 1; in xfs_qm_dquot_walk()
177 radix_tree_delete(xfs_dquot_tree(qi, dqp->q_core.d_flags), in xfs_qm_dqpurge()
178 be32_to_cpu(dqp->q_core.d_id)); in xfs_qm_dqpurge()
623 xfs_disk_dquot_t *ddqp = &dqp->q_core; in xfs_qm_init_quotainfo()
1067 be64_add_cpu(&dqp->q_core.d_icount, 1); in xfs_qm_quotacheck_dqadjust()
1070 be64_add_cpu(&dqp->q_core.d_bcount, nblks); in xfs_qm_quotacheck_dqadjust()
1074 be64_add_cpu(&dqp->q_core.d_rtbcount, rtblks); in xfs_qm_quotacheck_dqadjust()
1083 if (dqp->q_core.d_id) { in xfs_qm_quotacheck_dqadjust()
1085 xfs_qm_adjust_dqtimers(mp, &dqp->q_core); in xfs_qm_quotacheck_dqadjust()
1578 radix_tree_delete(xfs_dquot_tree(qi, dqp->q_core.d_flags), in xfs_qm_dqfree_one()
[all …]
Dxfs_dquot.h55 xfs_disk_dquot_t q_core; /* actual usage & quotas */ member
150 freesp = be64_to_cpu(dqp->q_core.d_blk_hardlimit) - dqp->q_res_bcount; in xfs_dquot_lowsp()
Dxfs_dquot_item.c67 qlf->qlf_id = be32_to_cpu(qlip->qli_dquot->q_core.d_id); in xfs_qm_dquot_logitem_format()
74 &qlip->qli_dquot->q_core, in xfs_qm_dquot_logitem_format()
Dxfs_trace.h835 __entry->id = be32_to_cpu(dqp->q_core.d_id);
839 __entry->bcount = be64_to_cpu(dqp->q_core.d_bcount);
840 __entry->icount = be64_to_cpu(dqp->q_core.d_icount);
842 be64_to_cpu(dqp->q_core.d_blk_hardlimit);
844 be64_to_cpu(dqp->q_core.d_blk_softlimit);
846 be64_to_cpu(dqp->q_core.d_ino_hardlimit);
848 be64_to_cpu(dqp->q_core.d_ino_softlimit);