Searched refs:gdqp (Results 1 – 8 of 8) sorted by relevance
/fs/xfs/ |
D | xfs_qm.c | 139 struct xfs_dquot *gdqp = NULL; in xfs_qm_dqpurge() local 151 gdqp = dqp->q_gdquot; in xfs_qm_dqpurge() 152 if (gdqp) { in xfs_qm_dqpurge() 153 xfs_dqlock(gdqp); in xfs_qm_dqpurge() 209 if (gdqp) in xfs_qm_dqpurge() 210 xfs_qm_dqput(gdqp); in xfs_qm_dqpurge() 1827 xfs_dquot_t *gdqp, in xfs_qm_vop_chown_reserve() argument 1857 if (XFS_IS_OQUOTA_ON(ip->i_mount) && gdqp) { in xfs_qm_vop_chown_reserve() 1859 xfs_get_projid(ip) != be32_to_cpu(gdqp->q_core.d_id)) in xfs_qm_vop_chown_reserve() 1864 ip->i_d.di_gid != be32_to_cpu(gdqp->q_core.d_id))) { in xfs_qm_vop_chown_reserve() [all …]
|
D | xfs_symlink.c | 361 struct xfs_dquot *udqp, *gdqp; in xfs_symlink() local 378 udqp = gdqp = NULL; in xfs_symlink() 388 XFS_QMOPT_QUOTALL | XFS_QMOPT_INHERIT, &udqp, &gdqp); in xfs_symlink() 429 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, resblks, 1, 0); in xfs_symlink() 467 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp); in xfs_symlink() 564 xfs_qm_dqrele(gdqp); in xfs_symlink() 577 xfs_qm_dqrele(gdqp); in xfs_symlink()
|
D | xfs_iops.c | 493 struct xfs_dquot *udqp = NULL, *gdqp = NULL; in xfs_setattr_nonsize() local 540 ASSERT(gdqp == NULL); in xfs_setattr_nonsize() 542 qflags, &udqp, &gdqp); in xfs_setattr_nonsize() 577 error = xfs_qm_vop_chown_reserve(tp, ip, udqp, gdqp, in xfs_setattr_nonsize() 619 ASSERT(gdqp); in xfs_setattr_nonsize() 621 &ip->i_gdquot, gdqp); in xfs_setattr_nonsize() 669 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize() 694 xfs_qm_dqrele(gdqp); in xfs_setattr_nonsize()
|
D | xfs_quota.h | 345 uint flags, struct xfs_dquot **udqp, struct xfs_dquot **gdqp) in xfs_qm_vop_dqalloc() argument 348 *gdqp = NULL; in xfs_qm_vop_dqalloc() 363 struct xfs_dquot *gdqp, long nblks, long nions, uint flags) in xfs_trans_reserve_quota_bydquots() argument
|
D | xfs_dquot.c | 938 struct xfs_dquot *gdqp; in xfs_qm_dqput_final() local 955 gdqp = dqp->q_gdquot; in xfs_qm_dqput_final() 956 if (gdqp) { in xfs_qm_dqput_final() 957 xfs_dqlock(gdqp); in xfs_qm_dqput_final() 965 if (gdqp) in xfs_qm_dqput_final() 966 xfs_qm_dqput(gdqp); in xfs_qm_dqput_final()
|
D | xfs_vnodeops.c | 500 struct xfs_dquot *gdqp = NULL; in xfs_create() local 519 XFS_QMOPT_QUOTALL | XFS_QMOPT_INHERIT, &udqp, &gdqp); in xfs_create() 571 error = xfs_trans_reserve_quota(tp, mp, udqp, gdqp, resblks, 1, 0); in xfs_create() 635 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp); in xfs_create() 646 xfs_qm_dqrele(gdqp); in xfs_create() 667 xfs_qm_dqrele(gdqp); in xfs_create()
|
D | xfs_ioctl.c | 931 struct xfs_dquot *gdqp = NULL; in xfs_ioctl_setattr() local 960 XFS_QMOPT_PQUOTA, &udqp, &gdqp); in xfs_ioctl_setattr() 997 code = xfs_qm_vop_chown_reserve(tp, ip, udqp, gdqp, in xfs_ioctl_setattr() 1116 &ip->i_gdquot, gdqp); in xfs_ioctl_setattr() 1163 xfs_qm_dqrele(gdqp); in xfs_ioctl_setattr() 1169 xfs_qm_dqrele(gdqp); in xfs_ioctl_setattr()
|
D | xfs_trans_dquot.c | 754 xfs_dquot_t *gdqp, in xfs_trans_reserve_quota_bydquots() argument 777 if (gdqp) { in xfs_trans_reserve_quota_bydquots() 778 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
|