Lines Matching refs:hp_slot_ptr
748 struct hotplug_slot *hp_slot_ptr; in ebda_rsrc_controller() local
907 hp_slot_ptr = kzalloc(sizeof(*hp_slot_ptr), GFP_KERNEL); in ebda_rsrc_controller()
908 if (!hp_slot_ptr) { in ebda_rsrc_controller()
913 hp_slot_ptr->info = kzalloc(sizeof(struct hotplug_slot_info), GFP_KERNEL); in ebda_rsrc_controller()
914 if (!hp_slot_ptr->info) { in ebda_rsrc_controller()
955 tmp_slot->hotplug_slot = hp_slot_ptr; in ebda_rsrc_controller()
957 hp_slot_ptr->private = tmp_slot; in ebda_rsrc_controller()
958 hp_slot_ptr->release = release_slot; in ebda_rsrc_controller()
960 rc = fillslotinfo(hp_slot_ptr); in ebda_rsrc_controller()
964 rc = ibmphp_init_devno ((struct slot **) &hp_slot_ptr->private); in ebda_rsrc_controller()
967 hp_slot_ptr->ops = &ibmphp_hotplug_slot_ops; in ebda_rsrc_controller()
971 list_add (& ((struct slot *)(hp_slot_ptr->private))->ibm_slot_list, &ibmphp_slot_head); in ebda_rsrc_controller()
990 kfree (hp_slot_ptr->private); in ebda_rsrc_controller()
992 kfree (hp_slot_ptr->info); in ebda_rsrc_controller()
994 kfree (hp_slot_ptr); in ebda_rsrc_controller()