Home
last modified time | relevance | path

Searched refs:swnode_kset (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/base/
H A Dswnode.c33 static struct kset *swnode_kset; variable
76 spin_lock(&swnode_kset->list_lock); in software_node_to_swnode()
78 list_for_each_entry(k, &swnode_kset->list, entry) { in software_node_to_swnode()
85 spin_unlock(&swnode_kset->list_lock); in software_node_to_swnode()
704 spin_lock(&swnode_kset->list_lock); in software_node_find_by_name()
706 list_for_each_entry(k, &swnode_kset->list, entry) { in software_node_find_by_name()
716 spin_unlock(&swnode_kset->list_lock); in software_node_find_by_name()
792 swnode->kobj.kset = swnode_kset; in swnode_register()
1104 swnode_kset = kset_create_and_add("software_nodes", NULL, kernel_kobj); in software_node_init()
1105 if (!swnode_kset) in software_node_init()
[all …]