Home
last modified time | relevance | path

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

/linux-4.19.296/fs/quota/
Ddquot.c2008 int __dquot_transfer(struct inode *inode, struct dquot **transfer_to) in __dquot_transfer() argument
2053 if (!transfer_to[cnt]) in __dquot_transfer()
2060 ret = dquot_add_inodes(transfer_to[cnt], inode_usage, in __dquot_transfer()
2064 ret = dquot_add_space(transfer_to[cnt], cur_space, rsv_space, in __dquot_transfer()
2067 spin_lock(&transfer_to[cnt]->dq_dqb_lock); in __dquot_transfer()
2068 dquot_decr_inodes(transfer_to[cnt], inode_usage); in __dquot_transfer()
2069 spin_unlock(&transfer_to[cnt]->dq_dqb_lock); in __dquot_transfer()
2098 i_dquot(inode)[cnt] = transfer_to[cnt]; in __dquot_transfer()
2104 mark_all_dquot_dirty(transfer_to); in __dquot_transfer()
2111 transfer_to[cnt] = transfer_from[cnt]; in __dquot_transfer()
[all …]
/linux-4.19.296/fs/ext4/
Dioctl.c431 struct dquot *transfer_to[MAXQUOTAS] = { }; in ext4_ioctl_setproject() local
482 transfer_to[PRJQUOTA] = dqget(sb, make_kqid_projid(kprojid)); in ext4_ioctl_setproject()
483 if (!IS_ERR(transfer_to[PRJQUOTA])) { in ext4_ioctl_setproject()
489 err = __dquot_transfer(inode, transfer_to); in ext4_ioctl_setproject()
491 dqput(transfer_to[PRJQUOTA]); in ext4_ioctl_setproject()
/linux-4.19.296/fs/ocfs2/
Dfile.c1138 struct dquot *transfer_to[MAXQUOTAS] = { }; in ocfs2_setattr() local
1244 transfer_to[USRQUOTA] = dqget(sb, make_kqid_uid(attr->ia_uid)); in ocfs2_setattr()
1245 if (IS_ERR(transfer_to[USRQUOTA])) { in ocfs2_setattr()
1246 status = PTR_ERR(transfer_to[USRQUOTA]); in ocfs2_setattr()
1253 transfer_to[GRPQUOTA] = dqget(sb, make_kqid_gid(attr->ia_gid)); in ocfs2_setattr()
1254 if (IS_ERR(transfer_to[GRPQUOTA])) { in ocfs2_setattr()
1255 status = PTR_ERR(transfer_to[GRPQUOTA]); in ocfs2_setattr()
1267 status = __dquot_transfer(inode, transfer_to); in ocfs2_setattr()
1303 dqput(transfer_to[qtype]); in ocfs2_setattr()
/linux-4.19.296/include/linux/
Dquotaops.h120 int __dquot_transfer(struct inode *inode, struct dquot **transfer_to);
/linux-4.19.296/fs/f2fs/
Dfile.c2604 struct dquot *transfer_to[MAXQUOTAS] = {}; in f2fs_ioc_setproject() local
2645 transfer_to[PRJQUOTA] = dqget(sb, make_kqid_projid(kprojid)); in f2fs_ioc_setproject()
2646 if (!IS_ERR(transfer_to[PRJQUOTA])) { in f2fs_ioc_setproject()
2647 err = __dquot_transfer(inode, transfer_to); in f2fs_ioc_setproject()
2648 dqput(transfer_to[PRJQUOTA]); in f2fs_ioc_setproject()