Home
last modified time | relevance | path

Searched refs:bitmap_offset (Results 1 – 4 of 4) sorted by relevance

/external/qemu/block/
Dvpc.c242 uint64_t bitmap_offset, block_offset; in get_sector_offset() local
251 bitmap_offset = 512 * (uint64_t) s->pagetable[pagetable_index]; in get_sector_offset()
252 block_offset = bitmap_offset + s->bitmap_size + (512 * pageentry_index); in get_sector_offset()
259 if (write && (s->last_bitmap_offset != bitmap_offset)) { in get_sector_offset()
262 s->last_bitmap_offset = bitmap_offset; in get_sector_offset()
264 bdrv_pwrite_sync(bs->file, bitmap_offset, bitmap, s->bitmap_size); in get_sector_offset()
274 if (bitmap_offset != s->last_bitmap) in get_sector_offset()
276 lseek(s->fd, bitmap_offset, SEEK_SET); in get_sector_offset()
278 s->last_bitmap = bitmap_offset; in get_sector_offset()
290 lseek(s->fd, bitmap_offset + (pageentry_index / 8), SEEK_SET); in get_sector_offset()
Dbochs.c162 int64_t extent_index, extent_offset, bitmap_offset; in seek_to_sector() local
173 bitmap_offset = s->data_offset + (512 * s->catalog_bitmap[extent_index] * in seek_to_sector()
177 if (bdrv_pread(bs->file, bitmap_offset + (extent_offset / 8), in seek_to_sector()
186 return bitmap_offset + (512 * (s->bitmap_blocks + extent_offset)); in seek_to_sector()
/external/kernel-headers/original/linux/raid/
Dmd_p.h224 __u32 bitmap_offset; /* sectors after start of superblock that bitmap starts member
Dmd_k.h233 long bitmap_offset; /* offset from superblock of member