Home
last modified time | relevance | path

Searched refs:v9ses (Results 1 – 8 of 8) sorted by relevance

/linux/fs/9p/
H A Dv9fs.c150 struct v9fs_session_info *v9ses = root->d_sb->s_fs_info; in v9fs_show_options() local
152 if (v9ses->debug) in v9fs_show_options()
153 seq_printf(m, ",debug=%#x", v9ses->debug); in v9fs_show_options()
154 if (!uid_eq(v9ses->dfltuid, V9FS_DEFUID)) in v9fs_show_options()
156 from_kuid_munged(&init_user_ns, v9ses->dfltuid)); in v9fs_show_options()
157 if (!gid_eq(v9ses->dfltgid, V9FS_DEFGID)) in v9fs_show_options()
159 from_kgid_munged(&init_user_ns, v9ses->dfltgid)); in v9fs_show_options()
160 if (v9ses->afid != ~0) in v9fs_show_options()
161 seq_printf(m, ",afid=%u", v9ses->afid); in v9fs_show_options()
162 if (strcmp(v9ses->uname, V9FS_DEFUSER) != 0) in v9fs_show_options()
[all …]
H A Dv9fs.h160 static inline struct fscache_volume *v9fs_session_cache(struct v9fs_session_info *v9ses) in v9fs_session_cache() argument
163 return v9ses->fscache; in v9fs_session_cache()
174 struct p9_fid *v9fs_session_init(struct v9fs_session_info *v9ses,
176 extern void v9fs_session_close(struct v9fs_session_info *v9ses);
177 extern void v9fs_session_cancel(struct v9fs_session_info *v9ses);
178 extern void v9fs_session_begin_cancel(struct v9fs_session_info *v9ses);
187 extern struct inode *v9fs_inode_from_fid(struct v9fs_session_info *v9ses,
194 extern struct inode *v9fs_inode_from_fid_dotl(struct v9fs_session_info *v9ses,
215 static inline int v9fs_proto_dotu(struct v9fs_session_info *v9ses) in v9fs_proto_dotu() argument
217 return v9ses->flags & V9FS_PROTO_2000U; in v9fs_proto_dotu()
[all …]
H A Dvfs_super.c37 struct v9fs_session_info *v9ses = v9ses = sb->s_fs_info; in v9fs_fill_super() local
40 sb->s_blocksize_bits = fls(v9ses->maxdata - 1); in v9fs_fill_super()
43 if (v9fs_proto_dotl(v9ses)) { in v9fs_fill_super()
45 if (!(v9ses->flags & V9FS_NO_XATTR)) in v9fs_fill_super()
58 if (!v9ses->cache) { in v9fs_fill_super()
62 sb->s_bdi->ra_pages = v9ses->maxdata >> PAGE_SHIFT; in v9fs_fill_super()
63 sb->s_bdi->io_pages = v9ses->maxdata >> PAGE_SHIFT; in v9fs_fill_super()
69 if ((v9ses->flags & V9FS_ACL_MASK) == V9FS_POSIX_ACL) in v9fs_fill_super()
87 struct v9fs_session_info *v9ses = NULL; in v9fs_get_tree() local
93 v9ses = kzalloc_obj(struct v9fs_session_info); in v9fs_get_tree()
[all …]
H A Dfid.c146 static int build_path_from_dentry(struct v9fs_session_info *v9ses, in build_path_from_dentry() argument
175 struct v9fs_session_info *v9ses; in v9fs_fid_lookup_with_uid() local
178 v9ses = v9fs_dentry2v9ses(dentry); in v9fs_fid_lookup_with_uid()
179 access = v9ses->flags & V9FS_ACCESS_MASK; in v9fs_fid_lookup_with_uid()
188 down_read(&v9ses->rename_sem); in v9fs_fid_lookup_with_uid()
199 up_read(&v9ses->rename_sem); in v9fs_fid_lookup_with_uid()
208 if (v9fs_proto_dotu(v9ses) || v9fs_proto_dotl(v9ses)) in v9fs_fid_lookup_with_uid()
211 uname = v9ses->uname; in v9fs_fid_lookup_with_uid()
213 fid = p9_client_attach(v9ses->clnt, NULL, uname, uid, in v9fs_fid_lookup_with_uid()
214 v9ses->aname); in v9fs_fid_lookup_with_uid()
[all …]
H A Dcache.c19 int v9fs_cache_session_get_cookie(struct v9fs_session_info *v9ses, in v9fs_cache_session_get_cookie() argument
26 dev_name, v9ses->cachetag ?: v9ses->aname); in v9fs_cache_session_get_cookie()
36 v9ses, vcookie, name); in v9fs_cache_session_get_cookie()
45 v9ses->fscache = vcookie; in v9fs_cache_session_get_cookie()
53 struct v9fs_session_info *v9ses; in v9fs_cache_inode_get_cookie() local
64 v9ses = v9fs_inode2v9ses(inode); in v9fs_cache_inode_get_cookie()
66 fscache_acquire_cookie(v9fs_session_cache(v9ses), in v9fs_cache_inode_get_cookie()
H A Dvfs_dentry.c80 struct v9fs_session_info *v9ses; in __v9fs_lookup_revalidate() local
91 v9ses = v9fs_inode2v9ses(inode); in __v9fs_lookup_revalidate()
92 if (v9fs_proto_dotl(v9ses)) in __v9fs_lookup_revalidate()
128 struct v9fs_session_info *v9ses = v9fs_dentry2v9ses(dentry); in v9fs_dentry_unalias_trylock() local
129 return down_write_trylock(&v9ses->rename_sem); in v9fs_dentry_unalias_trylock()
134 struct v9fs_session_info *v9ses = v9fs_dentry2v9ses(dentry); in v9fs_dentry_unalias_unlock() local
135 up_write(&v9ses->rename_sem); in v9fs_dentry_unalias_unlock()
H A Dcache.h14 extern int v9fs_cache_session_get_cookie(struct v9fs_session_info *v9ses,
H A Dv9fs_vfs.h44 int v9fs_init_inode(struct v9fs_session_info *v9ses,