Home | History | Annotate | Download | only in block

Lines Matching full:le32_to_cpu

103 	((le32_to_cpu(bochs->version) == HEADER_VERSION) ||
104 (le32_to_cpu(bochs->version) == HEADER_V1)))
126 ((le32_to_cpu(bochs.version) != HEADER_VERSION) &&
127 (le32_to_cpu(bochs.version) != HEADER_V1))) {
131 if (le32_to_cpu(bochs.version) == HEADER_V1) {
138 s->catalog_size = le32_to_cpu(bochs.extra.redolog.catalog);
140 if (bdrv_pread(bs->file, le32_to_cpu(bochs.header), s->catalog_bitmap,
146 s->data_offset = le32_to_cpu(bochs.header) + (s->catalog_size * 4);
148 s->bitmap_blocks = 1 + (le32_to_cpu(bochs.extra.redolog.bitmap) - 1) / 512;
149 s->extent_blocks = 1 + (le32_to_cpu(bochs.extra.redolog.extent) - 1) / 512;
151 s->extent_size = le32_to_cpu(bochs.extra.redolog.extent);