Lines Matching refs:crsbuf
260 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()
641 struct acpi_resource *crsbuf in acpi_parse_crs() argument
645 struct acpi_resource *resource = crsbuf; in acpi_parse_crs()
712 struct acpi_resource *crsbuf; in acpi_get_crs() local
714 status = acpi_evaluate_crs(ab->handle, &crsbuf); in acpi_get_crs()
716 status = acpi_parse_crs(ab, crsbuf); in acpi_get_crs()
717 kfree(crsbuf); in acpi_get_crs()