Home
last modified time | relevance | path

Searched refs:EXT2_DIR_ENTRY_HEADER_LEN (Results 1 – 2 of 2) sorted by relevance

/external/e2fsprogs/e2fsck/
Dpass2.c693 if (block_len - *offset < EXT2_DIR_ENTRY_HEADER_LEN) { in salvage_directory()
706 if ((left >= 12) && (rec_len == EXT2_DIR_ENTRY_HEADER_LEN)) { in salvage_directory()
707 memmove(cp, cp+EXT2_DIR_ENTRY_HEADER_LEN, left); in salvage_directory()
708 memset(cp + left, 0, EXT2_DIR_ENTRY_HEADER_LEN); in salvage_directory()
717 ((int) rec_len + left > EXT2_DIR_ENTRY_HEADER_LEN) && in salvage_directory()
718 ((int) name_len + EXT2_DIR_ENTRY_HEADER_LEN <= (int) rec_len + left) && in salvage_directory()
1131 if (max_block_size - offset < EXT2_DIR_ENTRY_HEADER_LEN) in check_dir_block()
1140 (((unsigned) ext2fs_dirent_name_len(dirent) + EXT2_DIR_ENTRY_HEADER_LEN) > rec_len)) { in check_dir_block()
1163 if (rec_len < EXT2_DIR_ENTRY_HEADER_LEN || rec_len % 4) { in check_dir_block()
1166 ((char *)dirent) + EXT2_DIR_ENTRY_HEADER_LEN, in check_dir_block()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dext2_fs.h1028 #define EXT2_DIR_ENTRY_HEADER_LEN 8 macro
1032 EXT2_DIR_ENTRY_HEADER_LEN + \