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.c720 if (block_len - *offset < EXT2_DIR_ENTRY_HEADER_LEN) { in salvage_directory()
733 if ((left >= 12) && (rec_len == EXT2_DIR_ENTRY_HEADER_LEN)) { in salvage_directory()
734 memmove(cp, cp+EXT2_DIR_ENTRY_HEADER_LEN, left); in salvage_directory()
735 memset(cp + left, 0, EXT2_DIR_ENTRY_HEADER_LEN); in salvage_directory()
744 ((int) rec_len + left > EXT2_DIR_ENTRY_HEADER_LEN) && in salvage_directory()
745 ((int) name_len + EXT2_DIR_ENTRY_HEADER_LEN <= (int) rec_len + left) && in salvage_directory()
1168 if (max_block_size - offset < EXT2_DIR_ENTRY_HEADER_LEN) in check_dir_block()
1177 (((unsigned) ext2fs_dirent_name_len(dirent) + EXT2_DIR_ENTRY_HEADER_LEN) > rec_len)) { in check_dir_block()
1200 if (rec_len < EXT2_DIR_ENTRY_HEADER_LEN || rec_len % 4) { in check_dir_block()
1203 ((char *)dirent) + EXT2_DIR_ENTRY_HEADER_LEN, in check_dir_block()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dext2_fs.h1043 #define EXT2_DIR_ENTRY_HEADER_LEN 8 macro
1047 EXT2_DIR_ENTRY_HEADER_LEN + \