Home
last modified time | relevance | path

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

/system/core/libsparse/
Dsparse_read.c144 uint32_t fill_val; in process_fill_chunk() local
148 if (chunk_size != sizeof(fill_val)) { in process_fill_chunk()
152 ret = read_all(fd, &fill_val, sizeof(fill_val)); in process_fill_chunk()
157 ret = sparse_file_add_fill(s, fill_val, len, block); in process_fill_chunk()
165 for (i = 0; i < (COPY_BUF_SIZE / sizeof(fill_val)); i++) { in process_fill_chunk()
166 fillbuf[i] = fill_val; in process_fill_chunk()
Doutput_file.c74 uint32_t fill_val);
367 uint32_t fill_val) in write_sparse_fill_chunk() argument
380 chunk_header.total_sz = CHUNK_HEADER_LEN + sizeof(fill_val); in write_sparse_fill_chunk()
385 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); in write_sparse_fill_chunk()
392 out->crc32 = sparse_crc32(out->crc32, &fill_val, sizeof(uint32_t)); in write_sparse_fill_chunk()
494 uint32_t fill_val) in write_normal_fill_chunk() argument
502 out->fill_buf[i] = fill_val; in write_normal_fill_chunk()
690 uint32_t fill_val) in write_fill_chunk() argument
692 return out->sparse_ops->write_fill_chunk(out, len, fill_val); in write_fill_chunk()
Doutput_file.h31 uint32_t fill_val);
Dbacked_block.h34 int backed_block_add_fill(struct backed_block_list *bbl, unsigned int fill_val,
Dsparse.c62 uint32_t fill_val, unsigned int len, unsigned int block) in sparse_file_add_fill() argument
64 return backed_block_add_fill(s->backed_block_list, fill_val, len, block); in sparse_file_add_fill()
Dbacked_block.c288 int backed_block_add_fill(struct backed_block_list *bbl, unsigned int fill_val, in backed_block_add_fill() argument
299 bb->fill.val = fill_val; in backed_block_add_fill()
/system/core/libsparse/include/sparse/
Dsparse.h91 uint32_t fill_val, unsigned int len, unsigned int block);