Searched refs:PAGESIZE (Results 1 – 7 of 7) sorted by relevance
8 PAGESIZE = mmap.PAGESIZE variable29 f.write('\0'* PAGESIZE)31 f.write('\0'* (PAGESIZE-3) )33 m = mmap.mmap(f.fileno(), 2 * PAGESIZE)39 self.assertEqual(m.find('foo'), PAGESIZE)41 self.assertEqual(len(m), 2*PAGESIZE)52 m[PAGESIZE +3: PAGESIZE +3+3] = 'bar'57 self.assertEqual(m[PAGESIZE-1 : PAGESIZE + 7], '\0foobar\0')69 self.assertEqual(start, PAGESIZE)70 self.assertEqual(end, PAGESIZE + 6)[all …]
47 PageNumber = sizeof(USBHC_MEM_BLOCK)/PAGESIZE +1; in UsbHcAllocMemBlock()69 PageNumber = (Block->BitsLen)/PAGESIZE +1; in UsbHcAllocMemBlock()295 PageNumber = sizeof(USBHC_MEM_POOL)/PAGESIZE +1; in UsbHcInitMemPool()
46 #define PAGESIZE 4096 macro
1348 MemPages = sizeof (USB_OHCI_HC_DEV) / PAGESIZE + 1; in OhcPeimEntry()1358 ZeroMem((VOID *)(UINTN)TempPtr, MemPages*PAGESIZE); in OhcPeimEntry()
46 PageNumber = sizeof(USBHC_MEM_BLOCK)/PAGESIZE +1; in UsbHcAllocMemBlock()68 PageNumber = (Block->BitsLen)/PAGESIZE +1; in UsbHcAllocMemBlock()292 PageNumber = sizeof(USBHC_MEM_POOL)/PAGESIZE +1; in UsbHcInitMemPool()
45 #define PAGESIZE 4096 macro
456 PageNumber = sizeof(PEI_URB)/PAGESIZE +1; in EhcInitHC()1199 MemPages = sizeof (PEI_USB2_HC_DEV) / PAGESIZE + 1; in EhcPeimEntry()1209 ZeroMem((VOID *)(UINTN)TempPtr, MemPages*PAGESIZE); in EhcPeimEntry()