Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ppc/
H A Dspapr_ovec.c136 long bitmap_offset) in guest_byte_to_bitmap() argument
142 bitmap_set(bitmap, bitmap_offset + i, 1); in guest_byte_to_bitmap()
147 static uint8_t guest_byte_from_bitmap(unsigned long *bitmap, long bitmap_offset) in guest_byte_from_bitmap() argument
153 if (test_bit(bitmap_offset + i, bitmap)) { in guest_byte_from_bitmap()
/openbmc/qemu/block/
H A Dbochs.c217 uint64_t extent_index, extent_offset, bitmap_offset; in seek_to_sector() local
229 bitmap_offset = s->data_offset + in seek_to_sector()
234 ret = bdrv_co_pread(bs->file, bitmap_offset + (extent_offset / 8), 1, in seek_to_sector()
244 return bitmap_offset + (512 * (s->bitmap_blocks + extent_offset)); in seek_to_sector()
H A Dvpc.c495 uint64_t bitmap_offset, block_offset; in get_image_offset() local
506 bitmap_offset = 512 * (uint64_t) s->pagetable[pagetable_index]; in get_image_offset()
507 block_offset = bitmap_offset + s->bitmap_size + offset_in_block; in get_image_offset()
514 if (write && (s->last_bitmap_offset != bitmap_offset)) { in get_image_offset()
518 s->last_bitmap_offset = bitmap_offset; in get_image_offset()
520 r = bdrv_co_pwrite_sync(bs->file, bitmap_offset, s->bitmap_size, bitmap, 0); in get_image_offset()
H A Dmirror.c1344 int64_t bitmap_offset, bitmap_end; in do_sync_target_write() local
1391 bitmap_offset = QEMU_ALIGN_UP(offset, job->granularity); in do_sync_target_write()
1393 if (bitmap_offset < bitmap_end) { in do_sync_target_write()
1394 bdrv_reset_dirty_bitmap(job->dirty_bitmap, bitmap_offset, in do_sync_target_write()
1395 bitmap_end - bitmap_offset); in do_sync_target_write()
1433 bitmap_offset = QEMU_ALIGN_DOWN(offset, job->granularity); in do_sync_target_write()
1435 bdrv_set_dirty_bitmap(job->dirty_bitmap, bitmap_offset, in do_sync_target_write()
1436 bitmap_end - bitmap_offset); in do_sync_target_write()
/openbmc/linux/arch/um/drivers/
H A Dubd_kern.c147 int bitmap_offset; member
177 .bitmap_offset = 0, \
510 int bitmap_offset; in ubd_file_size() local
523 &mtime, &size, &sector_size, &align, &bitmap_offset); in ubd_file_size()
741 back_ptr, &ubd_dev->cow.bitmap_offset, in ubd_open_dev()
748 &ubd_dev->cow.bitmap_offset, in ubd_open_dev()
776 ubd_dev->cow.bitmap_offset, in ubd_open_dev()
1212 *cow_offset += bitmap_offset; in cowify_bitmap()
1217 __u64 bitmap_offset, __u64 bitmap_len) in cowify_req() argument
1233 &segment->cow_offset, bitmap, bitmap_offset, in cowify_req()
[all …]
H A Dcow.h23 int bitmap_offset, unsigned long *bitmap_len_out,
H A Dcow_user.c126 int bitmap_offset, unsigned long *bitmap_len_out, in cow_sizes() argument
132 *data_offset_out = bitmap_offset + *bitmap_len_out; in cow_sizes()
141 *data_offset_out = bitmap_offset + *bitmap_len_out; in cow_sizes()
/openbmc/qemu/include/exec/
H A Dramblock.h58 off_t bitmap_offset; member
/openbmc/linux/fs/btrfs/tests/
H A Dfree-space-tests.c161 u64 bitmap_offset = (u64)(BITS_PER_BITMAP * sectorsize); in test_bitmaps_and_extents() local
270 ret = test_add_free_space_entry(cache, bitmap_offset + SZ_4M, SZ_4M, 1); in test_bitmaps_and_extents()
276 ret = test_add_free_space_entry(cache, bitmap_offset - SZ_1M, in test_bitmaps_and_extents()
283 ret = btrfs_remove_free_space(cache, bitmap_offset + SZ_1M, 5 * SZ_1M); in test_bitmaps_and_extents()
289 if (test_check_exists(cache, bitmap_offset + SZ_1M, 5 * SZ_1M)) { in test_bitmaps_and_extents()
/openbmc/qemu/hw/display/
H A Dqxl-logger.c174 if (draw->bitmap_offset) { in qxl_log_cmd_draw_compat()
176 draw->bitmap_offset); in qxl_log_cmd_draw_compat()
/openbmc/linux/drivers/video/fbdev/
H A Defifb.c30 u32 bitmap_offset; member
207 if ((file_header->bitmap_offset + bmp_pitch * bmp_height) > in efifb_show_boot_graphics()
235 efifb_copy_bmp(bgrt_image + file_header->bitmap_offset + in efifb_show_boot_graphics()
/openbmc/qemu/migration/
H A Dram.c2915 uint64_t bitmap_offset; member
2941 block->bitmap_offset = qemu_get_offset(file) + header_size; in mapped_ram_setup_ramblock()
2942 block->pages_offset = ROUND_UP(block->bitmap_offset + in mapped_ram_setup_ramblock()
2948 header->bitmap_offset = cpu_to_be64(block->bitmap_offset); in mapped_ram_setup_ramblock()
2980 header->bitmap_offset = be64_to_cpu(header->bitmap_offset); in mapped_ram_read_header()
3096 block->bitmap_offset); in ram_save_file_bmap()
3996 header.bitmap_offset) != bitmap_size) { in parse_ramblock_mapped_ram()
/openbmc/linux/include/uapi/linux/raid/
H A Dmd_p.h247 __le32 bitmap_offset; /* sectors after start of superblock that bitmap starts member
/openbmc/linux/fs/btrfs/
H A Dfree-space-cache.c2505 const u64 bitmap_offset = offset_to_bitmap(ctl, end); in steal_from_bitmap_to_end() local
2508 bitmap = tree_search_offset(ctl, bitmap_offset, 1, 0); in steal_from_bitmap_to_end()
2536 u64 bitmap_offset; in steal_from_bitmap_to_front() local
2542 bitmap_offset = offset_to_bitmap(ctl, info->offset); in steal_from_bitmap_to_front()
2544 if (bitmap_offset == info->offset) { in steal_from_bitmap_to_front()
2547 bitmap_offset = offset_to_bitmap(ctl, info->offset - 1); in steal_from_bitmap_to_front()
2550 bitmap = tree_search_offset(ctl, bitmap_offset, 1, 0); in steal_from_bitmap_to_front()
3514 u64 bitmap_offset = offset_to_bitmap(ctl, offset); in setup_cluster_bitmap() local
3526 if (!entry || entry->offset != bitmap_offset) { in setup_cluster_bitmap()
3527 entry = tree_search_offset(ctl, bitmap_offset, 1, 0); in setup_cluster_bitmap()
/openbmc/linux/drivers/gpu/drm/qxl/
H A Dqxl_dev.h681 uint16_t bitmap_offset; member
/openbmc/linux/drivers/md/
H A Dmd.c1826 (__s32)le32_to_cpu(sb->bitmap_offset); in super_1_validate()
2033 sb->bitmap_offset = cpu_to_le32((__u32)mddev->bitmap_info.offset); in super_1_sync()