Lines Matching refs:ext2_dirent

442 static int check_void_in_dentry(struct ext2_dirent *dir, char *filename)  in check_void_in_dentry()
452 dentry_length = sizeof(struct ext2_dirent) + in check_void_in_dentry()
463 sizeof(struct ext2_dirent) + padding_factor; in check_void_in_dentry()
486 struct ext2_dirent *dir; in ext4fs_update_parent_dentry()
505 sizeof(struct ext2_dirent), 4); in ext4fs_update_parent_dentry()
525 dir = (struct ext2_dirent *)root_first_block_buffer; in ext4fs_update_parent_dentry()
530 sizeof(struct ext2_dirent), 4); in ext4fs_update_parent_dentry()
589 dir = (struct ext2_dirent *)((char *)dir + templength); in ext4fs_update_parent_dentry()
595 dir = (struct ext2_dirent *)((char *)dir + templength); in ext4fs_update_parent_dentry()
612 temp_dir = temp_dir + sizeof(struct ext2_dirent); in ext4fs_update_parent_dentry()
635 struct ext2_dirent *dir = NULL; in search_dir()
666 dir = (struct ext2_dirent *)(block_buffer + offset); in search_dir()
667 direntname = (char*)(dir) + sizeof(struct ext2_dirent); in search_dir()
670 if (direntlen < sizeof(struct ext2_dirent)) in search_dir()
868 struct ext2_dirent *dir = NULL; in unlink_filename()
869 struct ext2_dirent *previous_dir; in unlink_filename()
892 dir = (struct ext2_dirent *)(block_buffer + offset); in unlink_filename()
893 direntname = (char *)(dir) + sizeof(struct ext2_dirent); in unlink_filename()
896 if (direntlen < sizeof(struct ext2_dirent)) in unlink_filename()
2025 struct ext2_dirent dirent; in ext4fs_iterate_dir()
2028 sizeof(struct ext2_dirent), in ext4fs_iterate_dir()
2045 sizeof(struct ext2_dirent), in ext4fs_iterate_dir()