Lines Matching refs:hp_slot_ptr
715 struct hotplug_slot *hp_slot_ptr; in ebda_rsrc_controller() local
874 hp_slot_ptr = kzalloc(sizeof(*hp_slot_ptr), GFP_KERNEL); in ebda_rsrc_controller()
875 if (!hp_slot_ptr) { in ebda_rsrc_controller()
880 hp_slot_ptr->info = kzalloc(sizeof(struct hotplug_slot_info), GFP_KERNEL); in ebda_rsrc_controller()
881 if (!hp_slot_ptr->info) { in ebda_rsrc_controller()
922 tmp_slot->hotplug_slot = hp_slot_ptr; in ebda_rsrc_controller()
924 hp_slot_ptr->private = tmp_slot; in ebda_rsrc_controller()
926 rc = fillslotinfo(hp_slot_ptr); in ebda_rsrc_controller()
930 rc = ibmphp_init_devno((struct slot **) &hp_slot_ptr->private); in ebda_rsrc_controller()
933 hp_slot_ptr->ops = &ibmphp_hotplug_slot_ops; in ebda_rsrc_controller()
937 list_add(&((struct slot *)(hp_slot_ptr->private))->ibm_slot_list, &ibmphp_slot_head); in ebda_rsrc_controller()
956 kfree(hp_slot_ptr->private); in ebda_rsrc_controller()
958 kfree(hp_slot_ptr->info); in ebda_rsrc_controller()
960 kfree(hp_slot_ptr); in ebda_rsrc_controller()