Home
last modified time | relevance | path

Searched refs:crsbuf (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/hotplug/
Dpciehprm_acpi.c260 struct acpi_buffer crsbuf; in acpi_evaluate_crs() local
263 crsbuf.length = 0; in acpi_evaluate_crs()
264 crsbuf.pointer = NULL; in acpi_evaluate_crs()
266 status = acpi_get_current_resources (handle, &crsbuf); in acpi_evaluate_crs()
279 crsbuf.pointer = kmalloc (crsbuf.length, GFP_KERNEL); in acpi_evaluate_crs()
280 if (!crsbuf.pointer) { in acpi_evaluate_crs()
281 err ("acpi_pciehprm: alloc %ld bytes for %s _CRS fail\n", (ulong)crsbuf.length, path_name); in acpi_evaluate_crs()
285 status = acpi_get_current_resources (handle, &crsbuf); in acpi_evaluate_crs()
288 kfree(crsbuf.pointer); in acpi_evaluate_crs()
292 *retbuf = crsbuf.pointer; in acpi_evaluate_crs()
[all …]
Dshpchprm_acpi.c261 struct acpi_buffer crsbuf; in acpi_evaluate_crs() local
264 crsbuf.length = 0; in acpi_evaluate_crs()
265 crsbuf.pointer = NULL; in acpi_evaluate_crs()
267 status = acpi_get_current_resources (handle, &crsbuf); in acpi_evaluate_crs()
280 crsbuf.pointer = kmalloc (crsbuf.length, GFP_KERNEL); in acpi_evaluate_crs()
281 if (!crsbuf.pointer) { in acpi_evaluate_crs()
282 err ("acpi_shpchprm: alloc %ld bytes for %s _CRS fail\n", (ulong)crsbuf.length, path_name); in acpi_evaluate_crs()
286 status = acpi_get_current_resources (handle, &crsbuf); in acpi_evaluate_crs()
289 kfree(crsbuf.pointer); in acpi_evaluate_crs()
293 *retbuf = crsbuf.pointer; in acpi_evaluate_crs()
[all …]