Searched refs:transfer_to (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/fs/quota/ |
H A D | dquot.c | 1997 int __dquot_transfer(struct inode *inode, struct dquot **transfer_to) in __dquot_transfer() argument 2044 if (!transfer_to[cnt]) in __dquot_transfer() 2052 ret = dquot_add_inodes(transfer_to[cnt], inode_usage, in __dquot_transfer() 2056 ret = dquot_add_space(transfer_to[cnt], cur_space, rsv_space, in __dquot_transfer() 2059 spin_lock(&transfer_to[cnt]->dq_dqb_lock); in __dquot_transfer() 2060 dquot_decr_inodes(transfer_to[cnt], inode_usage); in __dquot_transfer() 2061 spin_unlock(&transfer_to[cnt]->dq_dqb_lock); in __dquot_transfer() 2090 rcu_assign_pointer(dquots[cnt], transfer_to[cnt]); in __dquot_transfer() 2102 mark_all_dquot_dirty((struct dquot __rcu **)transfer_to); in __dquot_transfer() 2111 transfer_to[cnt] = transfer_from[cnt]; in __dquot_transfer() [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | file.c | 1123 struct dquot *transfer_to[MAXQUOTAS] = { }; in ocfs2_setattr() local 1232 transfer_to[USRQUOTA] = dqget(sb, make_kqid_uid(attr->ia_uid)); in ocfs2_setattr() 1233 if (IS_ERR(transfer_to[USRQUOTA])) { in ocfs2_setattr() 1234 status = PTR_ERR(transfer_to[USRQUOTA]); in ocfs2_setattr() 1235 transfer_to[USRQUOTA] = NULL; in ocfs2_setattr() 1242 transfer_to[GRPQUOTA] = dqget(sb, make_kqid_gid(attr->ia_gid)); in ocfs2_setattr() 1243 if (IS_ERR(transfer_to[GRPQUOTA])) { in ocfs2_setattr() 1244 status = PTR_ERR(transfer_to[GRPQUOTA]); in ocfs2_setattr() 1245 transfer_to[GRPQUOTA] = NULL; in ocfs2_setattr() 1257 status = __dquot_transfer(inode, transfer_to); in ocfs2_setattr() [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | ioctl.c | 712 struct dquot *transfer_to[MAXQUOTAS] = { }; in ext4_ioctl_setproject() local 763 transfer_to[PRJQUOTA] = dqget(sb, make_kqid_projid(kprojid)); in ext4_ioctl_setproject() 764 if (!IS_ERR(transfer_to[PRJQUOTA])) { in ext4_ioctl_setproject() 770 err = __dquot_transfer(inode, transfer_to); in ext4_ioctl_setproject() 772 dqput(transfer_to[PRJQUOTA]); in ext4_ioctl_setproject()
|
/openbmc/linux/include/linux/ |
H A D | quotaops.h | 118 int __dquot_transfer(struct inode *inode, struct dquot **transfer_to);
|
/openbmc/linux/fs/f2fs/ |
H A D | file.c | 3133 struct dquot *transfer_to[MAXQUOTAS] = {}; in f2fs_transfer_project_quota() local 3138 transfer_to[PRJQUOTA] = dqget(sb, make_kqid_projid(kprojid)); in f2fs_transfer_project_quota() 3139 if (IS_ERR(transfer_to[PRJQUOTA])) in f2fs_transfer_project_quota() 3140 return PTR_ERR(transfer_to[PRJQUOTA]); in f2fs_transfer_project_quota() 3142 err = __dquot_transfer(inode, transfer_to); in f2fs_transfer_project_quota() 3145 dqput(transfer_to[PRJQUOTA]); in f2fs_transfer_project_quota()
|