Lines Matching refs:uid
29 uid_t uid; member
34 static bool uid_hash_entry_exists_locked(uid_t uid) in uid_hash_entry_exists_locked() argument
38 hash_for_each_possible(proc_uid_hash_table, entry, hash, uid) { in uid_hash_entry_exists_locked()
39 if (entry->uid == uid) in uid_hash_entry_exists_locked()
49 uid_t uid = from_kuid_munged(current_user_ns(), kuid); in proc_register_uid() local
52 exists = uid_hash_entry_exists_locked(uid); in proc_register_uid()
60 entry->uid = uid; in proc_register_uid()
63 if (uid_hash_entry_exists_locked(uid)) in proc_register_uid()
66 hash_add(proc_uid_hash_table, &entry->hash, uid); in proc_register_uid()
245 len = snprintf(buf, sizeof(buf), "%u", entry->uid); in proc_uid_readdir()
247 proc_uid_instantiate, NULL, &entry->uid)) in proc_uid_readdir()
261 uid_t uid = name_to_int(&dentry->d_name); in proc_uid_lookup() local
265 uid_exists = uid_hash_entry_exists_locked(uid); in proc_uid_lookup()
268 kuid_t kuid = make_kuid(current_user_ns(), uid); in proc_uid_lookup()