Lines Matching refs:dinfo
92 struct v2_disk_dqinfo dinfo; in v2_read_file_info() local
112 size = sb->s_op->quota_read(sb, type, (char *)&dinfo, in v2_read_file_info()
141 info->dqi_bgrace = le32_to_cpu(dinfo.dqi_bgrace); in v2_read_file_info()
142 info->dqi_igrace = le32_to_cpu(dinfo.dqi_igrace); in v2_read_file_info()
147 qinfo->dqi_blocks = le32_to_cpu(dinfo.dqi_blocks); in v2_read_file_info()
148 qinfo->dqi_free_blk = le32_to_cpu(dinfo.dqi_free_blk); in v2_read_file_info()
149 qinfo->dqi_free_entry = le32_to_cpu(dinfo.dqi_free_entry); in v2_read_file_info()
193 struct v2_disk_dqinfo dinfo; in v2_write_file_info() local
202 dinfo.dqi_bgrace = cpu_to_le32(info->dqi_bgrace); in v2_write_file_info()
203 dinfo.dqi_igrace = cpu_to_le32(info->dqi_igrace); in v2_write_file_info()
205 dinfo.dqi_flags = cpu_to_le32(0); in v2_write_file_info()
207 dinfo.dqi_blocks = cpu_to_le32(qinfo->dqi_blocks); in v2_write_file_info()
208 dinfo.dqi_free_blk = cpu_to_le32(qinfo->dqi_free_blk); in v2_write_file_info()
209 dinfo.dqi_free_entry = cpu_to_le32(qinfo->dqi_free_entry); in v2_write_file_info()
210 size = sb->s_op->quota_write(sb, type, (char *)&dinfo, in v2_write_file_info()