Home
last modified time | relevance | path

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

/linux/drivers/acpi/x86/
H A Dapple.c30 unsigned int i, j = 0, newsize = 0, numprops, numvalid; in acpi_extract_apple_properties() local
86 numvalid = bitmap_weight(valid, numprops); in acpi_extract_apple_properties()
87 if (numprops > numvalid) in acpi_extract_apple_properties()
90 numprops - numvalid); in acpi_extract_apple_properties()
91 if (numvalid == 0) in acpi_extract_apple_properties()
95 newsize += (1 + 3 * numvalid) * sizeof(union acpi_object); in acpi_extract_apple_properties()
102 newprops->package.count = numvalid; in acpi_extract_apple_properties()
104 free_space = &newprops[1 + 3 * numvalid]; in acpi_extract_apple_properties()
109 unsigned int k = 1 + numvalid + j * 2; /* index into newprops */ in acpi_extract_apple_properties()