Lines Matching refs:nh
248 struct node_hash *nh; in of_unittest_check_phandles() local
256 hash_for_each_possible(phandle_ht, nh, node, np->phandle) { in of_unittest_check_phandles()
257 if (nh->np->phandle == np->phandle) { in of_unittest_check_phandles()
259 np->phandle, nh->np->full_name, np->full_name); in of_unittest_check_phandles()
265 nh = kzalloc(sizeof(*nh), GFP_KERNEL); in of_unittest_check_phandles()
266 if (WARN_ON(!nh)) in of_unittest_check_phandles()
269 nh->np = np; in of_unittest_check_phandles()
270 hash_add(phandle_ht, &nh->node, np->phandle); in of_unittest_check_phandles()
277 hash_for_each_safe(phandle_ht, i, tmp, nh, node) { in of_unittest_check_phandles()
278 hash_del(&nh->node); in of_unittest_check_phandles()
279 kfree(nh); in of_unittest_check_phandles()