Lines Matching full:dpc
848 struct acpi_os_dpc *dpc = container_of(work, struct acpi_os_dpc, work); in acpi_os_execute_deferred() local
850 dpc->function(dpc->context); in acpi_os_execute_deferred()
851 kfree(dpc); in acpi_os_execute_deferred()
1067 struct acpi_os_dpc *dpc; in acpi_os_execute() local
1084 * Allocate/initialize DPC structure. Note that this memory will be in acpi_os_execute()
1092 dpc = kzalloc(sizeof(struct acpi_os_dpc), GFP_ATOMIC); in acpi_os_execute()
1093 if (!dpc) in acpi_os_execute()
1096 dpc->function = function; in acpi_os_execute()
1097 dpc->context = context; in acpi_os_execute()
1106 INIT_WORK(&dpc->work, acpi_os_execute_deferred); in acpi_os_execute()
1109 INIT_WORK(&dpc->work, acpi_os_execute_deferred); in acpi_os_execute()
1125 ret = queue_work_on(0, queue, &dpc->work); in acpi_os_execute()
1132 kfree(dpc); in acpi_os_execute()