Searched refs:dqblk (Results 1 – 4 of 4) sorted by relevance
/fs/quota/ |
D | quota_v1.c | 58 struct v1_disk_dqblk dqblk; in v1_read_dqblk() local 64 memset(&dqblk, 0, sizeof(struct v1_disk_dqblk)); in v1_read_dqblk() 65 dquot->dq_sb->s_op->quota_read(dquot->dq_sb, type, (char *)&dqblk, in v1_read_dqblk() 69 v1_disk2mem_dqblk(&dquot->dq_dqb, &dqblk); in v1_read_dqblk() 84 struct v1_disk_dqblk dqblk; in v1_commit_dqblk() local 86 v1_mem2disk_dqblk(&dqblk, &dquot->dq_dqb); in v1_commit_dqblk() 89 dqblk.dqb_btime = in v1_commit_dqblk() 91 dqblk.dqb_itime = in v1_commit_dqblk() 97 (char *)&dqblk, sizeof(struct v1_disk_dqblk), in v1_commit_dqblk() 160 struct v1_disk_dqblk dqblk; in v1_read_file_info() local [all …]
|
D | compat.c | 47 struct if_dqblk __user *dqblk; in sys32_quotactl() local 59 dqblk = compat_alloc_user_space(sizeof(struct if_dqblk)); in sys32_quotactl() 61 ret = sys_quotactl(cmd, special, id, dqblk); in sys32_quotactl() 64 if (copy_in_user(compat_dqblk, dqblk, sizeof(*compat_dqblk)) || in sys32_quotactl() 65 get_user(data, &dqblk->dqb_valid) || in sys32_quotactl() 70 dqblk = compat_alloc_user_space(sizeof(struct if_dqblk)); in sys32_quotactl() 73 if (copy_in_user(dqblk, compat_dqblk, sizeof(*compat_dqblk)) || in sys32_quotactl() 75 put_user(data, &dqblk->dqb_valid)) in sys32_quotactl() 77 ret = sys_quotactl(cmd, special, id, dqblk); in sys32_quotactl()
|
/fs/ocfs2/ |
D | quota_local.c | 472 struct ocfs2_local_disk_dqblk *dqblk; in ocfs2_recover_local_quota_file() local 503 dqblk = (struct ocfs2_local_disk_dqblk *)(qbh->b_data + in ocfs2_recover_local_quota_file() 507 le64_to_cpu(dqblk->dqb_id))); in ocfs2_recover_local_quota_file() 513 (unsigned)le64_to_cpu(dqblk->dqb_id), in ocfs2_recover_local_quota_file() 535 spacechange = le64_to_cpu(dqblk->dqb_spacemod); in ocfs2_recover_local_quota_file() 536 inodechange = le64_to_cpu(dqblk->dqb_inodemod); in ocfs2_recover_local_quota_file() 881 struct ocfs2_local_disk_dqblk *dqblk; in olq_set_dquot() local 884 dqblk = (struct ocfs2_local_disk_dqblk *)(bh->b_data in olq_set_dquot() 887 dqblk->dqb_id = cpu_to_le64(from_kqid(&init_user_ns, in olq_set_dquot() 890 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot() [all …]
|
D | quota_global.c | 484 struct ocfs2_global_disk_dqblk dqblk; in __ocfs2_sync_dquot() local 488 err = sb->s_op->quota_read(sb, type, (char *)&dqblk, in __ocfs2_sync_dquot() 510 ocfs2_global_disk2memdqb(dquot, &dqblk); in __ocfs2_sync_dquot()
|