Searched refs:PAGE_SIZE (Results 151 - 175 of 208) sorted by relevance

123456789

/fuchsia/zircon/system/ulib/blktest/
H A Dblktest.cpp117 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 Dioapic.cpp132 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 Dperf_mon.cpp1334 (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 Dintel-hda-controller-init.cpp366 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 Dintel-hda-stream.cpp73 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 Dramdisk.c511 PAGE_SIZE, (vmo_size + PAGE_SIZE - 1) / PAGE_SIZE,
/fuchsia/zircon/third_party/lib/acpica/source/os_specific/service_layers/
H A Dosfuchsia.cpp411 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 Daml-sd-emmc.c37 #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 Dosboot.c48 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 Dvmexit.cpp145 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 Dnetboot.c34 #define PAGE_ROUNDUP(x) ((x + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1))
/fuchsia/zircon/kernel/object/include/object/
H A Dbuffer_chain.h46 constexpr static size_t kSizeOfBuffer = PAGE_SIZE;
/fuchsia/zircon/kernel/object/
H A Dvm_object_dispatcher.cpp112 entry.committed_bytes = vmo->AllocatedPages() * PAGE_SIZE;
/fuchsia/zircon/kernel/platform/pc/
H A Dhpet.cpp77 PAGE_SIZE, /* size */
/fuchsia/zircon/kernel/vm/include/vm/
H A Dvm_object_paged.h102 static const uint64_t MAX_SIZE = ROUNDDOWN(UINT64_MAX, PAGE_SIZE);
/fuchsia/zircon/system/core/devmgr/
H A Ddevmgr-fdio.cpp180 char buffer[PAGE_SIZE];
/fuchsia/zircon/system/dev/audio/astro-tdm-output/
H A Daudio-stream-out.cpp15 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 Dintel-audio-dsp.h165 uint8_t nhlt_buf_[PAGE_SIZE];
/fuchsia/zircon/system/dev/block/sdhci/
H A Dsdhci.c41 #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 Dplatform-proxy-device.cpp287 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 Dvmaps.c145 u->committed_pages * PAGE_SIZE);
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/
H A Dplatform-device.h151 zx_off_t offset = (uintptr_t)vaddr & (PAGE_SIZE - 1);
/fuchsia/zircon/system/ulib/memfs/
H A Dfile.cpp173 constexpr size_t kPageSize = static_cast<size_t>(PAGE_SIZE);
H A Dmemfs.cpp30 constexpr size_t kPageSize = static_cast<size_t>(PAGE_SIZE);
/fuchsia/zircon/system/dev/block/imx-sdhci/
H A Dimx-sdhci.c62 #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;

Completed in 213 milliseconds

123456789