/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_quota.h | 91 struct xfs_dquot *pdqp, int64_t dblocks); 121 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc() 125 *pdqp = NULL; in xfs_qm_vop_dqalloc() 141 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() 155 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) in xfs_trans_reserve_quota_icreate() 119 xfs_qm_vop_dqalloc(struct xfs_inode *ip, kuid_t kuid, kgid_t kgid, prid_t prid, uint flags, struct xfs_dquot **udqp, struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) xfs_qm_vop_dqalloc() argument 139 xfs_trans_reserve_quota_bydquots(struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long nions, uint flags) xfs_trans_reserve_quota_bydquots() argument 154 xfs_trans_reserve_quota_icreate(struct xfs_trans *tp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) xfs_trans_reserve_quota_icreate() argument
|
H A D | xfs_symlink.c | 172 struct xfs_dquot *pdqp = NULL; in xfs_symlink() local 199 &udqp, &gdqp, &pdqp); in xfs_symlink() 214 pdqp, resblks, &tp); in xfs_symlink() 253 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink() 337 xfs_qm_dqrele(pdqp); in xfs_symlink() 357 xfs_qm_dqrele(pdqp); in xfs_symlink()
|
H A D | xfs_trans.c | 1244 struct xfs_dquot *pdqp, in xfs_trans_alloc_icreate() 1257 error = xfs_trans_reserve_quota_icreate(tp, udqp, gdqp, pdqp, dblocks); in xfs_trans_alloc_icreate() 1260 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_icreate() 1295 struct xfs_dquot *pdqp; in xfs_trans_alloc_ichange() local 1322 pdqp = (new_pdqp != ip->i_pdquot) ? new_pdqp : NULL; in xfs_trans_alloc_ichange() 1323 if (udqp || gdqp || pdqp) { in xfs_trans_alloc_ichange() 1336 pdqp, ip->i_nblocks + ip->i_delayed_blks, in xfs_trans_alloc_ichange() 1340 xfs_blockgc_free_dquots(mp, udqp, gdqp, pdqp, 0); in xfs_trans_alloc_ichange() 1239 xfs_trans_alloc_icreate( struct xfs_mount *mp, struct xfs_trans_res *resv, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, unsigned int dblocks, struct xfs_trans **tpp) xfs_trans_alloc_icreate() argument
|
H A D | xfs_trans_dquot.c | 731 struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() 755 if (pdqp) { in xfs_trans_reserve_quota_bydquots() 756 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 831 struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_icreate() 839 return xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, pdqp, in xfs_trans_reserve_quota_icreate() 726 xfs_trans_reserve_quota_bydquots( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long ninos, uint flags) xfs_trans_reserve_quota_bydquots() argument 827 xfs_trans_reserve_quota_icreate( struct xfs_trans *tp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t dblocks) xfs_trans_reserve_quota_icreate() argument
|
H A D | xfs_icache.h | 61 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp,
|
H A D | xfs_inode.c | 972 struct xfs_dquot *pdqp = NULL; in xfs_create() local 990 &udqp, &gdqp, &pdqp); in xfs_create() 1008 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create() 1013 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create() 1074 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create() 1082 xfs_qm_dqrele(pdqp); in xfs_create() 1102 xfs_qm_dqrele(pdqp); in xfs_create() 1123 struct xfs_dquot *pdqp = NULL; in xfs_create_tmpfile() local 1139 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 1146 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblk in xfs_create_tmpfile() [all...] |
H A D | xfs_trans.h | 265 struct xfs_dquot *pdqp, unsigned int dblocks, 268 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, bool force,
|
H A D | xfs_ioctl.c | 1196 struct xfs_dquot *pdqp) in xfs_ioctl_setattr_get_trans() 1208 error = xfs_trans_alloc_ichange(ip, NULL, NULL, pdqp, in xfs_ioctl_setattr_get_trans() 1317 struct xfs_dquot *pdqp = NULL; in xfs_fileattr_set() local 1348 XFS_QMOPT_PQUOTA, NULL, NULL, &pdqp); in xfs_fileattr_set() 1355 tp = xfs_ioctl_setattr_get_trans(ip, pdqp); in xfs_fileattr_set() 1391 &ip->i_pdquot, pdqp); in xfs_fileattr_set() 1420 xfs_qm_dqrele(pdqp); in xfs_fileattr_set() 1427 xfs_qm_dqrele(pdqp); in xfs_fileattr_set() 1194 xfs_ioctl_setattr_get_trans( struct xfs_inode *ip, struct xfs_dquot *pdqp) xfs_ioctl_setattr_get_trans() argument
|
H A D | xfs_qm.c | 1892 struct xfs_dquot *pdqp) in xfs_qm_vop_create_dqattach() 1915 if (pdqp && XFS_IS_PQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach() 1917 ASSERT(ip->i_projid == pdqp->q_id); in xfs_qm_vop_create_dqattach() 1919 ip->i_pdquot = xfs_qm_dqhold(pdqp); in xfs_qm_vop_create_dqattach() 1920 xfs_trans_mod_dquot(tp, pdqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach() 1887 xfs_qm_vop_create_dqattach( struct xfs_trans *tp, struct xfs_inode *ip, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp) xfs_qm_vop_create_dqattach() argument
|
H A D | xfs_icache.c | 1523 struct xfs_dquot *pdqp, in xfs_blockgc_free_dquots() 1529 if (!udqp && !gdqp && !pdqp) in xfs_blockgc_free_dquots() 1550 if (XFS_IS_PQUOTA_ENFORCED(mp) && pdqp && xfs_dquot_lowsp(pdqp)) { in xfs_blockgc_free_dquots() 1551 icw.icw_prid = pdqp->q_id; in xfs_blockgc_free_dquots() 1519 xfs_blockgc_free_dquots( struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, unsigned int iwalk_flags) xfs_blockgc_free_dquots() argument
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_quota.h | 115 struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) in xfs_qm_vop_dqalloc() 119 *pdqp = NULL; in xfs_qm_vop_dqalloc() 134 struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() 113 xfs_qm_vop_dqalloc(struct xfs_inode *ip, kuid_t kuid, kgid_t kgid, prid_t prid, uint flags, struct xfs_dquot **udqp, struct xfs_dquot **gdqp, struct xfs_dquot **pdqp) xfs_qm_vop_dqalloc() argument 132 xfs_trans_reserve_quota_bydquots(struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long nions, uint flags) xfs_trans_reserve_quota_bydquots() argument
|
H A D | xfs_symlink.c | 161 struct xfs_dquot *pdqp = NULL; in xfs_symlink() local 186 &udqp, &gdqp, &pdqp); in xfs_symlink() 219 pdqp, resblks, 1, 0); in xfs_symlink() 244 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_symlink() 329 xfs_qm_dqrele(pdqp); in xfs_symlink() 349 xfs_qm_dqrele(pdqp); in xfs_symlink()
|
H A D | xfs_inode.c | 1126 struct xfs_dquot *pdqp = NULL; in xfs_create() local 1142 &udqp, &gdqp, &pdqp); in xfs_create() 1176 pdqp, resblks, 1, 0); in xfs_create() 1229 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create() 1237 xfs_qm_dqrele(pdqp); in xfs_create() 1257 xfs_qm_dqrele(pdqp); in xfs_create() 1277 struct xfs_dquot *pdqp = NULL; in xfs_create_tmpfile() local 1291 &udqp, &gdqp, &pdqp); in xfs_create_tmpfile() 1303 pdqp, resblks, 1, 0); in xfs_create_tmpfile() 1319 xfs_qm_vop_create_dqattach(tp, ip, udqp, gdqp, pdqp); in xfs_create_tmpfile() [all...] |
H A D | xfs_qm.c | 1836 struct xfs_dquot *pdqp, in xfs_qm_vop_chown_reserve() 1859 if (XFS_IS_PQUOTA_ON(ip->i_mount) && pdqp && in xfs_qm_vop_chown_reserve() 1860 ip->i_d.di_projid != pdqp->q_id) in xfs_qm_vop_chown_reserve() 1861 pdq_delblks = pdqp; in xfs_qm_vop_chown_reserve() 1909 struct xfs_dquot *pdqp) in xfs_qm_vop_create_dqattach() 1932 if (pdqp && XFS_IS_PQUOTA_ON(mp)) { in xfs_qm_vop_create_dqattach() 1934 ASSERT(ip->i_d.di_projid == pdqp->q_id); in xfs_qm_vop_create_dqattach() 1936 ip->i_pdquot = xfs_qm_dqhold(pdqp); in xfs_qm_vop_create_dqattach() 1937 xfs_trans_mod_dquot(tp, pdqp, XFS_TRANS_DQ_ICOUNT, 1); in xfs_qm_vop_create_dqattach() 1831 xfs_qm_vop_chown_reserve( struct xfs_trans *tp, struct xfs_inode *ip, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, uint flags) xfs_qm_vop_chown_reserve() argument 1904 xfs_qm_vop_create_dqattach( struct xfs_trans *tp, struct xfs_inode *ip, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp) xfs_qm_vop_create_dqattach() argument
|
H A D | xfs_trans_dquot.c | 751 struct xfs_dquot *pdqp, in xfs_trans_reserve_quota_bydquots() 778 if (pdqp) { in xfs_trans_reserve_quota_bydquots() 779 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 746 xfs_trans_reserve_quota_bydquots( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long ninos, uint flags) xfs_trans_reserve_quota_bydquots() argument
|
H A D | xfs_ioctl.c | 1438 struct xfs_dquot *pdqp = NULL; in xfs_ioctl_setattr() local 1459 XFS_QMOPT_PQUOTA, NULL, NULL, &pdqp); in xfs_ioctl_setattr() 1474 code = xfs_qm_vop_chown_reserve(tp, ip, NULL, NULL, pdqp, in xfs_ioctl_setattr() 1513 &ip->i_pdquot, pdqp); in xfs_ioctl_setattr() 1540 xfs_qm_dqrele(pdqp); in xfs_ioctl_setattr() 1547 xfs_qm_dqrele(pdqp); in xfs_ioctl_setattr()
|