Lines Matching refs:hpw
1198 struct acpi_hp_work *hpw = container_of(work, struct acpi_hp_work, work); in acpi_hotplug_work_fn() local
1201 acpi_device_hotplug(hpw->adev, hpw->src); in acpi_hotplug_work_fn()
1202 kfree(hpw); in acpi_hotplug_work_fn()
1207 struct acpi_hp_work *hpw; in acpi_hotplug_schedule() local
1213 hpw = kmalloc(sizeof(*hpw), GFP_KERNEL); in acpi_hotplug_schedule()
1214 if (!hpw) in acpi_hotplug_schedule()
1217 INIT_WORK(&hpw->work, acpi_hotplug_work_fn); in acpi_hotplug_schedule()
1218 hpw->adev = adev; in acpi_hotplug_schedule()
1219 hpw->src = src; in acpi_hotplug_schedule()
1226 if (!queue_work(kacpi_hotplug_wq, &hpw->work)) { in acpi_hotplug_schedule()
1227 kfree(hpw); in acpi_hotplug_schedule()