/reactos/sdk/lib/drivers/virtio/ |
H A D | VirtIOPCILegacy.c | 167 ring_size = ROUND_TO_PAGES(vring_size(num, VIRTIO_PCI_VRING_ALIGN, false)); in vio_legacy_query_vq_alloc() 168 data_size = ROUND_TO_PAGES(vring_control_block_size(num, false)); in vio_legacy_query_vq_alloc() 206 (u8 *)info->queue + ROUND_TO_PAGES(vring_size(info->num, VIRTIO_PCI_VRING_ALIGN, false))); in vio_legacy_setup_vq()
|
H A D | VirtIOPCIModern.c | 248 return (size_t)ROUND_TO_PAGES(vring_size(num, SMP_CACHE_BYTES, packed)); in vring_pci_size()
|
/reactos/drivers/filesystems/fs_rec/ |
H A D | blockdev.c | 185 ROUND_TO_PAGES(Length), in FsRecReadBlock()
|
/reactos/ntoskrnl/mm/ARM3/ |
H A D | vadnode.c | 700 Length = ROUND_TO_PAGES(Length); in MiFindEmptyAddressRangeDownTree() 816 Length = ROUND_TO_PAGES(Length); in MiFindEmptyAddressRangeDownBasedTree()
|
H A D | sysldr.c | 155 …PteCount = ROUND_TO_PAGES(((PMM_IMAGE_SECTION_OBJECT)Section->Segment)->ImageInformation.ImageFile… in MiLoadImageSection() 1716 DllBase = (PVOID)ROUND_TO_PAGES((ULONG_PTR)DllBase + DiscardSection->VirtualAddress); in MmFreeDriverInitialization() 1766 PteCount = ROUND_TO_PAGES(LdrEntry->SizeOfImage) >> PAGE_SHIFT; in MiReloadBootLoadedDrivers() 2210 MiKernelResourceEndPte = MiAddressToPte(ROUND_TO_PAGES(DllBase + in MiLocateKernelSections() 2687 PointerPte = MiAddressToPte(ROUND_TO_PAGES(ImageBase + in MiEnablePagingOfDriver()
|
H A D | procsup.c | 81 AlignedSize = ROUND_TO_PAGES(Size); in MiCreatePebOrTeb() 131 TebEnd = (ULONG_PTR)Teb + ROUND_TO_PAGES(sizeof(TEB)) - 1; in MmDeleteTeb()
|
H A D | expool.c | 1199 ROUND_TO_PAGES(PoolBigPageTableSize * in InitializePool() 1266 ROUND_TO_PAGES(PoolTrackTableSize * sizeof(POOL_TRACKER_TABLE)), in InitializePool() 2059 ExpInsertPoolTracker(Tag, ROUND_TO_PAGES(NumberOfBytes), OriginalType); in ExAllocatePoolWithTag()
|
H A D | session.c | 123 MiSessionDataPages = ROUND_TO_PAGES(sizeof(MM_SESSION_SPACE)) >> PAGE_SHIFT; in MiInitializeSessionIds()
|
H A D | mminit.c | 2253 MmAllocationFragment = ROUND_TO_PAGES(MmAllocationFragment); in MmArmInitSystem()
|
H A D | virtual.c | 4740 PRegionSize = ROUND_TO_PAGES(PRegionSize); in NtAllocateVirtualMemory()
|
/reactos/drivers/filesystems/cdfs/ |
H A D | fsctrl.c | 152 _Inout_updates_bytes_(ROUND_TO_PAGES( SECTOR_SIZE )) PCHAR RawIsoVd, 990 ROUND_TO_PAGES( SECTOR_SIZE ), 1515 ROUND_TO_PAGES( 2 * SECTOR_SIZE ), 3292 _Inout_updates_bytes_(ROUND_TO_PAGES( SECTOR_SIZE )) PCHAR RawIsoVd,
|
/reactos/modules/rostests/kmtests/ntos_cc/ |
H A D | CcCopyWrite_drv.c | 450 ok_eq_ulong(Length, ROUND_TO_PAGES(Fcb->WriteLength)); in TestIrpHandler()
|
/reactos/boot/environ/lib/misc/ |
H A D | image.c | 236 Status = BlMmUnmapVirtualAddressEx(ImageBase, ROUND_TO_PAGES(ImageSize)); in BlImgUnallocateImageBuffer() 266 Size = ROUND_TO_PAGES(ImageSize); in BlImgAllocateImageBuffer()
|
/reactos/drivers/wdm/audio/backpln/portcls/ |
H A D | irpstream.cpp | 657 *ByteCount = (LPBYTE)ROUND_TO_PAGES(Data+1)-Data; in GetMappingWithTag()
|
/reactos/boot/environ/lib/mm/i386/ |
H A D | mmx86.c | 479 Size = ROUND_TO_PAGES(PhysicalAddressPtr->QuadPart - in MmMapPhysicalAddress()
|
/reactos/sdk/include/ndk/ |
H A D | mmtypes.h | 41 #define ROUND_TO_PAGES(Size) \ macro
|
/reactos/sdk/include/xdk/ |
H A D | mmfuncs.h | 73 #define ROUND_TO_PAGES(Size) \ macro
|
/reactos/boot/environ/lib/firmware/efi/ |
H A D | firmware.c | 1934 EfiBuffer = ROUND_TO_PAGES(EfiBuffer); in MmFwGetMemoryMap()
|
/reactos/boot/freeldr/freeldr/disk/ |
H A D | scsiport.c | 691 ROUND_TO_PAGES(NonCachedSize); in SpiAllocateCommonBuffer()
|
/reactos/boot/environ/lib/io/ |
H A D | device.c | 250 *BufferSize = ROUND_TO_PAGES(Size); in BlockIopAllocateAlignedBuffer()
|
/reactos/ntoskrnl/io/iomgr/ |
H A D | driver.c | 471 ASSERT(ModuleObject->SizeOfImage == ROUND_TO_PAGES(NtHeaders->OptionalHeader.SizeOfImage)); in IopInitializeDriverModule()
|
/reactos/drivers/filesystems/fastfat/ |
H A D | deviosup.c | 1395 (ULONG) ROUND_TO_PAGES( SectorSize ), in _Requires_lock_held_()
|
H A D | fsctrl.c | 2133 (ULONG) ROUND_TO_PAGES( SectorSize ), in _Requires_lock_held_() 2224 (ULONG) ROUND_TO_PAGES( RootDirectorySize ), in _Requires_lock_held_()
|
/reactos/drivers/usb/usbport/ |
H A D | usbport.c | 1736 Length = ROUND_TO_PAGES(BufferLength + HeaderSize); in USBPORT_AllocateCommonBuffer()
|
/reactos/drivers/storage/port/scsiport/ |
H A D | scsiport.c | 712 ROUND_TO_PAGES(NonCachedSize + BufSize * DeviceExtension->RequestsNumber); in SpiAllocateCommonBuffer()
|