/fuchsia/zircon/system/ulib/blktest/ |
H A D | blktest.cpp | 117 uint8_t buf[PAGE_SIZE]; 118 uint8_t out[PAGE_SIZE]; 121 int fd1 = get_testdev("blkdev-test-A", PAGE_SIZE, 512); 122 int fd2 = get_testdev("blkdev-test-B", PAGE_SIZE, 512); 730 // The underlying VMO may be rounded up to the nearest PAGE_SIZE. 751 static_cast<uint64_t>(PAGE_SIZE))
|
/fuchsia/zircon/kernel/arch/x86/ |
H A D | ioapic.cpp | 132 paddr_t paddr_page_base = ROUNDDOWN(paddr, PAGE_SIZE); 133 ASSERT(paddr + IO_APIC_WINDOW_SIZE <= paddr_page_base + PAGE_SIZE); 136 PAGE_SIZE, // size
|
H A D | perf_mon.cpp | 1334 (perfmon_mchbar_bar + UNC_IMC_STATS_BEGIN) & ~(PAGE_SIZE - 1); 1336 (perfmon_mchbar_bar + UNC_IMC_STATS_END) & ~(PAGE_SIZE - 1); 1337 size_t num_bytes_to_map = end_page + PAGE_SIZE - begin_page; 1339 (perfmon_mchbar_bar + UNC_IMC_STATS_BEGIN) & (PAGE_SIZE - 1); 1356 status = vmar->CreateVmMapping(0, PAGE_SIZE, /*align_pow2*/0, 1363 status = mapping->MapRange(0, PAGE_SIZE, false);
|
/fuchsia/zircon/system/dev/audio/intel-hda/controller/ |
H A D | intel-hda-controller-init.cpp | 366 static_assert(PAGE_SIZE >= (HDA_CORB_MAX_BYTES + HDA_RIRB_MAX_BYTES), 367 "PAGE_SIZE to small to hold CORB and RIRB buffers!"); 368 res = cmd_buf_cpu_mem_.CreateAndMap(PAGE_SIZE, 377 PAGE_SIZE, res);
|
H A D | intel-hda-stream.cpp | 73 static_assert(MAX_BDL_BYTES <= PAGE_SIZE, "A max length BDL must fit inside a single page!"); 80 res = bdl_cpu_mem_.CreateAndMap(PAGE_SIZE, 87 LOG(ERROR, "Failed to create and map %u bytes for stream BDL! (res %d)\n", PAGE_SIZE, res);
|
/fuchsia/zircon/system/dev/block/ramdisk/ |
H A D | ramdisk.c | 511 PAGE_SIZE, (vmo_size + PAGE_SIZE - 1) / PAGE_SIZE,
|
/fuchsia/zircon/third_party/lib/acpica/source/os_specific/service_layers/ |
H A D | osfuchsia.cpp | 411 ACPI_PHYSICAL_ADDRESS aligned_address = PhysicalAddress & ~(PAGE_SIZE - 1); 412 ACPI_PHYSICAL_ADDRESS end = (PhysicalAddress + Length + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1);
|
/fuchsia/zircon/system/dev/block/aml-sd-emmc/ |
H A D | aml-sd-emmc.c | 37 #define PAGE_MASK (PAGE_SIZE - 1ull) 685 PAGE_SIZE; 698 pagecount * PAGE_SIZE, phys, pagecount, &pmt); 725 phys_iter_init(&iter, &buf, PAGE_SIZE); 743 } else if (length > PAGE_SIZE) { 1049 dev->info.max_transfer_size = AML_DMA_DESC_MAX_COUNT * PAGE_SIZE;
|
/fuchsia/zircon/bootloader/src/ |
H A D | osboot.c | 48 if (gBS->FreePages(mem - FRONT_BYTES, (nbramdisk.size / PAGE_SIZE) + FRONT_PAGES)) { 61 (buf_size / PAGE_SIZE) + FRONT_PAGES, &mem)) {
|
/fuchsia/zircon/kernel/arch/arm64/hypervisor/ |
H A D | vmexit.cpp | 145 for (size_t i = 0; i < PAGE_SIZE / sizeof(pte_t); i++) { 274 guest_paddr |= guest_state->far_el2 & (PAGE_SIZE - 1);
|
/fuchsia/zircon/system/core/netsvc/ |
H A D | netboot.c | 34 #define PAGE_ROUNDUP(x) ((x + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))
|
/fuchsia/zircon/kernel/object/include/object/ |
H A D | buffer_chain.h | 46 constexpr static size_t kSizeOfBuffer = PAGE_SIZE;
|
/fuchsia/zircon/kernel/object/ |
H A D | vm_object_dispatcher.cpp | 112 entry.committed_bytes = vmo->AllocatedPages() * PAGE_SIZE;
|
/fuchsia/zircon/kernel/platform/pc/ |
H A D | hpet.cpp | 77 PAGE_SIZE, /* size */
|
/fuchsia/zircon/kernel/vm/include/vm/ |
H A D | vm_object_paged.h | 102 static const uint64_t MAX_SIZE = ROUNDDOWN(UINT64_MAX, PAGE_SIZE);
|
/fuchsia/zircon/system/core/devmgr/ |
H A D | devmgr-fdio.cpp | 180 char buffer[PAGE_SIZE];
|
/fuchsia/zircon/system/dev/audio/astro-tdm-output/ |
H A D | audio-stream-out.cpp | 15 constexpr size_t RB_SIZE = fbl::round_up<size_t, size_t>(48000 * 2 * 2u, PAGE_SIZE);
|
/fuchsia/zircon/system/dev/audio/intel-hda/dsp/ |
H A D | intel-audio-dsp.h | 165 uint8_t nhlt_buf_[PAGE_SIZE];
|
/fuchsia/zircon/system/dev/block/sdhci/ |
H A D | sdhci.c | 41 #define PAGE_MASK (PAGE_SIZE - 1ull) 410 PAGE_SIZE; 423 pagecount * PAGE_SIZE, phys, pagecount, &pmt); 967 dev->info.max_transfer_size = DMA_DESC_COUNT * PAGE_SIZE;
|
/fuchsia/zircon/system/dev/bus/platform/ |
H A D | platform-proxy-device.cpp | 287 const zx_paddr_t vmo_base = ROUNDDOWN(mmio.base, PAGE_SIZE); 288 const size_t vmo_size = ROUNDUP(mmio.base + mmio.length - vmo_base, PAGE_SIZE); 321 const zx_paddr_t vmo_base = ROUNDDOWN(mmio.base, PAGE_SIZE); 322 const size_t vmo_size = ROUNDUP(mmio.base + mmio.length - vmo_base, PAGE_SIZE);
|
/fuchsia/zircon/system/uapp/psutils/ |
H A D | vmaps.c | 145 u->committed_pages * PAGE_SIZE);
|
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/ |
H A D | platform-device.h | 151 zx_off_t offset = (uintptr_t)vaddr & (PAGE_SIZE - 1);
|
/fuchsia/zircon/system/ulib/memfs/ |
H A D | file.cpp | 173 constexpr size_t kPageSize = static_cast<size_t>(PAGE_SIZE);
|
H A D | memfs.cpp | 30 constexpr size_t kPageSize = static_cast<size_t>(PAGE_SIZE);
|
/fuchsia/zircon/system/dev/block/imx-sdhci/ |
H A D | imx-sdhci.c | 62 #define PAGE_MASK (PAGE_SIZE - 1ull) 86 // 64k - 1 is max per descriptor, we operate on pages so we use 64K - PAGE_SIZE 87 #define ADMA2_DESC_MAX_LENGTH (0x10000 - PAGE_SIZE) 517 PAGE_SIZE; 530 pagecount * PAGE_SIZE, phys, pagecount, &pmt); 1198 dev->info.max_transfer_size = DMA_DESC_COUNT * PAGE_SIZE;
|