Home
last modified time | relevance | path

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

/fs/quota/
Dquota_v1.c59 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 …]
/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()
/fs/xfs/
Dxfs_dquot.c1220 struct xfs_dqblk *dqblk; in xfs_qm_dqflush() local
1254 dqblk = bp->b_addr + dqp->q_bufoffset; in xfs_qm_dqflush()
1255 xfs_dquot_to_disk(&dqblk->dd_diskdq, dqp); in xfs_qm_dqflush()
1275 dqblk->dd_lsn = cpu_to_be64(dqp->q_logitem.qli_item.li_lsn); in xfs_qm_dqflush()
1276 xfs_update_cksum((char *)dqblk, sizeof(struct xfs_dqblk), in xfs_qm_dqflush()