Lines Matching full:hp
240 struct auth_domain *hp; in auth_domain_lookup() local
247 hlist_for_each_entry(hp, head, hash) { in auth_domain_lookup()
248 if (strcmp(hp->name, name)==0) { in auth_domain_lookup()
249 kref_get(&hp->ref); in auth_domain_lookup()
251 return hp; in auth_domain_lookup()
263 struct auth_domain *hp; in auth_domain_find() local
269 hlist_for_each_entry_rcu(hp, head, hash) { in auth_domain_find()
270 if (strcmp(hp->name, name)==0) { in auth_domain_find()
271 if (!kref_get_unless_zero(&hp->ref)) in auth_domain_find()
272 hp = NULL; in auth_domain_find()
274 return hp; in auth_domain_find()
297 struct auth_domain *hp; in auth_domain_cleanup() local
300 hlist_for_each_entry(hp, &auth_domain_table[h], hash) in auth_domain_cleanup()
302 hp->name); in auth_domain_cleanup()