Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/acpi/x86/
Dapple.c30 unsigned int i, j = 0, newsize = 0, numprops, numvalid; in acpi_extract_apple_properties() local
83 numvalid = bitmap_weight(valid, numprops); in acpi_extract_apple_properties()
84 if (numprops > numvalid) in acpi_extract_apple_properties()
87 numprops - numvalid); in acpi_extract_apple_properties()
88 if (numvalid == 0) in acpi_extract_apple_properties()
92 newsize += (1 + 3 * numvalid) * sizeof(union acpi_object); in acpi_extract_apple_properties()
99 newprops->package.count = numvalid; in acpi_extract_apple_properties()
101 free_space = &newprops[1 + 3 * numvalid]; in acpi_extract_apple_properties()
106 unsigned int k = 1 + numvalid + j * 2; /* index into newprops */ in acpi_extract_apple_properties()