Home
last modified time | relevance | path

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

/freebsd/usr.bin/mkimg/
H A Dvhdx.c39 #define PAYLOAD_BLOCK_SIZE (16*1024*1024) macro
216 imagesz = (imagesz + PAYLOAD_BLOCK_SIZE - 1) & ~(PAYLOAD_BLOCK_SIZE - 1); in vhdx_resize()
349 le32enc(metadata + data_ptr, PAYLOAD_BLOCK_SIZE); in vhdx_write_metadata()
419 chunk_ratio = ((1024*1024*8ULL) * secsz) / PAYLOAD_BLOCK_SIZE; in vhdx_write_bat()
420 data_block_count = (image_size + PAYLOAD_BLOCK_SIZE - 1) / PAYLOAD_BLOCK_SIZE; in vhdx_write_bat()
436 payload_offset += (PAYLOAD_BLOCK_SIZE / SIZE_1MB); in vhdx_write_bat()
488 imgsz = (rawsz + PAYLOAD_BLOCK_SIZE - 1) & ~(PAYLOAD_BLOCK_SIZE - 1); in vhdx_write()