Lines Matching defs:offset
70 unsigned int offset)
96 "bad entry in directory: %s - offset=%u, "
98 error_msg, offset, le32_to_cpu(de->inode),
102 "bad entry in directory: %s - offset=%u, "
104 error_msg, offset, le32_to_cpu(de->inode),
112 unsigned int offset;
164 offset = ctx->pos & (sb->s_blocksize - 1);
197 ctx->pos += sb->s_blocksize - offset;
205 "at offset %llu",
207 ctx->pos += sb->s_blocksize - offset;
219 for (i = 0; i < sb->s_blocksize && i < offset; ) {
234 offset = i;
236 | offset;
241 && offset < sb->s_blocksize) {
242 de = (struct ext4_dir_entry_2 *) (bh->b_data + offset);
245 offset)) {
253 offset += ext4_rec_len_from_disk(de->rec_len,
289 offset = 0;
359 * directories, where the "offset" is in terms of the filename hash
360 * value instead of the byte offset.
362 * Because we may return a 64-bit hash that is well beyond offset limits,
363 * we need to pass the max hash as the maximum allowable offset in
366 * For non-htree, ext4_llseek already chooses the proper max offset.
368 static loff_t ext4_dir_llseek(struct file *file, loff_t offset, int whence)
375 ret = generic_file_llseek_size(file, offset, whence,
378 ret = ext4_llseek(file, offset, whence);
639 unsigned int offset = 0;
646 buf, buf_size, offset))
650 offset += rlen;