HelenOS sources
PAGE_SIZE 184 boot/arch/arm64/src/main.c _Static_assert(PAGE_SIZE == 4096, "PAGE_SIZE must be equal to 4096");
PAGE_SIZE 185 boot/arch/arm64/src/main.c _Static_assert(IS_ALIGNED(BOOT_OFFSET, PAGE_SIZE),
PAGE_SIZE 193 boot/arch/arm64/src/main.c if (!IS_ALIGNED(memory_base, PAGE_SIZE)) {
PAGE_SIZE 95 boot/arch/ppc32/src/main.c uintptr_t balloc_start = ALIGN_UP(unpacked_size, PAGE_SIZE);
PAGE_SIZE 96 boot/arch/ppc32/src/main.c size_t pages = (balloc_start + ALIGN_UP(BALLOC_MAX_SIZE, PAGE_SIZE)) >>
PAGE_SIZE 35 boot/arch/riscv64/include/arch/arch.h #define BOOT_STACK_SIZE PAGE_SIZE
PAGE_SIZE 228 boot/arch/sparc64/src/main.c size_t sz = ALIGN_UP(payload_unpacked_size(), PAGE_SIZE);
PAGE_SIZE 342 boot/genarch/src/ofw.c ALIGN_UP(size, PAGE_SIZE), virt, phys_hi, phys_lo);
PAGE_SIZE 421 boot/genarch/src/ofw.c *base_pa = ofw_claim_phys_any(size, PAGE_SIZE);
PAGE_SIZE 424 boot/genarch/src/ofw.c *base = ofw_claim_virt_any(size, PAGE_SIZE);
PAGE_SIZE 425 boot/genarch/src/ofw.c ofw_map(*base_pa, *base, ALIGN_UP(size, PAGE_SIZE), (ofw_arg_t) -1);
PAGE_SIZE 90 boot/generic/src/payload.c uint8_t *new_ustart = (uint8_t *) ALIGN_UP((uintptr_t) ustart, PAGE_SIZE);
PAGE_SIZE 99 boot/generic/src/payload.c uint8_t *new_ustart = (uint8_t *) ALIGN_UP((uintptr_t) loader_end, PAGE_SIZE);
PAGE_SIZE 148 boot/generic/src/payload.c sz = ALIGN_UP(sz, PAGE_SIZE);
PAGE_SIZE 206 boot/generic/src/payload.c real_payload_start = (uint8_t *) ALIGN_DOWN((uintptr_t)(mem_end - payload_size), PAGE_SIZE);
PAGE_SIZE 242 boot/generic/src/payload.c ALIGN_UP((uintptr_t) task.addr + task.size, PAGE_SIZE);
PAGE_SIZE 67 kernel/arch/amd64/src/mm/tlb.c invlpg(page + i * PAGE_SIZE);
PAGE_SIZE 50 kernel/arch/amd64/src/proc/thread.c (uintptr_t) &thread->kstack[PAGE_SIZE - sizeof(istate_t)];
PAGE_SIZE 77 kernel/arch/amd64/src/smp/smp.c l_apic = (uint32_t *) km_map((uintptr_t) l_apic, PAGE_SIZE,
PAGE_SIZE 78 kernel/arch/amd64/src/smp/smp.c PAGE_SIZE, PAGE_WRITE | PAGE_NOT_CACHEABLE);
PAGE_SIZE 79 kernel/arch/amd64/src/smp/smp.c io_apic = (uint32_t *) km_map((uintptr_t) io_apic, PAGE_SIZE,
PAGE_SIZE 80 kernel/arch/amd64/src/smp/smp.c PAGE_SIZE, PAGE_WRITE | PAGE_NOT_CACHEABLE);
PAGE_SIZE 66 kernel/arch/amd64/src/vreg.c page = (uint64_t *) km_map(frame, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 104 kernel/arch/arm32/src/mach/gta02/gta02.c gta02_timer = (void *) km_map(S3C24XX_TIMER_ADDRESS, PAGE_SIZE,
PAGE_SIZE 105 kernel/arch/arm32/src/mach/gta02/gta02.c PAGE_SIZE, PAGE_NOT_CACHEABLE);
PAGE_SIZE 106 kernel/arch/arm32/src/mach/gta02/gta02.c irqc_regs = (void *) km_map(S3C24XX_IRQC_ADDRESS, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 136 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c icp.hw_map.uart = km_map(ICP_UART, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 138 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c icp.hw_map.kbd_ctrl = km_map(ICP_KBD, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 143 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c icp.hw_map.rtc = km_map(ICP_RTC, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 152 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c icp.hw_map.irqc = km_map(ICP_IRQC, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 156 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c icp.hw_map.cmcr = km_map(ICP_CMCR, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 159 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c icp.hw_map.vga = km_map(ICP_VGA, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 122 kernel/arch/arm32/src/mm/tlb.c invalidate_page(page + i * PAGE_SIZE);
PAGE_SIZE 55 kernel/arch/arm32/src/ras.c ras_page = (uintptr_t *) km_map(frame, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 58 kernel/arch/arm32/src/ras.c memsetb(ras_page, PAGE_SIZE, 0);
PAGE_SIZE 59 kernel/arch/arm64/src/mach/hikey960/hikey960.c ALIGN_UP(sizeof(*distr), PAGE_SIZE), KM_NATURAL_ALIGNMENT,
PAGE_SIZE 62 kernel/arch/arm64/src/mach/hikey960/hikey960.c ALIGN_UP(sizeof(*cpui), PAGE_SIZE), KM_NATURAL_ALIGNMENT,
PAGE_SIZE 77 kernel/arch/arm64/src/mach/virt/virt.c ALIGN_UP(sizeof(*distr), PAGE_SIZE), KM_NATURAL_ALIGNMENT,
PAGE_SIZE 80 kernel/arch/arm64/src/mach/virt/virt.c ALIGN_UP(sizeof(*cpui), PAGE_SIZE), KM_NATURAL_ALIGNMENT,
PAGE_SIZE 87 kernel/arch/arm64/src/mm/tlb.c val = (page + i * PAGE_SIZE) >> PAGE_WIDTH;
PAGE_SIZE 67 kernel/arch/ia32/src/mm/tlb.c invlpg(page + i * PAGE_SIZE);
PAGE_SIZE 77 kernel/arch/ia32/src/smp/smp.c l_apic = (uint32_t *) km_map((uintptr_t) l_apic, PAGE_SIZE,
PAGE_SIZE 78 kernel/arch/ia32/src/smp/smp.c PAGE_SIZE, PAGE_WRITE | PAGE_NOT_CACHEABLE);
PAGE_SIZE 79 kernel/arch/ia32/src/smp/smp.c io_apic = (uint32_t *) km_map((uintptr_t) io_apic, PAGE_SIZE,
PAGE_SIZE 80 kernel/arch/ia32/src/smp/smp.c PAGE_SIZE, PAGE_WRITE | PAGE_NOT_CACHEABLE);
PAGE_SIZE 67 kernel/arch/ia32/src/vreg.c page = (uint32_t *) km_map(frame, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 108 kernel/arch/ia64/src/ia64.c uintptr_t IOSAPIC = km_map(iosapic_base, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 107 kernel/arch/ia64/src/mm/frame.c end_of_identity = PA2KA(config.physmem_end - FRAME_SIZE) + PAGE_SIZE;
PAGE_SIZE 173 kernel/arch/ia64/src/mm/tlb.c for (; va < (page + cnt * PAGE_SIZE); va += (1UL << ps))
PAGE_SIZE 73 kernel/arch/ia64/src/proc/scheduler.c PAGE_SIZE, KA2PA(THREAD->kstack) + FRAME_SIZE, true,
PAGE_SIZE 277 kernel/arch/mips32/src/mm/tlb.c hi->vpn2 = ADDR2HI_VPN2(ALIGN_DOWN(addr, PAGE_SIZE));
PAGE_SIZE 408 kernel/arch/mips32/src/mm/tlb.c tlb_prepare_entry_hi(&hi, asid, page + i * PAGE_SIZE);
PAGE_SIZE 232 kernel/arch/ppc32/src/ppc32.c pic_init(assigned_address[0].addr, PAGE_SIZE, &pic_cir,
PAGE_SIZE 237 kernel/arch/ppc32/src/ppc32.c size_t size = 2 * PAGE_SIZE;
PAGE_SIZE 46 kernel/arch/sparc64/include/arch/drivers/niagara_buf.h #define OUTPUT_BUFFER_SIZE ((PAGE_SIZE) - 2 * 8)
PAGE_SIZE 54 kernel/arch/sparc64/include/arch/drivers/niagara_buf.h #define INPUT_BUFFER_SIZE ((PAGE_SIZE) - 2 * 8)
PAGE_SIZE 83 kernel/arch/sparc64/src/drivers/niagara.c static volatile niagara_output_buffer_t __attribute__((aligned(PAGE_SIZE)))
PAGE_SIZE 91 kernel/arch/sparc64/src/drivers/niagara.c static volatile niagara_input_buffer_t __attribute__((aligned(PAGE_SIZE)))
PAGE_SIZE 212 kernel/arch/sparc64/src/drivers/niagara.c PAGE_SIZE);
PAGE_SIZE 219 kernel/arch/sparc64/src/drivers/niagara.c PAGE_SIZE);
PAGE_SIZE 104 kernel/arch/sparc64/src/mm/sun4u/frame.c end_of_identity = PA2KA(config.physmem_end - FRAME_SIZE) + PAGE_SIZE;
PAGE_SIZE 244 kernel/arch/sparc64/src/mm/sun4u/tlb.c page_16k = ALIGN_DOWN(page_8k, PAGE_SIZE);
PAGE_SIZE 296 kernel/arch/sparc64/src/mm/sun4u/tlb.c page_16k = ALIGN_DOWN((uint64_t) tag.vpn << MMU_PAGE_WIDTH, PAGE_SIZE);
PAGE_SIZE 104 kernel/arch/sparc64/src/mm/sun4v/frame.c end_of_identity = PA2KA(config.physmem_end - FRAME_SIZE) + PAGE_SIZE;
PAGE_SIZE 213 kernel/arch/sparc64/src/mm/sun4v/tlb.c uintptr_t va = ALIGN_DOWN(istate->tpc, PAGE_SIZE);
PAGE_SIZE 394 kernel/arch/sparc64/src/mm/sun4v/tlb.c __hypercall_fast5(MMU_DEMAP_PAGE, 0, 0, page + i * PAGE_SIZE,
PAGE_SIZE 209 kernel/genarch/include/genarch/drivers/amdm37x/gpt.h ioport32_t *clksel = (void *) km_map(0x48004C40, 4, PAGE_SIZE,
PAGE_SIZE 212 kernel/genarch/src/drivers/ns16550/ns16550.c PAGE_SIZE);
PAGE_SIZE 213 kernel/genarch/src/drivers/ns16550/ns16550.c instance->parea.frames = ALIGN_UP(size, PAGE_SIZE);
PAGE_SIZE 118 kernel/genarch/src/drivers/s3c24xx/uart.c uart->io = (s3c24xx_uart_io_t *) km_map(paddr, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 158 kernel/genarch/src/mm/page_ht.c [KEY_PAGE] = ALIGN_DOWN(page, PAGE_SIZE)
PAGE_SIZE 179 kernel/genarch/src/mm/page_ht.c pte->page = ALIGN_DOWN(page, PAGE_SIZE);
PAGE_SIZE 208 kernel/genarch/src/mm/page_ht.c [KEY_PAGE] = ALIGN_DOWN(page, PAGE_SIZE)
PAGE_SIZE 228 kernel/genarch/src/mm/page_ht.c [KEY_PAGE] = ALIGN_DOWN(page, PAGE_SIZE)
PAGE_SIZE 47 kernel/generic/include/mm/slab.h #define SLAB_INSIDE_SIZE (PAGE_SIZE >> 3)
PAGE_SIZE 719 kernel/generic/src/console/cmd.c PAGE_SIZE, PAGE_NOT_CACHEABLE);
PAGE_SIZE 749 kernel/generic/src/console/cmd.c PAGE_SIZE, PAGE_NOT_CACHEABLE);
PAGE_SIZE 779 kernel/generic/src/console/cmd.c PAGE_SIZE, PAGE_NOT_CACHEABLE);
PAGE_SIZE 809 kernel/generic/src/console/cmd.c PAGE_SIZE, PAGE_NOT_CACHEABLE);
PAGE_SIZE 840 kernel/generic/src/console/cmd.c PAGE_SIZE, PAGE_NOT_CACHEABLE);
PAGE_SIZE 871 kernel/generic/src/console/cmd.c PAGE_SIZE, PAGE_NOT_CACHEABLE);
PAGE_SIZE 61 kernel/generic/src/console/console.c #define KIO_LENGTH (KIO_PAGES * PAGE_SIZE / sizeof(char32_t))
PAGE_SIZE 64 kernel/generic/src/console/console.c char32_t kio[KIO_LENGTH] __attribute__((aligned(PAGE_SIZE)));
PAGE_SIZE 362 kernel/generic/src/console/console.c if (size > PAGE_SIZE)
PAGE_SIZE 88 kernel/generic/src/lib/elf.c if (ALIGN_UP((uintptr_t) header, PAGE_SIZE) != (uintptr_t) header)
PAGE_SIZE 146 kernel/generic/src/lib/elf.c uintptr_t base = ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE);
PAGE_SIZE 58 kernel/generic/src/log/log.c #define LOG_LENGTH (LOG_PAGES * PAGE_SIZE)
PAGE_SIZE 62 kernel/generic/src/log/log.c uint8_t log_buffer[LOG_LENGTH] __attribute__((aligned(PAGE_SIZE)));
PAGE_SIZE 303 kernel/generic/src/log/log.c if (size > PAGE_SIZE)
PAGE_SIZE 342 kernel/generic/src/log/log.c if (entry_len > PAGE_SIZE) {
PAGE_SIZE 242 kernel/generic/src/main/kinit.c init.tasks[i].size, PAGE_SIZE,
PAGE_SIZE 173 kernel/generic/src/main/main.c ALIGN_UP((uintptr_t) kdata_end - config.base, PAGE_SIZE);
PAGE_SIZE 345 kernel/generic/src/mm/as.c assert((addr % PAGE_SIZE) == 0);
PAGE_SIZE 359 kernel/generic/src/mm/as.c gsize += PAGE_SIZE;
PAGE_SIZE 363 kernel/generic/src/mm/as.c agsize += PAGE_SIZE;
PAGE_SIZE 385 kernel/generic/src/mm/as.c assert((addr % PAGE_SIZE) == 0);
PAGE_SIZE 398 kernel/generic/src/mm/as.c if (overlaps(addr, P2SZ(count), (uintptr_t) NULL, PAGE_SIZE))
PAGE_SIZE 498 kernel/generic/src/mm/as.c uintptr_t addr = ALIGN_UP(bound, PAGE_SIZE);
PAGE_SIZE 747 kernel/generic/src/mm/as.c if ((*base != (uintptr_t) AS_AREA_ANY) && !IS_ALIGNED(*base, PAGE_SIZE))
PAGE_SIZE 897 kernel/generic/src/mm/as.c if (!IS_ALIGNED(address, PAGE_SIZE))
PAGE_SIZE 1514 kernel/generic/src/mm/as.c uintptr_t page = ALIGN_DOWN(address, PAGE_SIZE);
PAGE_SIZE 2041 kernel/generic/src/mm/as.c assert(IS_ALIGNED(page, PAGE_SIZE));
PAGE_SIZE 191 kernel/generic/src/mm/backend_anon.c assert(IS_ALIGNED(upage, PAGE_SIZE));
PAGE_SIZE 211 kernel/generic/src/mm/backend_anon.c memsetb((void *) kpage, PAGE_SIZE, 0);
PAGE_SIZE 250 kernel/generic/src/mm/backend_anon.c memsetb((void *) kpage, PAGE_SIZE, 0);
PAGE_SIZE 85 kernel/generic/src/mm/backend_elf.c uintptr_t first = ALIGN_UP(entry->p_vaddr, PAGE_SIZE);
PAGE_SIZE 87 kernel/generic/src/mm/backend_elf.c PAGE_SIZE);
PAGE_SIZE 272 kernel/generic/src/mm/backend_elf.c assert(IS_ALIGNED(upage, PAGE_SIZE));
PAGE_SIZE 279 kernel/generic/src/mm/backend_elf.c if (elfpage < ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE))
PAGE_SIZE 285 kernel/generic/src/mm/backend_elf.c i = (elfpage - ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE)) >>
PAGE_SIZE 288 kernel/generic/src/mm/backend_elf.c (((void *) elf) + ALIGN_DOWN(entry->p_offset, PAGE_SIZE));
PAGE_SIZE 316 kernel/generic/src/mm/backend_elf.c if (elfpage >= entry->p_vaddr && elfpage + PAGE_SIZE <= start_anon) {
PAGE_SIZE 327 kernel/generic/src/mm/backend_elf.c memcpy((void *) kpage, (void *) (base + i * PAGE_SIZE),
PAGE_SIZE 328 kernel/generic/src/mm/backend_elf.c PAGE_SIZE);
PAGE_SIZE 330 kernel/generic/src/mm/backend_elf.c smc_coherence((void *) kpage, PAGE_SIZE);
PAGE_SIZE 355 kernel/generic/src/mm/backend_elf.c memsetb((void *) kpage, PAGE_SIZE, 0);
PAGE_SIZE 372 kernel/generic/src/mm/backend_elf.c if (start_anon < upage + PAGE_SIZE)
PAGE_SIZE 373 kernel/generic/src/mm/backend_elf.c pad_hi = upage + PAGE_SIZE - start_anon;
PAGE_SIZE 379 kernel/generic/src/mm/backend_elf.c (void *) (base + i * PAGE_SIZE + pad_lo),
PAGE_SIZE 380 kernel/generic/src/mm/backend_elf.c PAGE_SIZE - pad_lo - pad_hi);
PAGE_SIZE 383 kernel/generic/src/mm/backend_elf.c PAGE_SIZE - pad_lo - pad_hi);
PAGE_SIZE 386 kernel/generic/src/mm/backend_elf.c memsetb((void *) (kpage + PAGE_SIZE - pad_hi), pad_hi, 0);
PAGE_SIZE 427 kernel/generic/src/mm/backend_elf.c assert(elfpage >= ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE));
PAGE_SIZE 432 kernel/generic/src/mm/backend_elf.c if (elfpage >= entry->p_vaddr && elfpage + PAGE_SIZE <= start_anon) {
PAGE_SIZE 140 kernel/generic/src/mm/backend_phys.c assert(IS_ALIGNED(upage, PAGE_SIZE));
PAGE_SIZE 114 kernel/generic/src/mm/backend_user.c assert(IS_ALIGNED(upage, PAGE_SIZE));
PAGE_SIZE 124 kernel/generic/src/mm/backend_user.c ipc_set_arg2(&data, PAGE_SIZE);
PAGE_SIZE 55 kernel/generic/src/mm/km.c #define DEFERRED_PAGES_MAX (PAGE_SIZE / sizeof(uintptr_t))
PAGE_SIZE 75 kernel/generic/src/mm/km.c km_page_free(deferred_page[i], PAGE_SIZE);
PAGE_SIZE 146 kernel/generic/src/mm/km.c vaddr = km_page_alloc(size, max(PAGE_SIZE, align));
PAGE_SIZE 149 kernel/generic/src/mm/km.c for (offs = 0; offs < size; offs += PAGE_SIZE) {
PAGE_SIZE 163 kernel/generic/src/mm/km.c assert(ALIGN_DOWN(vaddr, PAGE_SIZE) == vaddr);
PAGE_SIZE 164 kernel/generic/src/mm/km.c assert(ALIGN_UP(size, PAGE_SIZE) == size);
PAGE_SIZE 171 kernel/generic/src/mm/km.c for (offs = 0; offs < size; offs += PAGE_SIZE)
PAGE_SIZE 213 kernel/generic/src/mm/km.c offs = vaddr - ALIGN_DOWN(vaddr, PAGE_SIZE);
PAGE_SIZE 214 kernel/generic/src/mm/km.c km_unmap_aligned(ALIGN_DOWN(vaddr, PAGE_SIZE),
PAGE_SIZE 215 kernel/generic/src/mm/km.c ALIGN_UP(size + offs, PAGE_SIZE));
PAGE_SIZE 262 kernel/generic/src/mm/km.c page = km_map(frame, PAGE_SIZE, PAGE_SIZE,
PAGE_SIZE 96 kernel/generic/src/mm/malloc.c assert(*alignment <= PAGE_SIZE);
PAGE_SIZE 105 kernel/generic/src/mm/page.c page_mapping_operations->mapping_insert(as, ALIGN_DOWN(page, PAGE_SIZE),
PAGE_SIZE 130 kernel/generic/src/mm/page.c ALIGN_DOWN(page, PAGE_SIZE));
PAGE_SIZE 155 kernel/generic/src/mm/page.c ALIGN_DOWN(page, PAGE_SIZE), nolock, pte);
PAGE_SIZE 176 kernel/generic/src/mm/page.c ALIGN_DOWN(page, PAGE_SIZE), nolock, pte);
PAGE_SIZE 204 kernel/generic/src/mm/page.c (virt - ALIGN_DOWN(virt, PAGE_SIZE));
PAGE_SIZE 93 kernel/generic/src/proc/program.c bound -= PAGE_SIZE;
PAGE_SIZE 47 kernel/generic/src/synch/smc.c if (overlaps(va, size, (uintptr_t) NULL, PAGE_SIZE))
PAGE_SIZE 63 kernel/test/mm/mapping1.c km_unmap(page0, PAGE_SIZE);
PAGE_SIZE 64 kernel/test/mm/mapping1.c km_unmap(page1, PAGE_SIZE);
PAGE_SIZE 78 kernel/test/mm/mapping1.c km_unmap(page0, PAGE_SIZE);
PAGE_SIZE 79 kernel/test/mm/mapping1.c km_unmap(page1, PAGE_SIZE);
PAGE_SIZE 85 kernel/test/mm/mapping1.c km_unmap(page0, PAGE_SIZE);
PAGE_SIZE 86 kernel/test/mm/mapping1.c km_unmap(page1, PAGE_SIZE);
PAGE_SIZE 203 uspace/app/kio/kio.c size_t size = pages * PAGE_SIZE;
PAGE_SIZE 188 uspace/app/taskdump/elf_core.c foff = align_foff_up(foff, ainfo[i].start_addr, PAGE_SIZE);
PAGE_SIZE 206 uspace/app/taskdump/elf_core.c p_hdr[i + 1].p_align = PAGE_SIZE;
PAGE_SIZE 45 uspace/app/tester/mm/common.h #define AREA_SIZE (4 * PAGE_SIZE)
PAGE_SIZE 74 uspace/app/tester/mm/mapping1.c void *page_start = ((char *) area) + PAGE_SIZE * i;
PAGE_SIZE 89 uspace/app/tester/mm/mapping1.c size_t buffer1_len = BUFFER1_PAGES * PAGE_SIZE;
PAGE_SIZE 90 uspace/app/tester/mm/mapping1.c size_t buffer2_len = BUFFER2_PAGES * PAGE_SIZE;
PAGE_SIZE 100 uspace/app/tester/mm/pager1.c size_t buffer_len = PAGE_SIZE;
PAGE_SIZE 508 uspace/drv/bus/usb/ehci/hc.c if (dma_buffer_alloc(&instance->dma_buffer, PAGE_SIZE)) {
PAGE_SIZE 518 uspace/drv/bus/usb/ehci/hc.c for (unsigned i = 0; i < PAGE_SIZE / sizeof(link_pointer_t); ++i) {
PAGE_SIZE 136 uspace/drv/bus/usb/xhci/endpoint.c ep->required_transfer_buffer_policy = dma_policy_create(flags, PAGE_SIZE);
PAGE_SIZE 283 uspace/drv/bus/usb/xhci/hc.c xhci_sw_ring_init(&hc->sw_ring, PAGE_SIZE / sizeof(xhci_trb_t));
PAGE_SIZE 66 uspace/drv/bus/usb/xhci/scratchpad.c const unsigned array_size = ALIGN_UP(num_bufs * sizeof(uint64_t), PAGE_SIZE);
PAGE_SIZE 67 uspace/drv/bus/usb/xhci/scratchpad.c const size_t size = array_size + num_bufs * PAGE_SIZE;
PAGE_SIZE 79 uspace/drv/bus/usb/xhci/scratchpad.c base + i * PAGE_SIZE));
PAGE_SIZE 45 uspace/drv/bus/usb/xhci/trb_ring.c #define SEGMENT_TRB_COUNT ((PAGE_SIZE - SEGMENT_FOOTER_SIZE) / sizeof(xhci_trb_t))
PAGE_SIZE 53 uspace/drv/bus/usb/xhci/trb_ring.c } __attribute__((aligned(PAGE_SIZE)));
PAGE_SIZE 55 uspace/drv/bus/usb/xhci/trb_ring.c static_assert(sizeof(trb_segment_t) == PAGE_SIZE, "");
PAGE_SIZE 93 uspace/drv/bus/usb/xhci/trb_ring.c const int err = dmamem_map_anonymous(PAGE_SIZE,
PAGE_SIZE 99 uspace/drv/bus/usb/xhci/trb_ring.c memset(*segment, 0, PAGE_SIZE);
PAGE_SIZE 46 uspace/drv/char/sun4v-con/niagara_buf.h #define OUTPUT_BUFFER_SIZE ((PAGE_SIZE) - 2 * 8)
PAGE_SIZE 54 uspace/drv/char/sun4v-con/niagara_buf.h #define INPUT_BUFFER_SIZE ((PAGE_SIZE) - 2 * 8)
PAGE_SIZE 272 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c const size_t size = ALIGN_UP(x * y * bpp, PAGE_SIZE);
PAGE_SIZE 415 uspace/drv/fb/kfb/port.c ALIGN_UP(kfb->size, PAGE_SIZE) >> PAGE_WIDTH,
PAGE_SIZE 243 uspace/drv/nic/e1k/e1k.c .size = PAGE_SIZE, /* XXX */
PAGE_SIZE 2122 uspace/drv/nic/e1k/e1k.c errno_t rc = pio_enable(e1000->reg_base_phys, 8 * PAGE_SIZE,
PAGE_SIZE 1105 uspace/drv/nic/rtl8139/driver.c rc = dmamem_map_anonymous(TX_PAGES * PAGE_SIZE, DMAMEM_4GiB,
PAGE_SIZE 72 uspace/drv/platform/sun4v/sun4v.c .size = PAGE_SIZE,
PAGE_SIZE 81 uspace/drv/platform/sun4v/sun4v.c .size = PAGE_SIZE,
PAGE_SIZE 96 uspace/drv/platform/sun4v/sun4v.c .size = PAGE_SIZE
PAGE_SIZE 1011 uspace/lib/c/generic/async/server.c fid_t fid = fibril_create_generic(async_manager_fibril, NULL, PAGE_SIZE);
PAGE_SIZE 294 uspace/lib/c/generic/ddi.c ALIGN_DOWN((uintptr_t) pio_addr, PAGE_SIZE);
PAGE_SIZE 428 uspace/lib/c/generic/elf/elf_mod.c base = ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE);
PAGE_SIZE 433 uspace/lib/c/generic/elf/elf_mod.c ALIGN_UP(entry->p_memsz, PAGE_SIZE)));
PAGE_SIZE 50 uspace/lib/c/generic/io/kio.c #define KIO_BUFFER_SIZE PAGE_SIZE
PAGE_SIZE 80 uspace/lib/c/generic/malloc.c #define SHRINK_GRANULARITY (64 * PAGE_SIZE)
PAGE_SIZE 286 uspace/lib/c/generic/malloc.c malloc_assert(((uintptr_t) area->start % PAGE_SIZE) == 0);
PAGE_SIZE 287 uspace/lib/c/generic/malloc.c malloc_assert(((uintptr_t) area->end % PAGE_SIZE) == 0);
PAGE_SIZE 300 uspace/lib/c/generic/malloc.c size_t asize = ALIGN_UP(size, PAGE_SIZE);
PAGE_SIZE 350 uspace/lib/c/generic/malloc.c size_t asize = ALIGN_UP(gross_size, PAGE_SIZE);
PAGE_SIZE 415 uspace/lib/c/generic/malloc.c size_t shrink_size = ALIGN_DOWN(last_head->size, PAGE_SIZE);
PAGE_SIZE 500 uspace/lib/c/generic/malloc.c if (!area_create(PAGE_SIZE))
PAGE_SIZE 1030 uspace/lib/c/generic/malloc.c (((uintptr_t) area->start % PAGE_SIZE) != 0) ||
PAGE_SIZE 1031 uspace/lib/c/generic/malloc.c (((uintptr_t) area->end % PAGE_SIZE) != 0)) {
PAGE_SIZE 635 uspace/lib/c/generic/thread/fibril.c fibril_create_generic(_helper_fibril_fn, NULL, PAGE_SIZE);
PAGE_SIZE 100 uspace/lib/c/generic/thread/tls.c assert(tls_align <= PAGE_SIZE);
PAGE_SIZE 140 uspace/lib/c/generic/thread/tls.c assert(align <= PAGE_SIZE);
PAGE_SIZE 141 uspace/lib/c/generic/thread/tls.c alloc_size = ALIGN_UP(alloc_size, PAGE_SIZE);
PAGE_SIZE 435 uspace/lib/drv/generic/remote_usbhc.c for (size_t i = 0; i < size; i += PAGE_SIZE)
PAGE_SIZE 439 uspace/lib/drv/generic/remote_usbhc.c for (size_t i = 0; i < size; i += PAGE_SIZE)
PAGE_SIZE 158 uspace/lib/posix/src/unistd.c return PAGE_SIZE;
PAGE_SIZE 72 uspace/lib/usb/include/usb/dma_buffer.h #define DMA_POLICY_FLAGS_MASK (PAGE_SIZE - 1)
PAGE_SIZE 44 uspace/lib/usb/src/dma_buffer.c assert(chunk_size >= PAGE_SIZE || chunk_size == 0);
PAGE_SIZE 92 uspace/lib/usb/src/dma_buffer.c const size_t real_size = ALIGN_UP(size, PAGE_SIZE);
PAGE_SIZE 108 uspace/lib/usb/src/dma_buffer.c for (size_t i = 0; i < size; i += PAGE_SIZE)
PAGE_SIZE 204 uspace/lib/usb/src/dma_buffer.c db->policy = dma_policy_create(0, PAGE_SIZE);
PAGE_SIZE 210 uspace/lib/usb/src/dma_buffer.c db->policy = dma_policy_create(flags, PAGE_SIZE);
PAGE_SIZE 79 uspace/lib/usbhost/include/usb/host/utils/malloc32.h size_t real_size = ALIGN_UP(size, PAGE_SIZE);
PAGE_SIZE 111 uspace/lib/usbhost/include/usb/host/utils/malloc32.h return malloc32(PAGE_SIZE);
PAGE_SIZE 654 uspace/lib/usbhost/src/bus.c .offset = ((uintptr_t) data) % PAGE_SIZE,
PAGE_SIZE 169 uspace/srv/bd/rd/rd.c ALIGN_UP(rd_size, PAGE_SIZE) >> PAGE_WIDTH, flags, &rd_addr);
PAGE_SIZE 233 uspace/srv/hid/output/port/ega.c ALIGN_UP(ega.size, PAGE_SIZE) >> PAGE_WIDTH,
PAGE_SIZE 75 uspace/srv/klog/klog.c #define BUFFER_SIZE PAGE_SIZE
HelenOS homepage, sources at GitHub