Lines Matching refs:entry
36 struct uid_hash_entry *entry; in uid_hash_entry_exists_locked() local
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()
47 struct uid_hash_entry *entry; in proc_register_uid() local
57 entry = kzalloc(sizeof(struct uid_hash_entry), GFP_KERNEL); in proc_register_uid()
58 if (!entry) in proc_register_uid()
60 entry->uid = uid; in proc_register_uid()
64 kfree(entry); in proc_register_uid()
66 hash_add(proc_uid_hash_table, &entry->hash, uid); in proc_register_uid()
240 struct uid_hash_entry *entry; in proc_uid_readdir() local
248 hash_for_each(proc_uid_hash_table, bkt, entry, hash) { in proc_uid_readdir()
254 len = snprintf(buf, sizeof(buf), "%u", entry->uid); in proc_uid_readdir()
256 proc_uid_instantiate, NULL, &entry->uid)) in proc_uid_readdir()