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