Searched refs:defq (Results 1 – 5 of 5) sorted by relevance
173 struct xfs_def_quota *defq; in xfs_get_defquota() local176 defq = &qi->qi_usr_default; in xfs_get_defquota()178 defq = &qi->qi_grp_default; in xfs_get_defquota()181 defq = &qi->qi_prj_default; in xfs_get_defquota()183 return defq; in xfs_get_defquota()
78 struct xfs_def_quota *defq; in xfs_qm_adjust_dqlimits() local82 defq = xfs_get_defquota(dq, q); in xfs_qm_adjust_dqlimits()84 if (defq->bsoftlimit && !d->d_blk_softlimit) { in xfs_qm_adjust_dqlimits()85 d->d_blk_softlimit = cpu_to_be64(defq->bsoftlimit); in xfs_qm_adjust_dqlimits()88 if (defq->bhardlimit && !d->d_blk_hardlimit) { in xfs_qm_adjust_dqlimits()89 d->d_blk_hardlimit = cpu_to_be64(defq->bhardlimit); in xfs_qm_adjust_dqlimits()92 if (defq->isoftlimit && !d->d_ino_softlimit) in xfs_qm_adjust_dqlimits()93 d->d_ino_softlimit = cpu_to_be64(defq->isoftlimit); in xfs_qm_adjust_dqlimits()94 if (defq->ihardlimit && !d->d_ino_hardlimit) in xfs_qm_adjust_dqlimits()95 d->d_ino_hardlimit = cpu_to_be64(defq->ihardlimit); in xfs_qm_adjust_dqlimits()[all …]
394 struct xfs_def_quota *defq; in xfs_qm_scall_setqlim() local423 defq = xfs_get_defquota(dqp, q); in xfs_qm_scall_setqlim()448 defq->bhardlimit = hard; in xfs_qm_scall_setqlim()449 defq->bsoftlimit = soft; in xfs_qm_scall_setqlim()464 defq->rtbhardlimit = hard; in xfs_qm_scall_setqlim()465 defq->rtbsoftlimit = soft; in xfs_qm_scall_setqlim()481 defq->ihardlimit = hard; in xfs_qm_scall_setqlim()482 defq->isoftlimit = soft; in xfs_qm_scall_setqlim()
600 struct xfs_def_quota *defq; in xfs_trans_dqresv() local605 defq = xfs_get_defquota(dqp, q); in xfs_trans_dqresv()610 hardlimit = defq->bhardlimit; in xfs_trans_dqresv()613 softlimit = defq->bsoftlimit; in xfs_trans_dqresv()622 hardlimit = defq->rtbhardlimit; in xfs_trans_dqresv()625 softlimit = defq->rtbsoftlimit; in xfs_trans_dqresv()666 hardlimit = defq->ihardlimit; in xfs_trans_dqresv()669 softlimit = defq->isoftlimit; in xfs_trans_dqresv()
551 struct xfs_def_quota *defq; in xfs_qm_set_defquota() local560 defq = xfs_get_defquota(dqp, qinf); in xfs_qm_set_defquota()566 defq->bhardlimit = be64_to_cpu(ddqp->d_blk_hardlimit); in xfs_qm_set_defquota()567 defq->bsoftlimit = be64_to_cpu(ddqp->d_blk_softlimit); in xfs_qm_set_defquota()568 defq->ihardlimit = be64_to_cpu(ddqp->d_ino_hardlimit); in xfs_qm_set_defquota()569 defq->isoftlimit = be64_to_cpu(ddqp->d_ino_softlimit); in xfs_qm_set_defquota()570 defq->rtbhardlimit = be64_to_cpu(ddqp->d_rtb_hardlimit); in xfs_qm_set_defquota()571 defq->rtbsoftlimit = be64_to_cpu(ddqp->d_rtb_softlimit); in xfs_qm_set_defquota()