Home
last modified time | relevance | path

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

/reactos/sdk/lib/drivers/virtio/
H A DVirtIOPCILegacy.c167 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 DVirtIOPCIModern.c248 return (size_t)ROUND_TO_PAGES(vring_size(num, SMP_CACHE_BYTES, packed)); in vring_pci_size()
/reactos/drivers/filesystems/fs_rec/
H A Dblockdev.c185 ROUND_TO_PAGES(Length), in FsRecReadBlock()
/reactos/ntoskrnl/mm/ARM3/
H A Dvadnode.c700 Length = ROUND_TO_PAGES(Length); in MiFindEmptyAddressRangeDownTree()
816 Length = ROUND_TO_PAGES(Length); in MiFindEmptyAddressRangeDownBasedTree()
H A Dsysldr.c155 …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 Dprocsup.c81 AlignedSize = ROUND_TO_PAGES(Size); in MiCreatePebOrTeb()
131 TebEnd = (ULONG_PTR)Teb + ROUND_TO_PAGES(sizeof(TEB)) - 1; in MmDeleteTeb()
H A Dexpool.c1199 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 Dsession.c123 MiSessionDataPages = ROUND_TO_PAGES(sizeof(MM_SESSION_SPACE)) >> PAGE_SHIFT; in MiInitializeSessionIds()
H A Dmminit.c2253 MmAllocationFragment = ROUND_TO_PAGES(MmAllocationFragment); in MmArmInitSystem()
H A Dvirtual.c4740 PRegionSize = ROUND_TO_PAGES(PRegionSize); in NtAllocateVirtualMemory()
/reactos/drivers/filesystems/cdfs/
H A Dfsctrl.c152 _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 DCcCopyWrite_drv.c450 ok_eq_ulong(Length, ROUND_TO_PAGES(Fcb->WriteLength)); in TestIrpHandler()
/reactos/boot/environ/lib/misc/
H A Dimage.c236 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 Dirpstream.cpp657 *ByteCount = (LPBYTE)ROUND_TO_PAGES(Data+1)-Data; in GetMappingWithTag()
/reactos/boot/environ/lib/mm/i386/
H A Dmmx86.c479 Size = ROUND_TO_PAGES(PhysicalAddressPtr->QuadPart - in MmMapPhysicalAddress()
/reactos/sdk/include/ndk/
H A Dmmtypes.h41 #define ROUND_TO_PAGES(Size) \ macro
/reactos/sdk/include/xdk/
H A Dmmfuncs.h73 #define ROUND_TO_PAGES(Size) \ macro
/reactos/boot/environ/lib/firmware/efi/
H A Dfirmware.c1934 EfiBuffer = ROUND_TO_PAGES(EfiBuffer); in MmFwGetMemoryMap()
/reactos/boot/freeldr/freeldr/disk/
H A Dscsiport.c691 ROUND_TO_PAGES(NonCachedSize); in SpiAllocateCommonBuffer()
/reactos/boot/environ/lib/io/
H A Ddevice.c250 *BufferSize = ROUND_TO_PAGES(Size); in BlockIopAllocateAlignedBuffer()
/reactos/ntoskrnl/io/iomgr/
H A Ddriver.c471 ASSERT(ModuleObject->SizeOfImage == ROUND_TO_PAGES(NtHeaders->OptionalHeader.SizeOfImage)); in IopInitializeDriverModule()
/reactos/drivers/filesystems/fastfat/
H A Ddeviosup.c1395 (ULONG) ROUND_TO_PAGES( SectorSize ), in _Requires_lock_held_()
H A Dfsctrl.c2133 (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 Dusbport.c1736 Length = ROUND_TO_PAGES(BufferLength + HeaderSize); in USBPORT_AllocateCommonBuffer()
/reactos/drivers/storage/port/scsiport/
H A Dscsiport.c712 ROUND_TO_PAGES(NonCachedSize + BufSize * DeviceExtension->RequestsNumber); in SpiAllocateCommonBuffer()