Home
last modified time | relevance | path

Searched refs:defq (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/fs/xfs/
Dxfs_qm.h173 struct xfs_def_quota *defq; in xfs_get_defquota() local
176 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()
Dxfs_dquot.c78 struct xfs_def_quota *defq; in xfs_qm_adjust_dqlimits() local
82 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 …]
Dxfs_qm_syscalls.c394 struct xfs_def_quota *defq; in xfs_qm_scall_setqlim() local
423 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()
Dxfs_trans_dquot.c600 struct xfs_def_quota *defq; in xfs_trans_dqresv() local
605 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()
Dxfs_qm.c551 struct xfs_def_quota *defq; in xfs_qm_set_defquota() local
560 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()