Lines Matching refs:uid
56 * @uid: return a fid belonging to the specified user
57 * @any: ignore uid as a selection criteria
61 kuid_t uid, bool any)
71 if (any || uid_eq(fid->uid, uid)) {
106 * v9fs_fid_find - retrieve a fid that belongs to the specified uid
108 * @uid: return fid that belongs to the specified user
113 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any)
117 p9_debug(P9_DEBUG_VFS, " dentry: %pd (%p) uid %d any %d\n",
118 dentry, dentry, from_kuid(&init_user_ns, uid),
127 if (any || uid_eq(fid->uid, uid)) {
136 ret = v9fs_fid_find_inode(dentry->d_inode, false, uid, any);
171 kuid_t uid, int any)
181 fid = v9fs_fid_find(dentry, uid, any);
191 fid = v9fs_fid_find(ds, uid, any);
203 root_fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any);
214 fid = p9_client_attach(v9ses->clnt, NULL, uname, uid,
290 kuid_t uid;
300 uid = current_fsuid();
305 uid = v9ses->uid;
310 uid = INVALID_UID;
314 return v9fs_fid_lookup_with_uid(dentry, uid, any);