/fuchsia/zircon/system/dev/block/nvme/ |
H A D | nvme.c | 61 static_assert(PAGE_SIZE == (1ULL << PAGE_SHIFT), ""); 63 #define PAGE_MASK (PAGE_SIZE - 1ULL) 71 #define SQMAX (PAGE_SIZE / sizeof(nvme_cmd_t)) 72 #define CQMAX (PAGE_SIZE / sizeof(nvme_cpl_t)) 794 if ((1 << NVME_CAP_MPSMIN(cap)) > PAGE_SIZE) { 800 if (io_buffer_init(&nvme->iob, nvme->bti, PAGE_SIZE * IO_PAGE_COUNT, IO_BUFFER_RW) || 811 nvme->utxn[n].virt = nvme->iob.virt + (IDX_UTXN_POOL + n) * PAGE_SIZE; 855 nvme->admin_sq = nvme->iob.virt + PAGE_SIZE * IDX_ADMIN_SQ; 859 nvme->admin_cq = nvme->iob.virt + PAGE_SIZE * IDX_ADMIN_CQ; 867 nvme->io_sq = nvme->iob.virt + PAGE_SIZE * IDX_IO_S [all...] |
/fuchsia/zircon/kernel/platform/pc/ |
H A D | memory.cpp | 131 uint64_t base = ROUNDUP(range->base, PAGE_SIZE); 132 uint64_t size = ROUNDDOWN(range->base + range->size, PAGE_SIZE) - 266 range->size = entry->NumberOfPages * PAGE_SIZE; 282 range->size += next->NumberOfPages * PAGE_SIZE; 520 const uint64_t alloc_size = 2 * PAGE_SIZE; 521 const uint64_t min_base = 2 * PAGE_SIZE;
|
H A D | smbios.cpp | 68 const size_t subpage_offset = base & (PAGE_SIZE - 1); 70 size_t len = ROUNDUP(end - base, PAGE_SIZE);
|
/fuchsia/zircon/system/dev/display/imx8m-display/ |
H A D | imx8m-display.c | 77 unsigned size = ROUNDUP(image->width * image->height * pixel_size, PAGE_SIZE); 78 unsigned num_pages = size / PAGE_SIZE; 91 if (paddr[i] + PAGE_SIZE != paddr[i + 1]) {
|
/fuchsia/zircon/system/dev/display/intel-i915/ |
H A D | igd.cpp | 349 uint32_t igd_opregion_pages_len_ = kIgdOpRegionLen + (igd_addr & PAGE_SIZE); 351 igd_addr & ~(PAGE_SIZE - 1), 368 igd_opregion_pages_base_ + (igd_addr % PAGE_SIZE));
|
/fuchsia/zircon/kernel/arch/x86/include/arch/x86/ |
H A D | mp.h | 75 uint8_t interrupt_stacks[NUM_ASSIGNED_IST_ENTRIES][PAGE_SIZE] __ALIGNED(16);
|
/fuchsia/zircon/kernel/lib/vdso/ |
H A D | rodso.cpp | 47 size / PAGE_SIZE, nullptr);
|
/fuchsia/zircon/kernel/object/ |
H A D | bus_transaction_initiator_dispatcher.cpp | 120 leaked_pages += pmt.size() / PAGE_SIZE;
|
/fuchsia/zircon/kernel/vm/ |
H A D | pmm_node.h | 91 size_t index = (addr - a.base()) / PAGE_SIZE;
|
H A D | vm_object.cpp | 237 const uint64_t aligned_offset = ROUNDDOWN(offset, PAGE_SIZE); 238 const uint64_t aligned_len = ROUNDUP(offset + len, PAGE_SIZE) - aligned_offset;
|
H A D | vm_aspace.cpp | 294 size = ROUNDUP(size, PAGE_SIZE); 446 size = ROUNDUP(size, PAGE_SIZE); 474 size = ROUNDUP(size, PAGE_SIZE); 496 LTRACEF("failed to allocate enough pages (asked for %zu, got %zu)\n", size / PAGE_SIZE, 497 static_cast<size_t>(committed) / PAGE_SIZE);
|
/fuchsia/zircon/system/dev/board/gauss/ |
H A D | gauss-pcie.c | 36 .length = PAGE_SIZE,
|
/fuchsia/zircon/system/dev/lib/amlogic/ |
H A D | aml-usb-phy-v2.c | 21 status = io_buffer_init_physical(&buf, bti, reg_base, PAGE_SIZE, get_root_resource(),
|
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/ |
H A D | sdmmc.h | 51 #define SDMMC_PAGES_COUNT (PAGE_SIZE / sizeof(zx_paddr_t))
|
/fuchsia/zircon/system/utest/fs/ |
H A D | test-rw.cpp | 56 constexpr size_t kBufferSize = PAGE_SIZE;
|
/fuchsia/zircon/third_party/ulib/musl/src/internal/ |
H A D | threads_impl.h | 170 ._a_guardsize = PAGE_SIZE, \
|
/fuchsia/zircon/third_party/ulib/musl/ldso/ |
H A D | dynlink.c | 200 size_t chunk_size = (size + PAGE_SIZE - 1) & -PAGE_SIZE; 778 size_t start = ph->p_vaddr & -PAGE_SIZE; 779 size_t end = (ph->p_vaddr + ph->p_memsz + PAGE_SIZE - 1) & -PAGE_SIZE; 920 dso->relro_start = ph->p_vaddr & -PAGE_SIZE; 921 dso->relro_end = (ph->p_vaddr + ph->p_memsz) & -PAGE_SIZE; 941 addr_max += PAGE_SIZE - 1; 942 addr_max &= -PAGE_SIZE; 943 addr_min &= -PAGE_SIZE; [all...] |
/fuchsia/zircon/system/utest/hypervisor/ |
H A D | guest.cpp | 123 ASSERT_EQ(test->guest.set_trap(ZX_GUEST_TRAP_MEM, EXIT_TEST_ADDR, PAGE_SIZE, 132 *pte_off = PAGE_SIZE | X86_PTE_P | X86_PTE_U | X86_PTE_RW; 134 pte_off = reinterpret_cast<uint64_t*>(test->host_addr + PAGE_SIZE); 600 ASSERT_EQ(test.guest.set_trap(ZX_GUEST_TRAP_MEM, TRAP_ADDR, PAGE_SIZE, zx::port(), kTrapKey), 628 ASSERT_EQ(test.guest.set_trap(ZX_GUEST_TRAP_BELL, TRAP_ADDR, PAGE_SIZE, port, kTrapKey),
|
/fuchsia/zircon/kernel/syscalls/ |
H A D | object.cpp | 529 stats.total_bytes = total * PAGE_SIZE; 532 stats.free_bytes = state_count[VM_PAGE_STATE_FREE] * PAGE_SIZE; 535 stats.wired_bytes = state_count[VM_PAGE_STATE_WIRED] * PAGE_SIZE; 538 stats.total_heap_bytes = state_count[VM_PAGE_STATE_HEAP] * PAGE_SIZE; 542 stats.vmo_bytes = state_count[VM_PAGE_STATE_OBJECT] * PAGE_SIZE; 545 stats.mmu_overhead_bytes = state_count[VM_PAGE_STATE_MMU] * PAGE_SIZE; 548 stats.ipc_bytes = state_count[VM_PAGE_STATE_IPC] * PAGE_SIZE;
|
/fuchsia/zircon/system/dev/usb/xhci/ |
H A D | xhci.c | 26 #define PAGE_ROUNDUP(x) ROUNDUP_TO(x, PAGE_SIZE) 211 result = io_buffer_init(&xhci->dcbaa_erst_buffer, xhci->bti_handle, PAGE_SIZE, 217 result = io_buffer_init(&xhci->input_context_buffer, xhci->bti_handle, PAGE_SIZE, 228 if (xhci->page_size > PAGE_SIZE) { 270 if (erst_offset + array_bytes > PAGE_SIZE) { 291 size_t index = offset / PAGE_SIZE; 292 size_t suboffset = offset & (PAGE_SIZE - 1);
|
/fuchsia/zircon/system/ulib/launchpad/ |
H A D | launchpad.c | 498 (((info.base + info.len) / 2) + PAGE_SIZE - 1) & -PAGE_SIZE; 1000 if (new_size >= (SIZE_MAX & -PAGE_SIZE)) { 1003 new_size = SIZE_MAX & -PAGE_SIZE; 1006 new_size = (new_size + PAGE_SIZE - 1) & -PAGE_SIZE; 1091 stack_size = (stack_size + PAGE_SIZE - 1) & -PAGE_SIZE; 1128 ZX_DEBUG_ASSERT(stack_size % PAGE_SIZE == 0);
|
/fuchsia/zircon/system/dev/usb/dwc3/ |
H A D | dwc3-endpoints.c | 18 #define EP_FIFO_SIZE PAGE_SIZE 47 static_assert(EP_FIFO_SIZE <= PAGE_SIZE, ""); 135 usb_request_phys_iter_init(&iter, req, PAGE_SIZE);
|
/fuchsia/zircon/bootloader/src/ |
H A D | cmdline.c | 16 #define CMDLINE_MAX_STRINGDATA (PAGE_SIZE * 3)
|
/fuchsia/zircon/kernel/arch/arm64/ |
H A D | boot-mmu.cpp | 162 off += PAGE_SIZE;
|
/fuchsia/zircon/kernel/arch/x86/hypervisor/ |
H A D | vmx_cpu_state.cpp | 76 if (vmx_info.region_size > PAGE_SIZE)
|