Lines Matching refs:nodes
16 struct kobject **nodes; member
328 if (tree->nodes) { in widget_tree_free()
329 for (p = tree->nodes; *p; p++) in widget_tree_free()
331 kfree(tree->nodes); in widget_tree_free()
375 tree->nodes = kcalloc(codec->num_nodes + 1, sizeof(*tree->nodes), in widget_tree_create()
377 if (!tree->nodes) in widget_tree_create()
382 &tree->nodes[i]); in widget_tree_create()
437 tree->nodes = kcalloc(num_nodes + 1, sizeof(*tree->nodes), GFP_KERNEL); in hda_widget_sysfs_reinit()
438 if (!tree->nodes) { in hda_widget_sysfs_reinit()
446 free_widget_node(codec->widgets->nodes[i], in hda_widget_sysfs_reinit()
454 &tree->nodes[i]); in hda_widget_sysfs_reinit()
456 tree->nodes[i] = in hda_widget_sysfs_reinit()
457 codec->widgets->nodes[nid - codec->start_nid]; in hda_widget_sysfs_reinit()
461 kfree(codec->widgets->nodes); in hda_widget_sysfs_reinit()