Home
last modified time | relevance | path

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

/openbmc/qemu/
H A Dqemu-img.c1257 * Compares two buffers chunk by chunk, where @chsize is the chunk size.
1258 * If @chsize is 0, default chunk size of BDRV_SECTOR_SIZE is used.
1261 * @pnum is set to the size of the buffer prefix aligned to @chsize that
1265 int64_t bytes, uint64_t chsize, int64_t *pnum) in compare_buffers()
1272 if (!chsize) { in compare_buffers()
1273 chsize = BDRV_SECTOR_SIZE; in compare_buffers()
1275 i = MIN(bytes, chsize); in compare_buffers()
1279 int64_t len = MIN(bytes - i, chsize); in compare_buffers()
1264 compare_buffers(const uint8_t * buf1,const uint8_t * buf2,int64_t bytes,uint64_t chsize,int64_t * pnum) compare_buffers() argument