Home
last modified time | relevance | path

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

/external/u-boot/lib/
Dimage-sparse.c119 debug("chunk_data_sz: 0x%x\n", chunk_header->chunk_sz); in write_sparse_image()
132 chunk_data_sz = sparse_header->blk_sz * chunk_header->chunk_sz; in write_sparse_image()
163 total_blocks += chunk_header->chunk_sz; in write_sparse_image()
229 total_blocks += chunk_header->chunk_sz; in write_sparse_image()
239 total_blocks += chunk_header->chunk_sz; in write_sparse_image()
Dcrc32.c232 uInt len, uInt chunk_sz) in crc32_wd() argument
242 if (chunk > chunk_sz) in crc32_wd()
243 chunk = chunk_sz; in crc32_wd()
256 unsigned char *output, unsigned int chunk_sz) in crc32_wd_buf() argument
260 crc = crc32_wd(0, input, ilen, chunk_sz); in crc32_wd_buf()
Dmd5.c288 unsigned int chunk_sz) in md5_wd() argument
303 if (chunk > chunk_sz) in md5_wd()
304 chunk = chunk_sz; in md5_wd()
Dsha256.c264 unsigned char *output, unsigned int chunk_sz) in sha256_csum_wd() argument
280 if (chunk > chunk_sz) in sha256_csum_wd()
281 chunk = chunk_sz; in sha256_csum_wd()
Dsha1.c316 unsigned char *output, unsigned int chunk_sz) in sha1_csum_wd() argument
331 if (chunk > chunk_sz) in sha1_csum_wd()
332 chunk = chunk_sz; in sha1_csum_wd()
/external/u-boot/include/u-boot/
Dmd5.h32 unsigned int chunk_sz);
Dcrc.h28 unsigned char *output, uint chunk_sz);
Dsha256.h23 unsigned char *output, unsigned int chunk_sz);
Dsha1.h82 unsigned char *output, unsigned int chunk_sz);
/external/u-boot/include/
Dsparse_format.h38 __le32 chunk_sz; /* in blocks in output image */ member
Dhash.h35 unsigned char *output, unsigned int chunk_sz);
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sockmap.c412 static int msg_verify_data(struct msghdr *msg, int size, int chunk_sz) in msg_verify_data() argument
429 if (bytes_cnt == chunk_sz) { in msg_verify_data()
537 int chunk_sz = opt->sendpage ? in msg_loop() local
541 errno = msg_verify_data(&msg, recv, chunk_sz); in msg_loop()
549 chunk_sz); in msg_loop()
/external/avb/
Davbtool748 (chunk_type, _, chunk_sz, total_sz) = struct.unpack(ImageChunk.FORMAT,
753 if data_sz != (chunk_sz * self.block_size):
756 format(data_sz, chunk_sz*self.block_size))
760 chunk_sz*self.block_size,
773 chunk_sz*self.block_size,
783 chunk_sz*self.block_size,
794 offset += chunk_sz
795 output_offset += chunk_sz*self.block_size
1035 chunk_sz = num_to_keep/self.block_size
1041 chunk_sz,