Lines Matching refs:root
474 static int hpfs_show_options(struct seq_file *seq, struct dentry *root) in hpfs_show_options() argument
476 struct hpfs_sb_info *sbi = hpfs_sb(root->d_sb); in hpfs_show_options()
524 struct inode *root; in hpfs_fill_super() local
598 sbi->sb_root = le32_to_cpu(superblock->root); in hpfs_fill_super()
696 root = iget_locked(s, sbi->sb_root); in hpfs_fill_super()
697 if (!root) in hpfs_fill_super()
699 hpfs_init_inode(root); in hpfs_fill_super()
700 hpfs_read_inode(root); in hpfs_fill_super()
701 unlock_new_inode(root); in hpfs_fill_super()
702 s->s_root = d_make_root(root); in hpfs_fill_super()
712 de = map_dirent(root, root_dno, "\001\001", 2, NULL, &qbh); in hpfs_fill_super()
716 root->i_atime.tv_sec = local_to_gmt(s, le32_to_cpu(de->read_date)); in hpfs_fill_super()
717 root->i_atime.tv_nsec = 0; in hpfs_fill_super()
718 root->i_mtime.tv_sec = local_to_gmt(s, le32_to_cpu(de->write_date)); in hpfs_fill_super()
719 root->i_mtime.tv_nsec = 0; in hpfs_fill_super()
720 root->i_ctime.tv_sec = local_to_gmt(s, le32_to_cpu(de->creation_date)); in hpfs_fill_super()
721 root->i_ctime.tv_nsec = 0; in hpfs_fill_super()
722 hpfs_i(root)->i_ea_size = le32_to_cpu(de->ea_size); in hpfs_fill_super()
723 hpfs_i(root)->i_parent_dir = root->i_ino; in hpfs_fill_super()
724 if (root->i_size == -1) in hpfs_fill_super()
725 root->i_size = 2048; in hpfs_fill_super()
726 if (root->i_blocks == -1) in hpfs_fill_super()
727 root->i_blocks = 5; in hpfs_fill_super()