Lines Matching refs:dbmp_le
156 struct dbmap_disk *dbmp_le; in dbMount() local
178 dbmp_le = (struct dbmap_disk *) mp->data; in dbMount()
179 bmp->db_mapsize = le64_to_cpu(dbmp_le->dn_mapsize); in dbMount()
180 bmp->db_nfree = le64_to_cpu(dbmp_le->dn_nfree); in dbMount()
181 bmp->db_l2nbperpage = le32_to_cpu(dbmp_le->dn_l2nbperpage); in dbMount()
182 bmp->db_numag = le32_to_cpu(dbmp_le->dn_numag); in dbMount()
188 bmp->db_maxlevel = le32_to_cpu(dbmp_le->dn_maxlevel); in dbMount()
189 bmp->db_maxag = le32_to_cpu(dbmp_le->dn_maxag); in dbMount()
190 bmp->db_agpref = le32_to_cpu(dbmp_le->dn_agpref); in dbMount()
191 bmp->db_aglevel = le32_to_cpu(dbmp_le->dn_aglevel); in dbMount()
192 bmp->db_agheight = le32_to_cpu(dbmp_le->dn_agheight); in dbMount()
193 bmp->db_agwidth = le32_to_cpu(dbmp_le->dn_agwidth); in dbMount()
194 bmp->db_agstart = le32_to_cpu(dbmp_le->dn_agstart); in dbMount()
195 bmp->db_agl2size = le32_to_cpu(dbmp_le->dn_agl2size); in dbMount()
207 bmp->db_agfree[i] = le64_to_cpu(dbmp_le->dn_agfree[i]); in dbMount()
208 bmp->db_agsize = le64_to_cpu(dbmp_le->dn_agsize); in dbMount()
209 bmp->db_maxfreebud = dbmp_le->dn_maxfreebud; in dbMount()
274 struct dbmap_disk *dbmp_le; in dbSync() local
291 dbmp_le = (struct dbmap_disk *) mp->data; in dbSync()
292 dbmp_le->dn_mapsize = cpu_to_le64(bmp->db_mapsize); in dbSync()
293 dbmp_le->dn_nfree = cpu_to_le64(bmp->db_nfree); in dbSync()
294 dbmp_le->dn_l2nbperpage = cpu_to_le32(bmp->db_l2nbperpage); in dbSync()
295 dbmp_le->dn_numag = cpu_to_le32(bmp->db_numag); in dbSync()
296 dbmp_le->dn_maxlevel = cpu_to_le32(bmp->db_maxlevel); in dbSync()
297 dbmp_le->dn_maxag = cpu_to_le32(bmp->db_maxag); in dbSync()
298 dbmp_le->dn_agpref = cpu_to_le32(bmp->db_agpref); in dbSync()
299 dbmp_le->dn_aglevel = cpu_to_le32(bmp->db_aglevel); in dbSync()
300 dbmp_le->dn_agheight = cpu_to_le32(bmp->db_agheight); in dbSync()
301 dbmp_le->dn_agwidth = cpu_to_le32(bmp->db_agwidth); in dbSync()
302 dbmp_le->dn_agstart = cpu_to_le32(bmp->db_agstart); in dbSync()
303 dbmp_le->dn_agl2size = cpu_to_le32(bmp->db_agl2size); in dbSync()
305 dbmp_le->dn_agfree[i] = cpu_to_le64(bmp->db_agfree[i]); in dbSync()
306 dbmp_le->dn_agsize = cpu_to_le64(bmp->db_agsize); in dbSync()
307 dbmp_le->dn_maxfreebud = bmp->db_maxfreebud; in dbSync()