HelenOS sources
ALIGN_UP 212 boot/arch/arm64/src/main.c ALIGN_UP(payload_unpacked_size(), EFI_PAGE_SIZE) / EFI_PAGE_SIZE;
ALIGN_UP 213 boot/arch/arm64/src/main.c uint64_t bootinfo_pages = ALIGN_UP(sizeof(*bootinfo), EFI_PAGE_SIZE) /
ALIGN_UP 95 boot/arch/ppc32/src/main.c uintptr_t balloc_start = ALIGN_UP(unpacked_size, PAGE_SIZE);
ALIGN_UP 96 boot/arch/ppc32/src/main.c size_t pages = (balloc_start + ALIGN_UP(BALLOC_MAX_SIZE, PAGE_SIZE)) >>
ALIGN_UP 228 boot/arch/sparc64/src/main.c size_t sz = ALIGN_UP(payload_unpacked_size(), PAGE_SIZE);
ALIGN_UP 342 boot/genarch/src/ofw.c ALIGN_UP(size, PAGE_SIZE), virt, phys_hi, phys_lo);
ALIGN_UP 425 boot/genarch/src/ofw.c ofw_map(*base_pa, *base, ALIGN_UP(size, PAGE_SIZE), (ofw_arg_t) -1);
ALIGN_UP 56 boot/generic/include/align.h #define IS_ALIGNED(s, a) (ALIGN_UP((s), (a)) == (s))
ALIGN_UP 54 boot/generic/src/balloc.c alignment = ALIGN_UP(alignment, alignof(max_align_t));
ALIGN_UP 56 boot/generic/src/balloc.c uintptr_t addr = phys_base + ALIGN_UP(ballocs->size, alignment);
ALIGN_UP 58 boot/generic/src/balloc.c if (ALIGN_UP(ballocs->size, alignment) + size >= max_size)
ALIGN_UP 61 boot/generic/src/balloc.c ballocs->size = ALIGN_UP(ballocs->size, alignment) + size;
ALIGN_UP 84 boot/generic/src/payload.c *cstart += TAR_BLOCK_SIZE + ALIGN_UP(packed_size, TAR_BLOCK_SIZE);
ALIGN_UP 90 boot/generic/src/payload.c uint8_t *new_ustart = (uint8_t *) ALIGN_UP((uintptr_t) ustart, PAGE_SIZE);
ALIGN_UP 99 boot/generic/src/payload.c uint8_t *new_ustart = (uint8_t *) ALIGN_UP((uintptr_t) loader_end, PAGE_SIZE);
ALIGN_UP 148 boot/generic/src/payload.c sz = ALIGN_UP(sz, PAGE_SIZE);
ALIGN_UP 154 boot/generic/src/payload.c start += TAR_BLOCK_SIZE + ALIGN_UP(packed_size, TAR_BLOCK_SIZE);
ALIGN_UP 242 boot/generic/src/payload.c ALIGN_UP((uintptr_t) task.addr + task.size, PAGE_SIZE);
ALIGN_UP 120 common/adt/bitmap.c size_t aligned_start = ALIGN_UP(start, BITMAP_ELEMENT);
ALIGN_UP 174 common/adt/bitmap.c size_t aligned_start = ALIGN_UP(start, BITMAP_ELEMENT);
ALIGN_UP 78 kernel/arch/amd64/src/ddi/ddi.c ALIGN_UP(elements, 8) - elements);
ALIGN_UP 84 kernel/arch/amd64/src/ddi/ddi.c bitmap_set_range(&iomap, ALIGN_UP(elements, 8), 8);
ALIGN_UP 77 kernel/arch/amd64/src/mm/frame.c uint64_t new_base = ALIGN_UP(base, FRAME_SIZE);
ALIGN_UP 102 kernel/arch/amd64/src/mm/frame.c uint64_t new_size = ALIGN_UP(size + (base - new_base),
ALIGN_UP 110 kernel/arch/amd64/src/mm/frame.c uint64_t new_size = ALIGN_UP(size + (base - new_base),
ALIGN_UP 45 kernel/arch/arm32/include/arch/context.h #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
ALIGN_UP 49 kernel/arch/arm32/src/mm/frame.c base = ALIGN_UP(base, FRAME_SIZE);
ALIGN_UP 44 kernel/arch/arm64/include/arch/context.h #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
ALIGN_UP 59 kernel/arch/arm64/src/mach/hikey960/hikey960.c ALIGN_UP(sizeof(*distr), PAGE_SIZE), KM_NATURAL_ALIGNMENT,
ALIGN_UP 62 kernel/arch/arm64/src/mach/hikey960/hikey960.c ALIGN_UP(sizeof(*cpui), PAGE_SIZE), KM_NATURAL_ALIGNMENT,
ALIGN_UP 77 kernel/arch/arm64/src/mach/virt/virt.c ALIGN_UP(sizeof(*distr), PAGE_SIZE), KM_NATURAL_ALIGNMENT,
ALIGN_UP 80 kernel/arch/arm64/src/mach/virt/virt.c ALIGN_UP(sizeof(*cpui), PAGE_SIZE), KM_NATURAL_ALIGNMENT,
ALIGN_UP 83 kernel/arch/arm64/src/mm/frame.c uintptr_t base = ALIGN_UP((uintptr_t) memmap.zones[i].start,
ALIGN_UP 78 kernel/arch/ia32/src/ddi/ddi.c ALIGN_UP(elements, 8) - elements);
ALIGN_UP 84 kernel/arch/ia32/src/ddi/ddi.c bitmap_set_range(&iomap, ALIGN_UP(elements, 8), 8);
ALIGN_UP 77 kernel/arch/ia32/src/mm/frame.c uint64_t new_base = ALIGN_UP(base, FRAME_SIZE);
ALIGN_UP 102 kernel/arch/ia32/src/mm/frame.c uint64_t new_size = ALIGN_UP(size + (base - new_base),
ALIGN_UP 110 kernel/arch/ia32/src/mm/frame.c uint64_t new_size = ALIGN_UP(size + (base - new_base),
ALIGN_UP 50 kernel/arch/ia64/include/arch/context.h #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
ALIGN_UP 57 kernel/arch/ia64/include/arch/context.h (c)->bsp = ((uintptr_t) stack) + ALIGN_UP((size / 2), REGISTER_STACK_ALIGNMENT); \
ALIGN_UP 60 kernel/arch/ia64/include/arch/context.h (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size / 2), STACK_ALIGNMENT) - SP_DELTA; \
ALIGN_UP 71 kernel/arch/ia64/src/ddi/ddi.c size = ALIGN_UP(size + ioaddr - 4 * iopage, PORTS_PER_PAGE);
ALIGN_UP 93 kernel/arch/ia64/src/ddi/ddi.c size = ALIGN_UP(size + ioaddr - 4 * iopage, PORTS_PER_PAGE);
ALIGN_UP 252 kernel/arch/ia64/src/ia64.c sp, sp + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT),
ALIGN_UP 65 kernel/arch/ia64/src/mm/frame.c uintptr_t abase = ALIGN_UP(base, FRAME_SIZE);
ALIGN_UP 45 kernel/arch/mips32/include/arch/context.h #define SP_DELTA (ABI_STACK_FRAME + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
ALIGN_UP 63 kernel/arch/ppc32/src/mm/frame.c uintptr_t base = ALIGN_UP((uintptr_t) memmap.zones[i].start,
ALIGN_UP 60 kernel/arch/riscv64/src/mm/frame.c uintptr_t base = ALIGN_UP((uintptr_t) memmap.zones[i].start,
ALIGN_UP 48 kernel/arch/sparc64/include/arch/context.h (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), \
ALIGN_UP 61 kernel/arch/sparc64/src/mm/sun4u/frame.c base = ALIGN_UP((uintptr_t) memmap.zones[i].start, FRAME_SIZE);
ALIGN_UP 61 kernel/arch/sparc64/src/mm/sun4v/frame.c base = ALIGN_UP((uintptr_t) memmap.zones[i].start, FRAME_SIZE);
ALIGN_UP 95 kernel/genarch/include/genarch/drivers/bcm2835/mbox.h type *name = (type *)ALIGN_UP((uintptr_t)tmp_ ## name, MBOX_ADDR_ALIGN);
ALIGN_UP 213 kernel/genarch/src/drivers/ns16550/ns16550.c instance->parea.frames = ALIGN_UP(size, PAGE_SIZE);
ALIGN_UP 120 kernel/genarch/src/multiboot/multiboot2.c ALIGN_UP((uintptr_t) info + sizeof(*info), MULTIBOOT2_TAG_ALIGN);
ALIGN_UP 139 kernel/genarch/src/multiboot/multiboot2.c ALIGN_UP((uintptr_t) tag + tag->size, MULTIBOOT2_TAG_ALIGN);
ALIGN_UP 120 kernel/generic/common/adt/bitmap.c size_t aligned_start = ALIGN_UP(start, BITMAP_ELEMENT);
ALIGN_UP 174 kernel/generic/common/adt/bitmap.c size_t aligned_start = ALIGN_UP(start, BITMAP_ELEMENT);
ALIGN_UP 67 kernel/generic/include/align.h #define IS_ALIGNED(s, a) (ALIGN_UP((s), (a)) == (s))
ALIGN_UP 88 kernel/generic/src/lib/elf.c if (ALIGN_UP((uintptr_t) header, PAGE_SIZE) != (uintptr_t) header)
ALIGN_UP 291 kernel/generic/src/lib/ra.c newbase = ALIGN_UP(seg->base, align);
ALIGN_UP 173 kernel/generic/src/main/main.c ALIGN_UP((uintptr_t) kdata_end - config.base, PAGE_SIZE);
ALIGN_UP 498 kernel/generic/src/mm/as.c uintptr_t addr = ALIGN_UP(bound, PAGE_SIZE);
ALIGN_UP 85 kernel/generic/src/mm/backend_elf.c uintptr_t first = ALIGN_UP(entry->p_vaddr, PAGE_SIZE);
ALIGN_UP 142 kernel/generic/src/mm/km.c assert(ALIGN_UP(size, FRAME_SIZE) == size);
ALIGN_UP 164 kernel/generic/src/mm/km.c assert(ALIGN_UP(size, PAGE_SIZE) == size);
ALIGN_UP 198 kernel/generic/src/mm/km.c ALIGN_UP(size + offs, FRAME_SIZE), align, flags);
ALIGN_UP 215 kernel/generic/src/mm/km.c ALIGN_UP(size + offs, PAGE_SIZE));
ALIGN_UP 101 kernel/generic/src/mm/malloc.c *size = ALIGN_UP(*size, *alignment);
ALIGN_UP 185 kernel/generic/src/mm/malloc.c static const size_t _offset = ALIGN_UP(sizeof(size_t), alignof(max_align_t));
ALIGN_UP 599 kernel/generic/src/mm/slab.c size = ALIGN_UP(size, align);
ALIGN_UP 1470 uspace/app/edit/edit.c fill = 1 + ALIGN_UP(s_column, TAB_WIDTH) -
ALIGN_UP 255 uspace/app/edit/sheet.c cc.column = 1 + ALIGN_UP(cc.column, TAB_WIDTH);
ALIGN_UP 313 uspace/app/edit/sheet.c cc.column = 1 + ALIGN_UP(cc.column, TAB_WIDTH);
ALIGN_UP 179 uspace/app/taskdump/elf_core.c ALIGN_UP((str_size("CORE") + 1), word_size) +
ALIGN_UP 180 uspace/app/taskdump/elf_core.c ALIGN_UP(sizeof(elf_prstatus_t), word_size);
ALIGN_UP 250 uspace/app/taskdump/elf_core.c pos = ALIGN_UP(pos, word_size);
ALIGN_UP 916 uspace/dist/src/c/demos/edit/edit.c fill = 1 + ALIGN_UP(s_column, TAB_WIDTH) -
ALIGN_UP 246 uspace/dist/src/c/demos/edit/sheet.c cc.column = 1 + ALIGN_UP(cc.column, TAB_WIDTH);
ALIGN_UP 304 uspace/dist/src/c/demos/edit/sheet.c cc.column = 1 + ALIGN_UP(cc.column, TAB_WIDTH);
ALIGN_UP 66 uspace/drv/bus/usb/xhci/scratchpad.c const unsigned array_size = ALIGN_UP(num_bufs * sizeof(uint64_t), PAGE_SIZE);
ALIGN_UP 272 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c const size_t size = ALIGN_UP(x * y * bpp, PAGE_SIZE);
ALIGN_UP 415 uspace/drv/fb/kfb/port.c ALIGN_UP(kfb->size, PAGE_SIZE) >> PAGE_WIDTH,
ALIGN_UP 602 uspace/drv/nic/rtl8139/driver.c rx_offset = ALIGN_UP(rx_offset + size + RTL_FRAME_HEADER_SIZE, 4);
ALIGN_UP 49 uspace/lib/c/arch/arm32/include/libarch/fibril.h #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
ALIGN_UP 49 uspace/lib/c/arch/arm64/include/libarch/fibril.h #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
ALIGN_UP 48 uspace/lib/c/arch/ia64/include/libarch/fibril.h #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
ALIGN_UP 62 uspace/lib/c/arch/ia64/include/libarch/fibril.h ALIGN_UP((size / FIBRIL_INITIAL_STACK_DIVISION), STACK_ALIGNMENT) - \
ALIGN_UP 44 uspace/lib/c/arch/mips32/include/libarch/fibril.h #define SP_DELTA (ABI_STACK_FRAME + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
ALIGN_UP 48 uspace/lib/c/arch/sparc64/include/libarch/fibril.h (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), \
ALIGN_UP 120 uspace/lib/c/common/adt/bitmap.c size_t aligned_start = ALIGN_UP(start, BITMAP_ELEMENT);
ALIGN_UP 174 uspace/lib/c/common/adt/bitmap.c size_t aligned_start = ALIGN_UP(start, BITMAP_ELEMENT);
ALIGN_UP 433 uspace/lib/c/generic/elf/elf_mod.c ALIGN_UP(entry->p_memsz, PAGE_SIZE)));
ALIGN_UP 102 uspace/lib/c/generic/malloc.c (ALIGN_UP(GROSS_SIZE(size) + sizeof(heap_area_t), BASE_ALIGN))
ALIGN_UP 108 uspace/lib/c/generic/malloc.c (ALIGN_UP(((uintptr_t) (area)) + sizeof(heap_area_t), BASE_ALIGN))
ALIGN_UP 300 uspace/lib/c/generic/malloc.c size_t asize = ALIGN_UP(size, PAGE_SIZE);
ALIGN_UP 350 uspace/lib/c/generic/malloc.c size_t asize = ALIGN_UP(gross_size, PAGE_SIZE);
ALIGN_UP 576 uspace/lib/c/generic/malloc.c ALIGN_UP((uintptr_t) addr, falign);
ALIGN_UP 750 uspace/lib/c/generic/malloc.c size_t gross_size = GROSS_SIZE(ALIGN_UP(size, BASE_ALIGN));
ALIGN_UP 854 uspace/lib/c/generic/malloc.c size_t real_size = GROSS_SIZE(ALIGN_UP(size, BASE_ALIGN));
ALIGN_UP 374 uspace/lib/c/generic/rtld/module.c rtld->tls_size = ALIGN_UP(rtld->tls_size, m->tls_align);
ALIGN_UP 392 uspace/lib/c/generic/rtld/module.c rtld->tls_size = ALIGN_UP(rtld->tls_size, m->tls_align);
ALIGN_UP 403 uspace/lib/c/generic/rtld/module.c rtld->tls_size = ALIGN_UP(rtld->tls_size, rtld->tls_align);
ALIGN_UP 69 uspace/lib/c/generic/thread/tls.c return ALIGN_UP((ptrdiff_t) sizeof(tcb_t), tls_align);
ALIGN_UP 72 uspace/lib/c/generic/thread/tls.c return -ALIGN_UP((ptrdiff_t) tls_size, max(tls_align, alignof(tcb_t)));
ALIGN_UP 104 uspace/lib/c/generic/thread/tls.c ALIGN_UP(sizeof(tcb_t), tls_align) + tls_size;
ALIGN_UP 107 uspace/lib/c/generic/thread/tls.c ALIGN_UP(tls_size, max(tls_align, alignof(tcb_t))) + sizeof(tcb_t);
ALIGN_UP 141 uspace/lib/c/generic/thread/tls.c alloc_size = ALIGN_UP(alloc_size, PAGE_SIZE);
ALIGN_UP 189 uspace/lib/c/generic/thread/tls.c ALIGN_UP(tls->p_memsz, tls->p_align) + sizeof(tcb_t),
ALIGN_UP 142 uspace/lib/gfximage/src/tga.c tga->cmap_length = ALIGN_UP(tga->cmap_entries * tga->cmap_bpp, 8) >> 3;
ALIGN_UP 92 uspace/lib/usb/src/dma_buffer.c const size_t real_size = ALIGN_UP(size, PAGE_SIZE);
ALIGN_UP 79 uspace/lib/usbhost/include/usb/host/utils/malloc32.h size_t real_size = ALIGN_UP(size, PAGE_SIZE);
ALIGN_UP 233 uspace/lib/virtio/virtio.c mem_size = ALIGN_UP(mem_size, alignof(virtq_avail_t));
ALIGN_UP 237 uspace/lib/virtio/virtio.c mem_size = ALIGN_UP(mem_size, alignof(virtq_used_t));
ALIGN_UP 164 uspace/srv/bd/rd/rd.c rd_size = ALIGN_UP(size, block_size);
ALIGN_UP 169 uspace/srv/bd/rd/rd.c ALIGN_UP(rd_size, PAGE_SIZE) >> PAGE_WIDTH, flags, &rd_addr);
ALIGN_UP 233 uspace/srv/hid/output/port/ega.c ALIGN_UP(ega.size, PAGE_SIZE) >> PAGE_WIDTH,
HelenOS homepage, sources at GitHub