Home
last modified time | relevance | path

Searched refs:dqblk (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/quota/
Dquota_v1.c58 struct v1_disk_dqblk dqblk; in v1_read_dqblk() local
65 memset(&dqblk, 0, sizeof(struct v1_disk_dqblk)); in v1_read_dqblk()
66 dquot->dq_sb->s_op->quota_read(dquot->dq_sb, type, (char *)&dqblk, in v1_read_dqblk()
70 v1_disk2mem_dqblk(&dquot->dq_dqb, &dqblk); in v1_read_dqblk()
85 struct v1_disk_dqblk dqblk; in v1_commit_dqblk() local
87 v1_mem2disk_dqblk(&dqblk, &dquot->dq_dqb); in v1_commit_dqblk()
90 dqblk.dqb_btime = in v1_commit_dqblk()
92 dqblk.dqb_itime = in v1_commit_dqblk()
98 (char *)&dqblk, sizeof(struct v1_disk_dqblk), in v1_commit_dqblk()
161 struct v1_disk_dqblk dqblk; in v1_read_file_info() local
[all …]
Dcompat.c49 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-4.19.296/fs/ocfs2/
Dquota_local.c465 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 …]
Dquota_global.c490 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()