Lines Matching refs:hpw
1153 struct acpi_hp_work *hpw = container_of(work, struct acpi_hp_work, work); in acpi_hotplug_work_fn() local
1156 acpi_device_hotplug(hpw->adev, hpw->src); in acpi_hotplug_work_fn()
1157 kfree(hpw); in acpi_hotplug_work_fn()
1162 struct acpi_hp_work *hpw; in acpi_hotplug_schedule() local
1168 hpw = kmalloc(sizeof(*hpw), GFP_KERNEL); in acpi_hotplug_schedule()
1169 if (!hpw) in acpi_hotplug_schedule()
1172 INIT_WORK(&hpw->work, acpi_hotplug_work_fn); in acpi_hotplug_schedule()
1173 hpw->adev = adev; in acpi_hotplug_schedule()
1174 hpw->src = src; in acpi_hotplug_schedule()
1181 if (!queue_work(kacpi_hotplug_wq, &hpw->work)) { in acpi_hotplug_schedule()
1182 kfree(hpw); in acpi_hotplug_schedule()