Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/edac/
Dedac_device_sysfs.c515 struct kobject *main_kobj; in edac_device_create_block() local
528 main_kobj = kobject_get(&edac_dev->kobj); in edac_device_create_block()
529 if (!main_kobj) { in edac_device_create_block()
540 kobject_put(main_kobj); in edac_device_create_block()
615 struct kobject *main_kobj; in edac_device_create_instance() local
627 main_kobj = kobject_get(&edac_dev->kobj); in edac_device_create_instance()
628 if (!main_kobj) { in edac_device_create_instance()
639 kobject_put(main_kobj); in edac_device_create_instance()
Dedac_pci_sysfs.c158 struct kobject *main_kobj; in edac_pci_create_instance_kobj() local
167 main_kobj = kobject_get(edac_pci_top_main_kobj); in edac_pci_create_instance_kobj()
168 if (!main_kobj) { in edac_pci_create_instance_kobj()