Lines Matching refs:hpw
1157 struct acpi_hp_work *hpw = container_of(work, struct acpi_hp_work, work); in acpi_hotplug_work_fn() local
1160 acpi_device_hotplug(hpw->adev, hpw->src); in acpi_hotplug_work_fn()
1161 kfree(hpw); in acpi_hotplug_work_fn()
1166 struct acpi_hp_work *hpw; in acpi_hotplug_schedule() local
1172 hpw = kmalloc(sizeof(*hpw), GFP_KERNEL); in acpi_hotplug_schedule()
1173 if (!hpw) in acpi_hotplug_schedule()
1176 INIT_WORK(&hpw->work, acpi_hotplug_work_fn); in acpi_hotplug_schedule()
1177 hpw->adev = adev; in acpi_hotplug_schedule()
1178 hpw->src = src; in acpi_hotplug_schedule()
1185 if (!queue_work(kacpi_hotplug_wq, &hpw->work)) { in acpi_hotplug_schedule()
1186 kfree(hpw); in acpi_hotplug_schedule()