Lines Matching refs:v9ses
133 static int build_path_from_dentry(struct v9fs_session_info *v9ses, in build_path_from_dentry() argument
162 struct v9fs_session_info *v9ses; in v9fs_fid_lookup_with_uid() local
165 v9ses = v9fs_dentry2v9ses(dentry); in v9fs_fid_lookup_with_uid()
166 access = v9ses->flags & V9FS_ACCESS_MASK; in v9fs_fid_lookup_with_uid()
175 down_read(&v9ses->rename_sem); in v9fs_fid_lookup_with_uid()
186 up_read(&v9ses->rename_sem); in v9fs_fid_lookup_with_uid()
195 if (v9fs_proto_dotu(v9ses) || v9fs_proto_dotl(v9ses)) in v9fs_fid_lookup_with_uid()
198 uname = v9ses->uname; in v9fs_fid_lookup_with_uid()
200 fid = p9_client_attach(v9ses->clnt, NULL, uname, uid, in v9fs_fid_lookup_with_uid()
201 v9ses->aname); in v9fs_fid_lookup_with_uid()
217 down_read(&v9ses->rename_sem); in v9fs_fid_lookup_with_uid()
218 n = build_path_from_dentry(v9ses, dentry, &wnames); in v9fs_fid_lookup_with_uid()
260 up_read(&v9ses->rename_sem); in v9fs_fid_lookup_with_uid()
278 struct v9fs_session_info *v9ses; in v9fs_fid_lookup() local
280 v9ses = v9fs_dentry2v9ses(dentry); in v9fs_fid_lookup()
281 access = v9ses->flags & V9FS_ACCESS_MASK; in v9fs_fid_lookup()
291 uid = v9ses->uid; in v9fs_fid_lookup()