Lines Matching refs:mntpt
71 static int afs_mntpt_set_params(struct fs_context *fc, struct dentry *mntpt) in afs_mntpt_set_params() argument
74 struct afs_super_info *src_as = AFS_FS_S(mntpt->d_sb); in afs_mntpt_set_params()
75 struct afs_vnode *vnode = AFS_FS_I(d_inode(mntpt)); in afs_mntpt_set_params()
95 unsigned size = mntpt->d_name.len; in afs_mntpt_set_params()
100 p = mntpt->d_name.name; in afs_mntpt_set_params()
101 if (mntpt->d_name.name[0] == '.') { in afs_mntpt_set_params()
112 pr_err("kAFS: unable to lookup cell '%pd'\n", mntpt); in afs_mntpt_set_params()
122 loff_t size = i_size_read(d_inode(mntpt)); in afs_mntpt_set_params()
131 page = read_mapping_page(d_inode(mntpt)->i_mapping, 0, NULL); in afs_mntpt_set_params()
136 ret = afs_bad(AFS_FS_I(d_inode(mntpt)), afs_file_error_mntpt); in afs_mntpt_set_params()
157 static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt) in afs_mntpt_do_automount() argument
163 BUG_ON(!d_inode(mntpt)); in afs_mntpt_do_automount()
165 fc = fs_context_for_submount(&afs_fs_type, mntpt); in afs_mntpt_do_automount()
169 ret = afs_mntpt_set_params(fc, mntpt); in afs_mntpt_do_automount()