Lines Matching refs:lba_t
63 lba_t ch_block; /* Block address in image. */
87 static lba_t image_size;
134 image_chunk_find(lba_t blk)
143 (lba_t)(ch->ch_block + (ch->ch_size / secsz)) > blk) {
170 image_chunk_memory(struct chunk *ch, lba_t blk)
214 image_chunk_skipto(lba_t to)
217 lba_t from;
251 image_chunk_append(lba_t blk, size_t sz, off_t ofs, int fd)
258 blk == (lba_t)(ch->ch_block + (ch->ch_size / secsz)) &&
282 image_chunk_copyin(lba_t blk, void *buf, size_t sz, off_t ofs, int fd)
350 image_copyin_stream(lba_t blk, int fd, uint64_t *sizep)
399 image_copyin_mapped(lba_t blk, int fd, uint64_t *sizep)
493 image_copyin(lba_t blk, int fd, uint64_t *sizep)
603 image_copyout_region(int fd, lba_t blk, lba_t size)
620 sz = ((lba_t)sz < size) ? sz : (size_t)size;
642 image_data(lba_t blk, lba_t size)
645 lba_t lim;
662 lba_t
670 image_set_size(lba_t blk)
681 image_write(lba_t blk, void *buf, ssize_t len)