Home
last modified time | relevance | path

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

/Linux-v5.4/fs/quota/
Ddquot.c1948 int __dquot_transfer(struct inode *inode, struct dquot **transfer_to) in __dquot_transfer() argument
1993 if (!transfer_to[cnt]) in __dquot_transfer()
2000 ret = dquot_add_inodes(transfer_to[cnt], inode_usage, in __dquot_transfer()
2004 ret = dquot_add_space(transfer_to[cnt], cur_space, rsv_space, in __dquot_transfer()
2007 spin_lock(&transfer_to[cnt]->dq_dqb_lock); in __dquot_transfer()
2008 dquot_decr_inodes(transfer_to[cnt], inode_usage); in __dquot_transfer()
2009 spin_unlock(&transfer_to[cnt]->dq_dqb_lock); in __dquot_transfer()
2038 i_dquot(inode)[cnt] = transfer_to[cnt]; in __dquot_transfer()
2044 mark_all_dquot_dirty(transfer_to); in __dquot_transfer()
2051 transfer_to[cnt] = transfer_from[cnt]; in __dquot_transfer()
[all …]
/Linux-v5.4/fs/ocfs2/
Dfile.c1124 struct dquot *transfer_to[MAXQUOTAS] = { }; in ocfs2_setattr() local
1230 transfer_to[USRQUOTA] = dqget(sb, make_kqid_uid(attr->ia_uid)); in ocfs2_setattr()
1231 if (IS_ERR(transfer_to[USRQUOTA])) { in ocfs2_setattr()
1232 status = PTR_ERR(transfer_to[USRQUOTA]); in ocfs2_setattr()
1233 transfer_to[USRQUOTA] = NULL; in ocfs2_setattr()
1240 transfer_to[GRPQUOTA] = dqget(sb, make_kqid_gid(attr->ia_gid)); in ocfs2_setattr()
1241 if (IS_ERR(transfer_to[GRPQUOTA])) { in ocfs2_setattr()
1242 status = PTR_ERR(transfer_to[GRPQUOTA]); in ocfs2_setattr()
1243 transfer_to[GRPQUOTA] = NULL; in ocfs2_setattr()
1254 status = __dquot_transfer(inode, transfer_to); in ocfs2_setattr()
[all …]
/Linux-v5.4/fs/ext4/
Dioctl.c441 struct dquot *transfer_to[MAXQUOTAS] = { }; in ext4_ioctl_setproject() local
492 transfer_to[PRJQUOTA] = dqget(sb, make_kqid_projid(kprojid)); in ext4_ioctl_setproject()
493 if (!IS_ERR(transfer_to[PRJQUOTA])) { in ext4_ioctl_setproject()
499 err = __dquot_transfer(inode, transfer_to); in ext4_ioctl_setproject()
501 dqput(transfer_to[PRJQUOTA]); in ext4_ioctl_setproject()
/Linux-v5.4/include/linux/
Dquotaops.h108 int __dquot_transfer(struct inode *inode, struct dquot **transfer_to);
/Linux-v5.4/fs/f2fs/
Dfile.c2803 struct dquot *transfer_to[MAXQUOTAS] = {}; in f2fs_transfer_project_quota() local
2808 transfer_to[PRJQUOTA] = dqget(sb, make_kqid_projid(kprojid)); in f2fs_transfer_project_quota()
2809 if (!IS_ERR(transfer_to[PRJQUOTA])) { in f2fs_transfer_project_quota()
2810 err = __dquot_transfer(inode, transfer_to); in f2fs_transfer_project_quota()
2813 dqput(transfer_to[PRJQUOTA]); in f2fs_transfer_project_quota()