Searched refs:main_kobj (Results 1 – 2 of 2) sorted by relevance
525 struct kobject *main_kobj; in edac_device_create_block() local538 main_kobj = kobject_get(&edac_dev->kobj); in edac_device_create_block()539 if (!main_kobj) { in edac_device_create_block()551 kobject_put(main_kobj); in edac_device_create_block()628 struct kobject *main_kobj; in edac_device_create_instance() local640 main_kobj = kobject_get(&edac_dev->kobj); in edac_device_create_instance()641 if (!main_kobj) { in edac_device_create_instance()652 kobject_put(main_kobj); in edac_device_create_instance()
161 struct kobject *main_kobj; in edac_pci_create_instance_kobj() local170 main_kobj = kobject_get(edac_pci_top_main_kobj); in edac_pci_create_instance_kobj()171 if (!main_kobj) { in edac_pci_create_instance_kobj()