Home
last modified time | relevance | path

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

/hypervisor/acpi_parser/
A Ddmar_parse.c58 static int32_t handle_dmar_devscope(struct dmar_dev_scope *dev_scope, void *addr, int32_t remaining) in handle_dmar_devscope() argument
65 if ((remaining >= (int32_t)sizeof(struct acpi_dmar_device_scope)) && in handle_dmar_devscope()
66 (remaining >= (int32_t)apci_devscope->length)) { in handle_dmar_devscope()
111 int32_t remaining, consumed; in handle_one_drhd() local
124 remaining = (int32_t)(acpi_drhd->header.length - sizeof(struct acpi_dmar_hardware_unit)); in handle_one_drhd()
128 while (remaining > 0) { in handle_one_drhd()
129 cp = (char *)acpi_drhd + acpi_drhd->header.length - remaining; in handle_one_drhd()
131 consumed = handle_dmar_devscope(dev_scope, cp, remaining); in handle_one_drhd()
146 remaining -= consumed; in handle_one_drhd()

Completed in 3 milliseconds