Lines Matching refs:ext2_dirent
443 static int check_void_in_dentry(struct ext2_dirent *dir, char *filename) in check_void_in_dentry()
453 dentry_length = sizeof(struct ext2_dirent) + in check_void_in_dentry()
464 sizeof(struct ext2_dirent) + padding_factor; in check_void_in_dentry()
487 struct ext2_dirent *dir; in ext4fs_update_parent_dentry()
506 sizeof(struct ext2_dirent), 4); in ext4fs_update_parent_dentry()
526 dir = (struct ext2_dirent *)root_first_block_buffer; in ext4fs_update_parent_dentry()
531 sizeof(struct ext2_dirent), 4); in ext4fs_update_parent_dentry()
590 dir = (struct ext2_dirent *)((char *)dir + templength); in ext4fs_update_parent_dentry()
596 dir = (struct ext2_dirent *)((char *)dir + templength); in ext4fs_update_parent_dentry()
613 temp_dir = temp_dir + sizeof(struct ext2_dirent); in ext4fs_update_parent_dentry()
636 struct ext2_dirent *dir = NULL; in search_dir()
667 dir = (struct ext2_dirent *)(block_buffer + offset); in search_dir()
668 direntname = (char*)(dir) + sizeof(struct ext2_dirent); in search_dir()
671 if (direntlen < sizeof(struct ext2_dirent)) in search_dir()
869 struct ext2_dirent *dir = NULL; in unlink_filename()
870 struct ext2_dirent *previous_dir; in unlink_filename()
893 dir = (struct ext2_dirent *)(block_buffer + offset); in unlink_filename()
894 direntname = (char *)(dir) + sizeof(struct ext2_dirent); in unlink_filename()
897 if (direntlen < sizeof(struct ext2_dirent)) in unlink_filename()
2026 struct ext2_dirent dirent; in ext4fs_iterate_dir()
2029 sizeof(struct ext2_dirent), in ext4fs_iterate_dir()
2046 sizeof(struct ext2_dirent), in ext4fs_iterate_dir()