Lines Matching refs:uid
48 static struct p9_fid *v9fs_fid_find_inode(struct inode *inode, kuid_t uid) in v9fs_fid_find_inode() argument
58 if (uid_eq(fid->uid, uid)) { in v9fs_fid_find_inode()
91 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find() argument
96 dentry, dentry, from_kuid(&init_user_ns, uid), in v9fs_fid_find()
101 ret = v9fs_fid_find_inode(d_inode(dentry), uid); in v9fs_fid_find()
109 if (any || uid_eq(fid->uid, uid)) { in v9fs_fid_find()
150 kuid_t uid, int any) in v9fs_fid_lookup_with_uid() argument
160 fid = v9fs_fid_find(dentry, uid, any); in v9fs_fid_lookup_with_uid()
170 fid = v9fs_fid_find(ds, uid, any); in v9fs_fid_lookup_with_uid()
182 fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); in v9fs_fid_lookup_with_uid()
193 fid = p9_client_attach(v9ses->clnt, NULL, uname, uid, in v9fs_fid_lookup_with_uid()
272 kuid_t uid; in v9fs_fid_lookup() local
282 uid = current_fsuid(); in v9fs_fid_lookup()
287 uid = v9ses->uid; in v9fs_fid_lookup()
292 uid = INVALID_UID; in v9fs_fid_lookup()
296 return v9fs_fid_lookup_with_uid(dentry, uid, any); in v9fs_fid_lookup()