/fuchsia/zircon/kernel/dev/iommu/intel/ |
H A D | second_level_pt.cpp | 33 return ((1ull << width) - 1) & ~(PAGE_SIZE - 1); 71 size_t size = valid_vaddr_mask_ + PAGE_SIZE;
|
/fuchsia/zircon/system/dev/block/ahci/ |
H A D | ahci.h | 13 #define AHCI_MAX_PRDS ((PAGE_SIZE / sizeof(zx_paddr_t)) + 1) 19 static_assert(PAGE_SIZE <= AHCI_PRD_MAX_SIZE, "page size must be less than PRD max size\n");
|
/fuchsia/zircon/system/dev/bus/virtio/ |
H A D | ring.cpp | 57 size_t size = vring_size(count, PAGE_SIZE); 70 vring_init(&ring_, count, io_buffer_virt(&ring_buf_), PAGE_SIZE);
|
/fuchsia/zircon/system/ulib/bitmap/include/bitmap/ |
H A D | storage.h | 76 size_ = fbl::round_up(size, static_cast<size_t>(PAGE_SIZE)); 95 size = fbl::round_up(size, static_cast<size_t>(PAGE_SIZE));
|
/fuchsia/zircon/system/utest/crypto/ |
H A D | cipher.cpp | 101 EXPECT_ZX(encrypt.InitEncrypt(cipher, key, iv, PAGE_SIZE - 1), ZX_ERR_INVALID_ARGS); 105 EXPECT_OK(encrypt.InitEncrypt(cipher, key, iv, PAGE_SIZE)); 138 EXPECT_ZX(decrypt.InitDecrypt(cipher, key, iv, PAGE_SIZE - 1), ZX_ERR_INVALID_ARGS); 142 EXPECT_OK(decrypt.InitDecrypt(cipher, key, iv, PAGE_SIZE)); 150 size_t len = PAGE_SIZE; 185 size_t len = PAGE_SIZE; 223 size_t len = PAGE_SIZE; 288 size_t len = PAGE_SIZE;
|
/fuchsia/zircon/third_party/lib/acpica/source/os_specific/service_layers/ |
H A D | oszircon.cpp | 141 ACPI_PHYSICAL_ADDRESS aligned_address = ROUNDDOWN(PhysicalAddress, PAGE_SIZE); 142 ACPI_PHYSICAL_ADDRESS end = ROUNDUP(PhysicalAddress + Length, PAGE_SIZE);
|
/fuchsia/zircon/third_party/ulib/musl/src/conf/ |
H A D | sysconf.c | 184 return PAGE_SIZE; 191 return _zx_system_get_physmem() / PAGE_SIZE; 202 // mem /= PAGE_SIZE;
|
/fuchsia/zircon/kernel/arch/x86/ |
H A D | start16.S | 21 .balign PAGE_SIZE 103 add $PAGE_SIZE, %rsp
|
H A D | descriptor.cpp | 63 tss->ist1 = (uintptr_t)&percpu->interrupt_stacks[0] + PAGE_SIZE; 64 tss->ist2 = (uintptr_t)&percpu->interrupt_stacks[1] + PAGE_SIZE; 65 tss->ist3 = (uintptr_t)&percpu->interrupt_stacks[2] + PAGE_SIZE;
|
H A D | mmu.cpp | 38 volatile pt_entry_t pml4[NO_OF_PT_ENTRIES] __ALIGNED(PAGE_SIZE); 39 volatile pt_entry_t pdp[NO_OF_PT_ENTRIES] __ALIGNED(PAGE_SIZE); /* temporary */ 40 volatile pt_entry_t pte[NO_OF_PT_ENTRIES] __ALIGNED(PAGE_SIZE); 43 volatile pt_entry_t pdp_high[NO_OF_PT_ENTRIES] __ALIGNED(PAGE_SIZE); 46 volatile pt_entry_t linear_map_pdp[(64ULL * GB) / (2 * MB)] __ALIGNED(PAGE_SIZE); 98 if (!IS_ALIGNED(vaddr, PAGE_SIZE)) 111 if (!IS_ALIGNED(paddr, PAGE_SIZE))
|
/fuchsia/zircon/kernel/object/include/object/ |
H A D | fifo_dispatcher.h | 58 static constexpr uint32_t kMaxSizeBytes = PAGE_SIZE;
|
/fuchsia/zircon/kernel/object/ |
H A D | resource.cpp | 75 const uint64_t aligned_rbase = ROUNDDOWN(rbase, PAGE_SIZE);
|
/fuchsia/zircon/system/core/userboot/ |
H A D | start.c | 76 (((info.base + info.len) / 2) + PAGE_SIZE - 1) & -PAGE_SIZE; 258 stack_size = (stack_size + PAGE_SIZE - 1) & -PAGE_SIZE;
|
/fuchsia/zircon/system/dev/bus/platform/ |
H A D | platform-protocol-device.cpp | 78 const zx_paddr_t vmo_base = ROUNDDOWN(mmio.base, PAGE_SIZE); 79 const size_t vmo_size = ROUNDUP(mmio.base + mmio.length - vmo_base, PAGE_SIZE); 112 const zx_paddr_t vmo_base = ROUNDDOWN(mmio.base, PAGE_SIZE); 113 const size_t vmo_size = ROUNDUP(mmio.base + mmio.length - vmo_base, PAGE_SIZE);
|
/fuchsia/zircon/system/dev/display/aml-canvas/ |
H A D | aml-canvas.c | 47 (offset & (PAGE_SIZE - 1)), 48 PAGE_SIZE); 76 vmo, offset & ~(PAGE_SIZE - 1), size, 93 zx_paddr_t start_addr = paddr + (offset & (PAGE_SIZE - 1));
|
/fuchsia/zircon/system/dev/lib/amlogic/ |
H A D | a113-clocks.c | 33 status = io_buffer_init_physical(&(*device)->regs_iobuff, bti, A113_CLOCKS_BASE_PHYS,PAGE_SIZE,
|
/fuchsia/zircon/system/dev/usb/xhci/ |
H A D | xdc.h | 17 #define TRANSFER_RING_SIZE (PAGE_SIZE / sizeof(xhci_trb_t))
|
H A D | xhci.h | 29 #define COMMAND_RING_SIZE (PAGE_SIZE / sizeof(xhci_trb_t)) 30 #define TRANSFER_RING_SIZE (PAGE_SIZE / sizeof(xhci_trb_t)) 31 #define EVENT_RING_SIZE (PAGE_SIZE / sizeof(xhci_trb_t))
|
/fuchsia/zircon/system/utest/fs/ |
H A D | test-utils.cpp | 39 ASSERT_EQ(mvmo->GetSize(), init_size + PAGE_SIZE);
|
/fuchsia/zircon/kernel/arch/arm64/ |
H A D | mmu.cpp | 883 ret = MapPages(vaddr, paddr, count * PAGE_SIZE, 889 *mapped = (ret > 0) ? (ret / PAGE_SIZE) : 0u; 937 UnmapPages(vaddr, idx * PAGE_SIZE, vaddr_base, top_size_shift, 947 ret = MapPages(v, paddr, PAGE_SIZE, 954 v += PAGE_SIZE; 955 total_mapped += ret / PAGE_SIZE; 992 ret = UnmapPages(vaddr, count * PAGE_SIZE, 998 *unmapped = (ret > 0) ? (ret / PAGE_SIZE) : 0u; 1027 ret = ProtectPages(vaddr, count * PAGE_SIZE, 1043 DEBUG_ASSERT(size > PAGE_SIZE); [all...] |
/fuchsia/zircon/kernel/lib/hypervisor/ |
H A D | guest_physical_address_space.cpp | 114 return mapping->vmo()->Lookup(offset, PAGE_SIZE, kPfFlags, guest_lookup_page, host_paddr); 140 const zx_gpaddr_t begin = ROUNDDOWN(guest_paddr, PAGE_SIZE); 141 const zx_gpaddr_t end = ROUNDUP(guest_paddr + len, PAGE_SIZE);
|
/fuchsia/zircon/system/dev/audio/intel-hda/dsp/ |
H A D | intel-dsp-code-loader.cpp | 54 static_assert(MAX_BDL_BYTES <= PAGE_SIZE, "A max length BDL must fit inside a single page!"); 61 res = bdl_cpu_mem_.CreateAndMap(PAGE_SIZE, 69 PAGE_SIZE, res);
|
/fuchsia/zircon/system/ulib/fs/ |
H A D | vmo-file.cpp | 18 constexpr uint64_t kVmoFileBlksize = PAGE_SIZE; 153 size_t clone_offset = fbl::round_down(offset_, static_cast<size_t>(PAGE_SIZE)); 154 size_t clone_length = fbl::round_up(offset_ + length_, static_cast<size_t>(PAGE_SIZE)) -
|
/fuchsia/zircon/system/ulib/libzbi/ |
H A D | zbi-zx.cpp | 19 return (size + PAGE_SIZE) & -(size_t)PAGE_SIZE; 134 bool clone = (kernel_size - sizeof(zbi_header_t)) % PAGE_SIZE == 0;
|
/fuchsia/zircon/system/utest/core/object-info/ |
H A D | object-info.cpp | 124 const size_t unmapped_vmo_size = PAGE_SIZE; 195 ti->vmar_size = PAGE_SIZE * kNumMappings * 16; 210 const size_t vmo_size = PAGE_SIZE * kNumMappings; 239 m->size = PAGE_SIZE; 253 vmo, /* vmo_offset */ i * PAGE_SIZE, 254 /* len */ PAGE_SIZE, 577 0, 2 * PAGE_SIZE, local 583 ASSERT_EQ(zx_vmo_create(PAGE_SIZE, 0, &vmo), ZX_OK); 591 0, vmo, 0, PAGE_SIZE, &vmo_addr), 598 EntryType* entries = (EntryType*)(vmo_addr + PAGE_SIZE) [all...] |