Lines Matching defs:off
178 grub_off_t off, grub_off_t byteoff, void *buf, grub_size_t len)
184 + ((grub_bfs_to_cpu16 (in->start) + off)
191 + grub_bfs_to_cpu16 (in->start) + off)
208 grub_off_t off, void *buf, grub_size_t len,
216 if (off + len > grub_bfs_to_cpu64 (ino->size))
220 if (off < (grub_bfs_to_cpu64 (ino->max_direct_range) << RANGE_SHIFT))
229 if (newpos > off)
233 read_size = newpos - off;
237 err = read_extent (disk, sb, &ino->direct[i], 0, off - pos,
242 off += read_size;
252 if (off < (grub_bfs_to_cpu64 (ino->max_direct_range) << RANGE_SHIFT))
255 if (off < (grub_bfs_to_cpu64 (ino->max_indirect_range) << RANGE_SHIFT))
275 if (newpos > off)
278 read_size = newpos - off;
282 err = read_extent (disk, sb, &entries[i], 0, off - pos,
290 off += read_size;
304 if (off < (grub_bfs_to_cpu64 (ino->max_indirect_range) << RANGE_SHIFT))
339 double_indirect_offset = off
402 off += read_size;