Searched refs:dqblk (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/fs/quota/ |
D | quota_v1.c | 59 struct v1_disk_dqblk dqblk; in v1_read_dqblk() local 66 memset(&dqblk, 0, sizeof(struct v1_disk_dqblk)); in v1_read_dqblk() 67 dquot->dq_sb->s_op->quota_read(dquot->dq_sb, type, (char *)&dqblk, in v1_read_dqblk() 71 v1_disk2mem_dqblk(&dquot->dq_dqb, &dqblk); in v1_read_dqblk() 86 struct v1_disk_dqblk dqblk; in v1_commit_dqblk() local 88 v1_mem2disk_dqblk(&dqblk, &dquot->dq_dqb); in v1_commit_dqblk() 91 dqblk.dqb_btime = in v1_commit_dqblk() 93 dqblk.dqb_itime = in v1_commit_dqblk() 99 (char *)&dqblk, sizeof(struct v1_disk_dqblk), in v1_commit_dqblk() 162 struct v1_disk_dqblk dqblk; in v1_read_file_info() local [all …]
|
D | compat.c | 49 struct if_dqblk __user *dqblk; in COMPAT_SYSCALL_DEFINE4() local 61 dqblk = compat_alloc_user_space(sizeof(struct if_dqblk)); in COMPAT_SYSCALL_DEFINE4() 63 ret = kernel_quotactl(cmd, special, id, dqblk); in COMPAT_SYSCALL_DEFINE4() 66 if (copy_in_user(compat_dqblk, dqblk, sizeof(*compat_dqblk)) || in COMPAT_SYSCALL_DEFINE4() 67 get_user(data, &dqblk->dqb_valid) || in COMPAT_SYSCALL_DEFINE4() 72 dqblk = compat_alloc_user_space(sizeof(struct if_dqblk)); in COMPAT_SYSCALL_DEFINE4() 75 if (copy_in_user(dqblk, compat_dqblk, sizeof(*compat_dqblk)) || in COMPAT_SYSCALL_DEFINE4() 77 put_user(data, &dqblk->dqb_valid)) in COMPAT_SYSCALL_DEFINE4() 79 ret = kernel_quotactl(cmd, special, id, dqblk); in COMPAT_SYSCALL_DEFINE4()
|
/Linux-v5.4/fs/ocfs2/ |
D | quota_local.c | 465 struct ocfs2_local_disk_dqblk *dqblk; in ocfs2_recover_local_quota_file() local 496 dqblk = (struct ocfs2_local_disk_dqblk *)(qbh->b_data + in ocfs2_recover_local_quota_file() 500 le64_to_cpu(dqblk->dqb_id))); in ocfs2_recover_local_quota_file() 506 (unsigned)le64_to_cpu(dqblk->dqb_id), in ocfs2_recover_local_quota_file() 528 spacechange = le64_to_cpu(dqblk->dqb_spacemod); in ocfs2_recover_local_quota_file() 529 inodechange = le64_to_cpu(dqblk->dqb_inodemod); in ocfs2_recover_local_quota_file() 872 struct ocfs2_local_disk_dqblk *dqblk; in olq_set_dquot() local 875 dqblk = (struct ocfs2_local_disk_dqblk *)(bh->b_data in olq_set_dquot() 878 dqblk->dqb_id = cpu_to_le64(from_kqid(&init_user_ns, in olq_set_dquot() 881 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot() [all …]
|
D | quota_global.c | 490 struct ocfs2_global_disk_dqblk dqblk; in __ocfs2_sync_dquot() local 494 err = sb->s_op->quota_read(sb, type, (char *)&dqblk, in __ocfs2_sync_dquot() 516 ocfs2_global_disk2memdqb(dquot, &dqblk); in __ocfs2_sync_dquot()
|