Lines Matching refs:swnode_kset
44 static struct kset *swnode_kset; variable
87 spin_lock(&swnode_kset->list_lock); in software_node_to_swnode()
89 list_for_each_entry(k, &swnode_kset->list, entry) { in software_node_to_swnode()
96 spin_unlock(&swnode_kset->list_lock); in software_node_to_swnode()
715 spin_lock(&swnode_kset->list_lock); in software_node_find_by_name()
717 list_for_each_entry(k, &swnode_kset->list, entry) { in software_node_find_by_name()
727 spin_unlock(&swnode_kset->list_lock); in software_node_find_by_name()
803 swnode->kobj.kset = swnode_kset; in swnode_register()
1115 swnode_kset = kset_create_and_add("software_nodes", NULL, kernel_kobj); in software_node_init()
1116 if (!swnode_kset) in software_node_init()
1125 kset_unregister(swnode_kset); in software_node_exit()