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