Home
last modified time | relevance | path

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

/linux-6.12.1/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 …]
/linux-6.12.1/fs/xfs/scrub/
Dquota_repair.c301 struct xfs_dqblk *dqblk; in xrep_quota_block() local
323 dqblk = bp->b_addr; in xrep_quota_block()
324 ddq = &dqblk[0].dd_diskdq; in xrep_quota_block()
341 dqblk = bp->b_addr; in xrep_quota_block()
343 for (i = 0; i < qi->qi_dqperchunk; i++, dqblk++) { in xrep_quota_block()
344 ddq = &dqblk->dd_diskdq; in xrep_quota_block()
369 uuid_copy(&dqblk->dd_uuid, &sc->mp->m_sb.sb_meta_uuid); in xrep_quota_block()
370 xfs_update_cksum((char *)dqblk, sizeof(struct xfs_dqblk), in xrep_quota_block()
372 dqblk->dd_lsn = 0; in xrep_quota_block()
/linux-6.12.1/fs/ocfs2/
Dquota_local.c465 struct ocfs2_local_disk_dqblk *dqblk; in ocfs2_recover_local_quota_file() local
497 dqblk = (struct ocfs2_local_disk_dqblk *)(qbh->b_data + in ocfs2_recover_local_quota_file()
501 le64_to_cpu(dqblk->dqb_id))); in ocfs2_recover_local_quota_file()
507 (unsigned)le64_to_cpu(dqblk->dqb_id), in ocfs2_recover_local_quota_file()
530 spacechange = le64_to_cpu(dqblk->dqb_spacemod); in ocfs2_recover_local_quota_file()
531 inodechange = le64_to_cpu(dqblk->dqb_inodemod); in ocfs2_recover_local_quota_file()
876 struct ocfs2_local_disk_dqblk *dqblk; in olq_set_dquot() local
879 dqblk = (struct ocfs2_local_disk_dqblk *)(bh->b_data in olq_set_dquot()
882 dqblk->dqb_id = cpu_to_le64(from_kqid(&init_user_ns, in olq_set_dquot()
885 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot()
[all …]
Dquota_global.c496 struct ocfs2_global_disk_dqblk dqblk; in __ocfs2_sync_dquot() local
500 err = sb->s_op->quota_read(sb, type, (char *)&dqblk, in __ocfs2_sync_dquot()
522 ocfs2_global_disk2memdqb(dquot, &dqblk); in __ocfs2_sync_dquot()
/linux-6.12.1/fs/xfs/
Dxfs_dquot.c1251 struct xfs_dqblk *dqblk; in xfs_qm_dqflush() local
1288 dqblk = xfs_buf_offset(bp, dqp->q_bufoffset); in xfs_qm_dqflush()
1289 xfs_dquot_to_disk(&dqblk->dd_diskdq, dqp); in xfs_qm_dqflush()
1309 dqblk->dd_lsn = cpu_to_be64(dqp->q_logitem.qli_item.li_lsn); in xfs_qm_dqflush()
1310 xfs_update_cksum((char *)dqblk, sizeof(struct xfs_dqblk), in xfs_qm_dqflush()