Lines Matching refs:hp
169 struct auth_domain *hp; in auth_domain_lookup() local
176 hlist_for_each_entry(hp, head, hash) { in auth_domain_lookup()
177 if (strcmp(hp->name, name)==0) { in auth_domain_lookup()
178 kref_get(&hp->ref); in auth_domain_lookup()
180 return hp; in auth_domain_lookup()
192 struct auth_domain *hp; in auth_domain_find() local
198 hlist_for_each_entry_rcu(hp, head, hash) { in auth_domain_find()
199 if (strcmp(hp->name, name)==0) { in auth_domain_find()
200 if (!kref_get_unless_zero(&hp->ref)) in auth_domain_find()
201 hp = NULL; in auth_domain_find()
203 return hp; in auth_domain_find()
226 struct auth_domain *hp; in auth_domain_cleanup() local
229 hlist_for_each_entry(hp, &auth_domain_table[h], hash) in auth_domain_cleanup()
231 hp->name); in auth_domain_cleanup()