Home
last modified time | relevance | path

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

/fs/
Dquota_v1.c58 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, sizeof(struct v1_disk_dqblk), v… in v1_read_dqblk()
67 v1_disk2mem_dqblk(&dquot->dq_dqb, &dqblk); in v1_read_dqblk()
80 struct v1_disk_dqblk dqblk; in v1_commit_dqblk() local
82 v1_mem2disk_dqblk(&dqblk, &dquot->dq_dqb); in v1_commit_dqblk()
84 dqblk.dqb_btime = sb_dqopt(dquot->dq_sb)->info[type].dqi_bgrace; in v1_commit_dqblk()
85 dqblk.dqb_itime = sb_dqopt(dquot->dq_sb)->info[type].dqi_igrace; in v1_commit_dqblk()
89 ret = dquot->dq_sb->s_op->quota_write(dquot->dq_sb, type, (char *)&dqblk, in v1_commit_dqblk()
148 struct v1_disk_dqblk dqblk; in v1_read_file_info() local
[all …]
Dquota.c441 struct if_dqblk __user *dqblk; in sys32_quotactl() local
453 dqblk = compat_alloc_user_space(sizeof(struct if_dqblk)); in sys32_quotactl()
455 ret = sys_quotactl(cmd, special, id, dqblk); in sys32_quotactl()
458 if (copy_in_user(compat_dqblk, dqblk, sizeof(*compat_dqblk)) || in sys32_quotactl()
459 get_user(data, &dqblk->dqb_valid) || in sys32_quotactl()
464 dqblk = compat_alloc_user_space(sizeof(struct if_dqblk)); in sys32_quotactl()
467 if (copy_in_user(dqblk, compat_dqblk, sizeof(*compat_dqblk)) || in sys32_quotactl()
469 put_user(data, &dqblk->dqb_valid)) in sys32_quotactl()
471 ret = sys_quotactl(cmd, special, id, dqblk); in sys32_quotactl()
/fs/ocfs2/
Dquota_local.c436 struct ocfs2_local_disk_dqblk *dqblk; in ocfs2_recover_local_quota_file() local
471 dqblk = (struct ocfs2_local_disk_dqblk *)(qbh->b_data + in ocfs2_recover_local_quota_file()
473 dquot = dqget(sb, le64_to_cpu(dqblk->dqb_id), type); in ocfs2_recover_local_quota_file()
479 (unsigned)le64_to_cpu(dqblk->dqb_id), in ocfs2_recover_local_quota_file()
495 spacechange = le64_to_cpu(dqblk->dqb_spacemod); in ocfs2_recover_local_quota_file()
496 inodechange = le64_to_cpu(dqblk->dqb_inodemod); in ocfs2_recover_local_quota_file()
837 struct ocfs2_local_disk_dqblk *dqblk; in olq_set_dquot() local
840 dqblk = (struct ocfs2_local_disk_dqblk *)(bh->b_data in olq_set_dquot()
843 dqblk->dqb_id = cpu_to_le64(od->dq_dquot.dq_id); in olq_set_dquot()
845 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot()
[all …]
Dquota_global.c454 struct ocfs2_global_disk_dqblk dqblk; in __ocfs2_sync_dquot() local
458 err = sb->s_op->quota_read(sb, type, (char *)&dqblk, in __ocfs2_sync_dquot()
480 ocfs2_global_disk2memdqb(dquot, &dqblk); in __ocfs2_sync_dquot()