Lines Matching defs:rec_len
28 unsigned int *rec_len)
30 unsigned int len = dirent->rec_len;
33 *rec_len = len;
35 *rec_len = fs->blocksize;
37 *rec_len = (len & 65532) | ((len & 3) << 16);
48 dirent->rec_len = len;
53 dirent->rec_len = EXT4_MAX_REC_LEN;
55 dirent->rec_len = 0;
57 dirent->rec_len = (len & 65532) | ((len >> 16) & 3);
74 unsigned int rec_len;
80 if (ext2fs_get_rec_len(fs, dirent, &rec_len))
82 offset += rec_len;
83 if ((rec_len < 8) ||
84 ((rec_len % 4) != 0) ||
85 ((((unsigned) dirent->name_len & 0xFF)+8) > rec_len))
191 unsigned int rec_len, size;
206 if (ext2fs_get_rec_len(fs, dirent, &rec_len))
208 if (((offset + rec_len) > fs->blocksize) ||
209 (rec_len < 8) ||
210 ((rec_len % 4) != 0) ||
211 ((((unsigned) dirent->name_len & 0xFF)+8) > rec_len)) {
229 if (ext2fs_get_rec_len(fs, dirent, &rec_len))
239 next_real_entry += rec_len;
244 if (rec_len != size) {
247 final_offset = offset + rec_len;
257 offset += rec_len;