Searched refs:main_kobj (Results 1 – 2 of 2) sorted by relevance
515 struct kobject *main_kobj; in edac_device_create_block() local528 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() local627 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()
159 struct kobject *main_kobj; in edac_pci_create_instance_kobj() local168 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()