• Home
  • Raw
  • Download

Lines Matching refs:de

62 			   struct ext4_dir_entry_2 *de,  in __ext4_check_dir_entry()  argument
67 const int rlen = ext4_rec_len_from_disk(de->rec_len, in __ext4_check_dir_entry()
74 else if (unlikely(rlen < EXT4_DIR_REC_LEN(de->name_len))) in __ext4_check_dir_entry()
76 else if (unlikely(((char *) de - buf) + rlen > size)) in __ext4_check_dir_entry()
78 else if (unlikely(le32_to_cpu(de->inode) > in __ext4_check_dir_entry()
89 offset, le32_to_cpu(de->inode), in __ext4_check_dir_entry()
90 rlen, de->name_len); in __ext4_check_dir_entry()
96 offset, le32_to_cpu(de->inode), in __ext4_check_dir_entry()
97 rlen, de->name_len); in __ext4_check_dir_entry()
106 struct ext4_dir_entry_2 *de; in ext4_readdir() local
212 de = (struct ext4_dir_entry_2 *) in ext4_readdir()
220 if (ext4_rec_len_from_disk(de->rec_len, in ext4_readdir()
223 i += ext4_rec_len_from_disk(de->rec_len, in ext4_readdir()
234 de = (struct ext4_dir_entry_2 *) (bh->b_data + offset); in ext4_readdir()
235 if (ext4_check_dir_entry(inode, file, de, bh, in ext4_readdir()
245 offset += ext4_rec_len_from_disk(de->rec_len, in ext4_readdir()
247 if (le32_to_cpu(de->inode)) { in ext4_readdir()
249 if (!dir_emit(ctx, de->name, in ext4_readdir()
250 de->name_len, in ext4_readdir()
251 le32_to_cpu(de->inode), in ext4_readdir()
252 get_dtype(sb, de->file_type))) in ext4_readdir()
257 FSTR_INIT(de->name, in ext4_readdir()
258 de->name_len); in ext4_readdir()
269 le32_to_cpu(de->inode), in ext4_readdir()
270 get_dtype(sb, de->file_type))) in ext4_readdir()
274 ctx->pos += ext4_rec_len_from_disk(de->rec_len, in ext4_readdir()
630 struct ext4_dir_entry_2 *de; in ext4_check_all_de() local
635 de = (struct ext4_dir_entry_2 *)buf; in ext4_check_all_de()
637 while ((char *) de < top) { in ext4_check_all_de()
638 if (ext4_check_dir_entry(dir, NULL, de, bh, in ext4_check_all_de()
641 rlen = ext4_rec_len_from_disk(de->rec_len, buf_size); in ext4_check_all_de()
642 de = (struct ext4_dir_entry_2 *)((char *)de + rlen); in ext4_check_all_de()
645 if ((char *) de > top) in ext4_check_all_de()