Lines Matching refs:dinfo
92 struct v2_disk_dqinfo dinfo; in v2_read_file_info() local
114 size = sb->s_op->quota_read(sb, type, (char *)&dinfo, in v2_read_file_info()
143 info->dqi_bgrace = le32_to_cpu(dinfo.dqi_bgrace); in v2_read_file_info()
144 info->dqi_igrace = le32_to_cpu(dinfo.dqi_igrace); in v2_read_file_info()
149 qinfo->dqi_blocks = le32_to_cpu(dinfo.dqi_blocks); in v2_read_file_info()
150 qinfo->dqi_free_blk = le32_to_cpu(dinfo.dqi_free_blk); in v2_read_file_info()
151 qinfo->dqi_free_entry = le32_to_cpu(dinfo.dqi_free_entry); in v2_read_file_info()
199 struct v2_disk_dqinfo dinfo; in v2_write_file_info() local
210 dinfo.dqi_bgrace = cpu_to_le32(info->dqi_bgrace); in v2_write_file_info()
211 dinfo.dqi_igrace = cpu_to_le32(info->dqi_igrace); in v2_write_file_info()
213 dinfo.dqi_flags = cpu_to_le32(0); in v2_write_file_info()
215 dinfo.dqi_blocks = cpu_to_le32(qinfo->dqi_blocks); in v2_write_file_info()
216 dinfo.dqi_free_blk = cpu_to_le32(qinfo->dqi_free_blk); in v2_write_file_info()
217 dinfo.dqi_free_entry = cpu_to_le32(qinfo->dqi_free_entry); in v2_write_file_info()
218 size = sb->s_op->quota_write(sb, type, (char *)&dinfo, in v2_write_file_info()