Home
last modified time | relevance | path

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

/linux-4.4.14/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.c367 d = &dqp->q_core; in xfs_trans_apply_dquot_deltas()
494 be64_to_cpu(dqp->q_core.d_bcount)); in xfs_trans_apply_dquot_deltas()
496 be64_to_cpu(dqp->q_core.d_icount)); in xfs_trans_apply_dquot_deltas()
498 be64_to_cpu(dqp->q_core.d_rtbcount)); in xfs_trans_apply_dquot_deltas()
581 be32_to_cpu(dqp->q_core.d_id)), in xfs_quota_warn()
613 hardlimit = be64_to_cpu(dqp->q_core.d_blk_hardlimit); in xfs_trans_dqresv()
616 softlimit = be64_to_cpu(dqp->q_core.d_blk_softlimit); in xfs_trans_dqresv()
619 timer = be32_to_cpu(dqp->q_core.d_btimer); in xfs_trans_dqresv()
620 warns = be16_to_cpu(dqp->q_core.d_bwarns); in xfs_trans_dqresv()
625 hardlimit = be64_to_cpu(dqp->q_core.d_rtb_hardlimit); in xfs_trans_dqresv()
[all …]
Dxfs_qm_syscalls.c445 ddq = &dqp->q_core; in xfs_qm_scall_setqlim()
665 XFS_FSB_TO_B(mp, be64_to_cpu(dqp->q_core.d_blk_hardlimit)); in xfs_qm_scall_getquota()
667 XFS_FSB_TO_B(mp, be64_to_cpu(dqp->q_core.d_blk_softlimit)); in xfs_qm_scall_getquota()
668 dst->d_ino_hardlimit = be64_to_cpu(dqp->q_core.d_ino_hardlimit); in xfs_qm_scall_getquota()
669 dst->d_ino_softlimit = be64_to_cpu(dqp->q_core.d_ino_softlimit); in xfs_qm_scall_getquota()
672 dst->d_spc_timer = be32_to_cpu(dqp->q_core.d_btimer); in xfs_qm_scall_getquota()
673 dst->d_ino_timer = be32_to_cpu(dqp->q_core.d_itimer); in xfs_qm_scall_getquota()
674 dst->d_ino_warns = be16_to_cpu(dqp->q_core.d_iwarns); in xfs_qm_scall_getquota()
675 dst->d_spc_warns = be16_to_cpu(dqp->q_core.d_bwarns); in xfs_qm_scall_getquota()
677 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()
575 dqp->q_core.d_id = cpu_to_be32(id); in xfs_qm_dqread()
636 memcpy(&dqp->q_core, ddqp, sizeof(xfs_disk_dquot_t)); in xfs_qm_dqread()
980 error = xfs_dqcheck(mp, &dqp->q_core, be32_to_cpu(ddqp->d_id), 0, in xfs_qm_dqflush()
990 memcpy(ddqp, &dqp->q_core, sizeof(xfs_disk_dquot_t)); in xfs_qm_dqflush()
1055 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()
1066 be64_add_cpu(&dqp->q_core.d_icount, 1); in xfs_qm_quotacheck_dqadjust()
1069 be64_add_cpu(&dqp->q_core.d_bcount, nblks); in xfs_qm_quotacheck_dqadjust()
1073 be64_add_cpu(&dqp->q_core.d_rtbcount, rtblks); in xfs_qm_quotacheck_dqadjust()
1082 if (dqp->q_core.d_id) { in xfs_qm_quotacheck_dqadjust()
1084 xfs_qm_adjust_dqtimers(mp, &dqp->q_core); in xfs_qm_quotacheck_dqadjust()
1577 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.h884 __entry->id = be32_to_cpu(dqp->q_core.d_id);
888 __entry->bcount = be64_to_cpu(dqp->q_core.d_bcount);
889 __entry->icount = be64_to_cpu(dqp->q_core.d_icount);
891 be64_to_cpu(dqp->q_core.d_blk_hardlimit);
893 be64_to_cpu(dqp->q_core.d_blk_softlimit);
895 be64_to_cpu(dqp->q_core.d_ino_hardlimit);
897 be64_to_cpu(dqp->q_core.d_ino_softlimit);