Searched defs:AllocSize (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/EhciDxe/
H A DUsbHcMem.c242 UINTN AllocSize; local
247 AllocSize = USBHC_MEM_ROUND (Size);
258 if ((Block->BufHost <= (UINT8 *) Mem) && (((UINT8 *) Mem + AllocSize) <= (Block->BufHost + Block->BufLen))) {
440 UINTN AllocSize; local
444 AllocSize = USBHC_MEM_ROUND (Size);
452 Mem = UsbHcAllocMemFromBlock (Block, AllocSize / USBHC_MEM_UNIT);
470 if (AllocSize > EFI_PAGES_TO_SIZE (USBHC_MEM_DEFAULT_PAGES)) {
471 Pages = EFI_SIZE_TO_PAGES (AllocSize) + 1;
487 Mem = UsbHcAllocMemFromBlock (NewBlock, AllocSize / USBHC_MEM_UNIT);
515 UINTN AllocSize; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/EhciPei/
H A DUsbHcMem.c371 UINTN AllocSize; local
375 AllocSize = USBHC_MEM_ROUND (Size);
383 Mem = UsbHcAllocMemFromBlock (Block, AllocSize / USBHC_MEM_UNIT);
401 if (AllocSize > EFI_PAGES_TO_SIZE (USBHC_MEM_DEFAULT_PAGES)) {
402 Pages = EFI_SIZE_TO_PAGES (AllocSize) + 1;
416 Mem = UsbHcAllocMemFromBlock (NewBlock, AllocSize / USBHC_MEM_UNIT);
443 UINTN AllocSize; local
449 AllocSize = USBHC_MEM_ROUND (Size);
457 if ((Block->Buf <= ToFree) && ((ToFree + AllocSize) <= (Block->Buf + Block->BufLen))) {
467 for (Count = 0; Count < (AllocSize / USBHC_MEM_UNI
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/UhciDxe/
H A DUsbHcMem.c241 UINTN AllocSize; local
246 AllocSize = USBHC_MEM_ROUND (Size);
257 if ((Block->BufHost <= (UINT8 *) Mem) && (((UINT8 *) Mem + AllocSize) <= (Block->BufHost + Block->BufLen))) {
438 UINTN AllocSize; local
442 AllocSize = USBHC_MEM_ROUND (Size);
450 Mem = UsbHcAllocMemFromBlock (Block, AllocSize / USBHC_MEM_UNIT);
468 if (AllocSize > EFI_PAGES_TO_SIZE (USBHC_MEM_DEFAULT_PAGES)) {
469 Pages = EFI_SIZE_TO_PAGES (AllocSize) + 1;
485 Mem = UsbHcAllocMemFromBlock (NewBlock, AllocSize / USBHC_MEM_UNIT);
513 UINTN AllocSize; local
[all...]

Completed in 81 milliseconds