Lines Matching refs:hotplug_slot
36 static void rpaphp_release_slot(struct hotplug_slot *hotplug_slot) in rpaphp_release_slot() argument
38 struct slot *slot = (struct slot *) hotplug_slot->private; in rpaphp_release_slot()
44 kfree(slot->hotplug_slot->info); in dealloc_slot_struct()
46 kfree(slot->hotplug_slot); in dealloc_slot_struct()
58 slot->hotplug_slot = kzalloc(sizeof(struct hotplug_slot), GFP_KERNEL); in alloc_slot_struct()
59 if (!slot->hotplug_slot) in alloc_slot_struct()
61 slot->hotplug_slot->info = kzalloc(sizeof(struct hotplug_slot_info), in alloc_slot_struct()
63 if (!slot->hotplug_slot->info) in alloc_slot_struct()
71 slot->hotplug_slot->private = slot; in alloc_slot_struct()
72 slot->hotplug_slot->ops = &rpaphp_hotplug_slot_ops; in alloc_slot_struct()
73 slot->hotplug_slot->release = &rpaphp_release_slot; in alloc_slot_struct()
78 kfree(slot->hotplug_slot->info); in alloc_slot_struct()
80 kfree(slot->hotplug_slot); in alloc_slot_struct()
101 struct hotplug_slot *php_slot = slot->hotplug_slot; in rpaphp_deregister_slot()
119 struct hotplug_slot *php_slot = slot->hotplug_slot; in rpaphp_register_slot()