Lines Matching refs:hotplug_slot
37 static void rpaphp_release_slot(struct hotplug_slot *hotplug_slot)
39 struct slot *slot = (struct slot *) hotplug_slot->private;
45 kfree(slot->hotplug_slot->info);
47 kfree(slot->hotplug_slot);
59 slot->hotplug_slot = kzalloc(sizeof(struct hotplug_slot), GFP_KERNEL);
60 if (!slot->hotplug_slot)
62 slot->hotplug_slot->info = kzalloc(sizeof(struct hotplug_slot_info),
64 if (!slot->hotplug_slot->info)
72 slot->hotplug_slot->private = slot;
73 slot->hotplug_slot->ops = &rpaphp_hotplug_slot_ops;
74 slot->hotplug_slot->release = &rpaphp_release_slot;
79 kfree(slot->hotplug_slot->info);
81 kfree(slot->hotplug_slot);
102 struct hotplug_slot *php_slot = slot->hotplug_slot;
120 struct hotplug_slot *php_slot = slot->hotplug_slot;