Lines Matching defs:offset
35 int offset, int req_length)
50 int bytes_to_copy = min_t(int, bvec->bv_len - offset,
57 offset, bytes_to_copy);
61 offset += bytes_to_copy;
69 if (offset >= bvec->bv_len) {
72 offset = 0;
198 int offset = read_start - round_down(index, PAGE_SIZE);
200 const int page_count = DIV_ROUND_UP(total_len + offset, PAGE_SIZE);
212 min_t(unsigned int, PAGE_SIZE - offset, total_len);
229 __bio_add_page(bio, page, len, offset);
230 offset = 0;
270 int offset;
292 res = squashfs_bio_read(sb, index, 2, &bio, &offset);
302 length = data[offset];
303 if (offset < bvec->bv_len - 1) {
304 length |= data[offset + 1] << 8;
333 res = squashfs_bio_read(sb, index, length, &bio, &offset);
342 res = msblk->thread_ops->decompress(msblk, bio, offset, length, output);
344 res = copy_bio_to_actor(bio, output, offset, length);