Lines Matching refs:root
501 static int hpfs_show_options(struct seq_file *seq, struct dentry *root) in hpfs_show_options() argument
503 struct hpfs_sb_info *sbi = hpfs_sb(root->d_sb); in hpfs_show_options()
551 struct inode *root; in hpfs_fill_super() local
625 sbi->sb_root = le32_to_cpu(superblock->root); in hpfs_fill_super()
714 root = iget_locked(s, sbi->sb_root); in hpfs_fill_super()
715 if (!root) in hpfs_fill_super()
717 hpfs_init_inode(root); in hpfs_fill_super()
718 hpfs_read_inode(root); in hpfs_fill_super()
719 unlock_new_inode(root); in hpfs_fill_super()
720 s->s_root = d_make_root(root); in hpfs_fill_super()
730 de = map_dirent(root, root_dno, "\001\001", 2, NULL, &qbh); in hpfs_fill_super()
734 root->i_atime.tv_sec = local_to_gmt(s, le32_to_cpu(de->read_date)); in hpfs_fill_super()
735 root->i_atime.tv_nsec = 0; in hpfs_fill_super()
736 root->i_mtime.tv_sec = local_to_gmt(s, le32_to_cpu(de->write_date)); in hpfs_fill_super()
737 root->i_mtime.tv_nsec = 0; in hpfs_fill_super()
738 root->i_ctime.tv_sec = local_to_gmt(s, le32_to_cpu(de->creation_date)); in hpfs_fill_super()
739 root->i_ctime.tv_nsec = 0; in hpfs_fill_super()
740 hpfs_i(root)->i_ea_size = le32_to_cpu(de->ea_size); in hpfs_fill_super()
741 hpfs_i(root)->i_parent_dir = root->i_ino; in hpfs_fill_super()
742 if (root->i_size == -1) in hpfs_fill_super()
743 root->i_size = 2048; in hpfs_fill_super()
744 if (root->i_blocks == -1) in hpfs_fill_super()
745 root->i_blocks = 5; in hpfs_fill_super()