Lines Matching refs:ext2_dirent
445 static int check_void_in_dentry(struct ext2_dirent *dir, char *filename) in check_void_in_dentry()
455 dentry_length = sizeof(struct ext2_dirent) + in check_void_in_dentry()
466 sizeof(struct ext2_dirent) + padding_factor; in check_void_in_dentry()
489 struct ext2_dirent *dir; in ext4fs_update_parent_dentry()
508 sizeof(struct ext2_dirent), 4); in ext4fs_update_parent_dentry()
529 dir = (struct ext2_dirent *)root_first_block_buffer; in ext4fs_update_parent_dentry()
534 sizeof(struct ext2_dirent), 4); in ext4fs_update_parent_dentry()
593 dir = (struct ext2_dirent *)((char *)dir + templength); in ext4fs_update_parent_dentry()
599 dir = (struct ext2_dirent *)((char *)dir + templength); in ext4fs_update_parent_dentry()
616 temp_dir = temp_dir + sizeof(struct ext2_dirent); in ext4fs_update_parent_dentry()
639 struct ext2_dirent *dir = NULL; in search_dir()
670 dir = (struct ext2_dirent *)(block_buffer + offset); in search_dir()
671 direntname = (char*)(dir) + sizeof(struct ext2_dirent); in search_dir()
674 if (direntlen < sizeof(struct ext2_dirent)) in search_dir()
872 struct ext2_dirent *dir = NULL; in unlink_filename()
873 struct ext2_dirent *previous_dir; in unlink_filename()
896 dir = (struct ext2_dirent *)(block_buffer + offset); in unlink_filename()
897 direntname = (char *)(dir) + sizeof(struct ext2_dirent); in unlink_filename()
900 if (direntlen < sizeof(struct ext2_dirent)) in unlink_filename()
2064 struct ext2_dirent dirent; in ext4fs_iterate_dir()
2067 sizeof(struct ext2_dirent), in ext4fs_iterate_dir()
2084 sizeof(struct ext2_dirent), in ext4fs_iterate_dir()