Lines Matching refs:dinfo
72 struct v2_disk_dqinfo dinfo; in v2_read_file_info() local
77 size = sb->s_op->quota_read(sb, type, (char *)&dinfo, in v2_read_file_info()
94 info->dqi_bgrace = le32_to_cpu(dinfo.dqi_bgrace); in v2_read_file_info()
95 info->dqi_igrace = le32_to_cpu(dinfo.dqi_igrace); in v2_read_file_info()
96 info->dqi_flags = le32_to_cpu(dinfo.dqi_flags); in v2_read_file_info()
99 qinfo->dqi_blocks = le32_to_cpu(dinfo.dqi_blocks); in v2_read_file_info()
100 qinfo->dqi_free_blk = le32_to_cpu(dinfo.dqi_free_blk); in v2_read_file_info()
101 qinfo->dqi_free_entry = le32_to_cpu(dinfo.dqi_free_entry); in v2_read_file_info()
113 struct v2_disk_dqinfo dinfo; in v2_write_file_info() local
120 dinfo.dqi_bgrace = cpu_to_le32(info->dqi_bgrace); in v2_write_file_info()
121 dinfo.dqi_igrace = cpu_to_le32(info->dqi_igrace); in v2_write_file_info()
122 dinfo.dqi_flags = cpu_to_le32(info->dqi_flags & DQF_MASK); in v2_write_file_info()
124 dinfo.dqi_blocks = cpu_to_le32(qinfo->dqi_blocks); in v2_write_file_info()
125 dinfo.dqi_free_blk = cpu_to_le32(qinfo->dqi_free_blk); in v2_write_file_info()
126 dinfo.dqi_free_entry = cpu_to_le32(qinfo->dqi_free_entry); in v2_write_file_info()
127 size = sb->s_op->quota_write(sb, type, (char *)&dinfo, in v2_write_file_info()