Lines Matching refs:node_data
41 node_data_t node_data[NUM_LEAVES]; variable
98 node_data[this_node].name = in fpc_common_node_setup()
100 (void) strcpy(node_data[this_node].name, pathname); in fpc_common_node_setup()
101 mutex_init(&node_data[this_node].mutex, NULL, MUTEX_DRIVER, NULL); in fpc_common_node_setup()
139 fpc_platform_node_fini(node_data[i].plat_data_p); in fpc_perfcnt_module_fini()
140 if (node_data[i].name != NULL) { in fpc_perfcnt_module_fini()
141 kmem_free(node_data[i].name, in fpc_perfcnt_module_fini()
142 strlen(node_data[i].name) + 1); in fpc_perfcnt_module_fini()
143 mutex_destroy(&node_data[i].mutex); in fpc_perfcnt_module_fini()
154 return (node_data[index].name); in fpc_get_dev_name_by_number()
160 return (node_data[index].plat_data_p); in fpc_get_platform_data_by_number()
167 node_data[index].plat_data_p = data_p; in fpc_set_platform_data_by_number()
175 *mutex_pp = &node_data[index].mutex; in fpc_get_mutex_by_number()