Lines Matching refs:PAYLOAD_BLOCK_SIZE
37 #define PAYLOAD_BLOCK_SIZE (16*1024*1024)
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 - 1);