Home
last modified time | relevance | path

Searched refs:cur_sector (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/block/
H A Dblklogwrites.c130 uint64_t cur_sector = 1; in blk_log_writes_find_cur_log_sector() local
136 int read_ret = bdrv_pread(log, cur_sector << sector_bits, in blk_log_writes_find_cur_log_sector()
151 ++cur_sector; in blk_log_writes_find_cur_log_sector()
158 cur_sector += le64_to_cpu(cur_entry.nr_sectors); in blk_log_writes_find_cur_log_sector()
164 return cur_sector; in blk_log_writes_find_cur_log_sector()
/openbmc/qemu/migration/
H A Dblock-dirty-bitmap.c123 uint64_t cur_sector; member
694 uint32_t nr_sectors = MIN(dbms->total_sectors - dbms->cur_sector, in bulk_phase_send_chunk()
697 send_bitmap_bits(f, s, dbms, dbms->cur_sector, nr_sectors); in bulk_phase_send_chunk()
699 dbms->cur_sector += nr_sectors; in bulk_phase_send_chunk()
700 if (dbms->cur_sector >= dbms->total_sectors) { in bulk_phase_send_chunk()
782 dbms->total_sectors - dbms->cur_sector; in dirty_bitmap_state_pending()
/openbmc/linux/drivers/block/
H A Dswim3.c183 int cur_sector; /* last sector we saw go past */ member
695 fs->cur_sector = sw->csect; in swim3_interrupt()
1152 fs->cur_sector = -1; in swim3_add_device()