Home
last modified time | relevance | path

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

/openbmc/linux/drivers/edac/
H A Dedac_device_sysfs.c517 struct kobject *main_kobj; in edac_device_create_block() local
530 main_kobj = kobject_get(&edac_dev->kobj); in edac_device_create_block()
531 if (!main_kobj) { in edac_device_create_block()
542 kobject_put(main_kobj); in edac_device_create_block()
617 struct kobject *main_kobj; in edac_device_create_instance() local
629 main_kobj = kobject_get(&edac_dev->kobj); in edac_device_create_instance()
630 if (!main_kobj) { in edac_device_create_instance()
641 kobject_put(main_kobj); in edac_device_create_instance()
H A Dedac_pci_sysfs.c159 struct kobject *main_kobj; in edac_pci_create_instance_kobj() local
168 main_kobj = kobject_get(edac_pci_top_main_kobj); in edac_pci_create_instance_kobj()
169 if (!main_kobj) { in edac_pci_create_instance_kobj()