Searched refs:phandle_cache (Results 1 – 1 of 1) sorted by relevance
116 static struct device_node **phandle_cache; variable136 kfree(phandle_cache); in of_populate_phandle_cache()137 phandle_cache = NULL; in of_populate_phandle_cache()149 phandle_cache = kcalloc(cache_entries, sizeof(*phandle_cache), in of_populate_phandle_cache()151 if (!phandle_cache) in of_populate_phandle_cache()156 phandle_cache[np->phandle & phandle_cache_mask] = np; in of_populate_phandle_cache()168 kfree(phandle_cache); in of_free_phandle_cache()169 phandle_cache = NULL; in of_free_phandle_cache()1147 if (phandle_cache) { in of_find_node_by_phandle()1148 if (phandle_cache[masked_handle] && in of_find_node_by_phandle()[all …]