Lines Matching refs:offset
33 static int ext2fs_validate_entry(char *buf, int offset, int final_offset)
37 while (offset < final_offset) {
38 dirent = (struct ext2_dir_entry *)(buf + offset);
39 offset += dirent->rec_len;
45 return (offset == final_offset);
55 int offset,
93 int offset,
102 struct ext2_dir_entry *dirent, int offset,
107 return (*xl->func)(dirent, offset, blocksize, buf, xl->real_private);
115 int offset,
143 unsigned int offset = 0;
160 while (offset < fs->blocksize) {
161 dirent = (struct ext2_dir_entry *) (ctx->buf + offset);
162 if (((offset + dirent->rec_len) > fs->blocksize) ||
174 (next_real_entry > offset) ?
176 dirent, offset,
189 if (next_real_entry == offset)
198 final_offset = offset + dirent->rec_len;
199 offset += size;
200 while (offset < final_offset &&
202 offset,
204 offset += 4;
208 offset += dirent->rec_len;