Lines Matching refs:dirent
38 struct ext2_dir_entry *dirent; in htree_dump_leaf_node() local
73 dirent = (struct ext2_dir_entry *) (buf + offset); in htree_dump_leaf_node()
74 errcode = ext2fs_get_rec_len(fs, dirent, &rec_len); in htree_dump_leaf_node()
81 thislen = ext2fs_dirent_name_len(dirent); in htree_dump_leaf_node()
90 strncpy(name, dirent->name, thislen); in htree_dump_leaf_node()
99 (dirent->inode == 0) && in htree_dump_leaf_node()
100 (dirent->rec_len == csum_size) && in htree_dump_leaf_node()
101 (dirent->name_len == EXT2_DIR_NAME_LEN_CSUM)) { in htree_dump_leaf_node()
104 t = (struct ext2_dir_entry_tail *) dirent; in htree_dump_leaf_node()
112 dirent->inode, hash, minor_hash, in htree_dump_leaf_node()
403 struct ext2_dir_entry *dirent; in search_dir_block() local
421 dirent = (struct ext2_dir_entry *) (p->buf + offset); in search_dir_block()
422 errcode = ext2fs_get_rec_len(fs, dirent, &rec_len); in search_dir_block()
429 if (dirent->inode && in search_dir_block()
430 p->len == ext2fs_dirent_name_len(dirent) && in search_dir_block()
431 strncmp(p->search_name, dirent->name, in search_dir_block()