Lines Matching defs:list
334 struct acpi_handle_list *list)
342 if (!list)
357 list->count = package->package.count;
358 list->handles = kcalloc(list->count, sizeof(*list->handles), GFP_KERNEL);
359 if (!list->handles)
364 for (i = 0; i < list->count; i++) {
373 list->handles[i] = element->reference.handle;
374 acpi_handle_debug(list->handles[i], "Found in reference list\n");
385 kfree(list->handles);
386 list->handles = NULL;
389 list->count = 0;
400 * @list1: First list to compare.
401 * @list2: Second list to compare.
416 * acpi_handle_list_replace - Replace one ACPI handle list with another
417 * @dst: ACPI handle list to replace.
418 * @src: Source ACPI handle list.
438 * acpi_handle_list_free - Free the handles table in an ACPI handle list
439 * @list: ACPI handle list to free.
441 * Free the handles table in @list and clear its count field.
443 void acpi_handle_list_free(struct acpi_handle_list *list)
445 if (!list->count)
448 kfree(list->handles);
449 list->count = 0;
456 * @match: ACPI handle to look up in the target's _DEP list.
458 * Return true if @match is present in the list returned by _DEP for
1041 * acpi_match_platform_list - Check if the system matches with a given list
1044 * Return the matched index if the system is found in the platform list.