Lines Matching refs:nh
252 struct node_hash *nh; in of_unittest_check_phandles() local
260 hash_for_each_possible(phandle_ht, nh, node, np->phandle) { in of_unittest_check_phandles()
261 if (nh->np->phandle == np->phandle) { in of_unittest_check_phandles()
263 np->phandle, nh->np->full_name, np->full_name); in of_unittest_check_phandles()
269 nh = kzalloc(sizeof(*nh), GFP_KERNEL); in of_unittest_check_phandles()
270 if (WARN_ON(!nh)) in of_unittest_check_phandles()
273 nh->np = np; in of_unittest_check_phandles()
274 hash_add(phandle_ht, &nh->node, np->phandle); in of_unittest_check_phandles()
281 hash_for_each_safe(phandle_ht, i, tmp, nh, node) { in of_unittest_check_phandles()
282 hash_del(&nh->node); in of_unittest_check_phandles()
283 kfree(nh); in of_unittest_check_phandles()