Lines Matching refs:block
53 int sparse_file_add_data(struct sparse_file* s, void* data, unsigned int len, unsigned int block) { in sparse_file_add_data() argument
54 return backed_block_add_data(s->backed_block_list, data, len, block); in sparse_file_add_data()
58 unsigned int block) { in sparse_file_add_fill() argument
59 return backed_block_add_fill(s->backed_block_list, fill_val, len, block); in sparse_file_add_fill()
63 unsigned int len, unsigned int block) { in sparse_file_add_file() argument
64 return backed_block_add_file(s->backed_block_list, filename, file_offset, len, block); in sparse_file_add_file()
68 unsigned int block) { in sparse_file_add_fd() argument
69 return backed_block_add_fd(s->backed_block_list, fd, file_offset, len, block); in sparse_file_add_fd()
176 unsigned int block; member
178 …int (*write)(void* priv, const void* data, size_t len, unsigned int block, unsigned int nr_blocks);
184 return chk->write(chk->priv, data, len, chk->block, chk->nr_blocks); in foreach_chunk_write()
189 unsigned int block, unsigned int nr_blocks), in sparse_file_foreach_chunk() argument
199 chk.block = chk.nr_blocks = 0; in sparse_file_foreach_chunk()
207 chk.block = backed_block_block(bb); in sparse_file_foreach_chunk()