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

/freebsd-current/usr.bin/mkimg/
H A Dvhdx.c37 #define PAYLOAD_BLOCK_SIZE (16*1024*1024) macro
214 imagesz = (imagesz + PAYLOAD_BLOCK_SIZE - 1) & ~(PAYLOAD_BLOCK_SIZE - 1);
347 le32enc(metadata + data_ptr, PAYLOAD_BLOCK_SIZE);
417 chunk_ratio = ((1024*1024*8ULL) * secsz) / PAYLOAD_BLOCK_SIZE;
418 data_block_count = (image_size + PAYLOAD_BLOCK_SIZE - 1) / PAYLOAD_BLOCK_SIZE;
434 payload_offset += (PAYLOAD_BLOCK_SIZE / SIZE_1MB);
486 imgsz = (rawsz + PAYLOAD_BLOCK_SIZE - 1) & ~(PAYLOAD_BLOCK_SIZE
[all...]

Completed in 172 milliseconds