HelenOS sources
ALIGN_DOWN 68 boot/arch/arm32/src/main.c for (uintptr_t a = ALIGN_DOWN(addr, CP15_C7_MVA_ALIGN); a < addr + size;
ALIGN_DOWN 206 boot/generic/src/payload.c real_payload_start = (uint8_t *) ALIGN_DOWN((uintptr_t)(mem_end - payload_size), PAGE_SIZE);
ALIGN_DOWN 500 common/str.c size_t limit = ALIGN_DOWN(size, sizeof(char32_t));
ALIGN_DOWN 78 kernel/arch/amd64/src/mm/frame.c uint64_t new_size = ALIGN_DOWN(size - (new_base - base),
ALIGN_DOWN 101 kernel/arch/amd64/src/mm/frame.c uint64_t new_base = ALIGN_DOWN(base, FRAME_SIZE);
ALIGN_DOWN 109 kernel/arch/amd64/src/mm/frame.c uint64_t new_base = ALIGN_DOWN(base, FRAME_SIZE);
ALIGN_DOWN 50 kernel/arch/arm32/src/mm/frame.c size = ALIGN_DOWN(size, FRAME_SIZE);
ALIGN_DOWN 55 kernel/arch/arm32/src/smc.c uintptr_t begin = ALIGN_DOWN((uintptr_t) a, CP15_C7_MVA_ALIGN);
ALIGN_DOWN 85 kernel/arch/arm64/src/mm/frame.c size_t size = ALIGN_DOWN(memmap.zones[i].size -
ALIGN_DOWN 78 kernel/arch/ia32/src/mm/frame.c uint64_t new_size = ALIGN_DOWN(size - (new_base - base),
ALIGN_DOWN 101 kernel/arch/ia32/src/mm/frame.c uint64_t new_base = ALIGN_DOWN(base, FRAME_SIZE);
ALIGN_DOWN 109 kernel/arch/ia32/src/mm/frame.c uint64_t new_base = ALIGN_DOWN(base, FRAME_SIZE);
ALIGN_DOWN 222 kernel/arch/ia64/src/ia64.c return ALIGN_DOWN(stack_base + stack_size / 2, STACK_ALIGNMENT);
ALIGN_DOWN 57 kernel/arch/ia64/src/proc/scheduler.c base = ALIGN_DOWN(config.base, 1 << KERNEL_PAGE_WIDTH);
ALIGN_DOWN 277 kernel/arch/mips32/src/mm/tlb.c hi->vpn2 = ADDR2HI_VPN2(ALIGN_DOWN(addr, PAGE_SIZE));
ALIGN_DOWN 65 kernel/arch/ppc32/src/mm/frame.c size_t size = ALIGN_DOWN(memmap.zones[i].size -
ALIGN_DOWN 62 kernel/arch/riscv64/src/mm/frame.c size_t size = ALIGN_DOWN(memmap.zones[i].size -
ALIGN_DOWN 131 kernel/arch/sparc64/src/mm/sun4u/as.c uintptr_t base = ALIGN_DOWN(config.base, 1 << KERNEL_PAGE_WIDTH);
ALIGN_DOWN 203 kernel/arch/sparc64/src/mm/sun4u/as.c uintptr_t base = ALIGN_DOWN(config.base, 1 << KERNEL_PAGE_WIDTH);
ALIGN_DOWN 62 kernel/arch/sparc64/src/mm/sun4u/frame.c size = ALIGN_DOWN(memmap.zones[i].size -
ALIGN_DOWN 244 kernel/arch/sparc64/src/mm/sun4u/tlb.c page_16k = ALIGN_DOWN(page_8k, PAGE_SIZE);
ALIGN_DOWN 296 kernel/arch/sparc64/src/mm/sun4u/tlb.c page_16k = ALIGN_DOWN((uint64_t) tag.vpn << MMU_PAGE_WIDTH, PAGE_SIZE);
ALIGN_DOWN 122 kernel/arch/sparc64/src/mm/sun4v/as.c uintptr_t base = ALIGN_DOWN(config.base, 1 << KERNEL_PAGE_WIDTH);
ALIGN_DOWN 161 kernel/arch/sparc64/src/mm/sun4v/as.c uintptr_t base = ALIGN_DOWN(config.base, 1 << KERNEL_PAGE_WIDTH);
ALIGN_DOWN 62 kernel/arch/sparc64/src/mm/sun4v/frame.c size = ALIGN_DOWN(memmap.zones[i].size -
ALIGN_DOWN 213 kernel/arch/sparc64/src/mm/sun4v/tlb.c uintptr_t va = ALIGN_DOWN(istate->tpc, PAGE_SIZE);
ALIGN_DOWN 59 kernel/arch/sparc64/src/proc/thread.c slab_free(uwb_cache, (uint8_t *) ALIGN_DOWN(uw_buf,
ALIGN_DOWN 81 kernel/arch/sparc64/src/proc/thread.c t->arch.uspace_window_buffer = (uint8_t *) ALIGN_DOWN(uw_buf,
ALIGN_DOWN 163 kernel/arch/sparc64/src/sun4u/sparc64.c return ALIGN_DOWN(stack_base + stack_size - STACK_WINDOW_SAVE_AREA_SIZE - STACK_ARG_SAVE_AREA_SIZE, 16) - STACK_BIAS;
ALIGN_DOWN 161 kernel/arch/sparc64/src/sun4v/sparc64.c return ALIGN_DOWN(stack_base + stack_size - STACK_WINDOW_SAVE_AREA_SIZE - STACK_ARG_SAVE_AREA_SIZE, 16) - STACK_BIAS;
ALIGN_DOWN 211 kernel/genarch/src/drivers/ns16550/ns16550.c instance->parea.pbase = ALIGN_DOWN((uintptr_t) dev_phys,
ALIGN_DOWN 158 kernel/genarch/src/mm/page_ht.c [KEY_PAGE] = ALIGN_DOWN(page, PAGE_SIZE)
ALIGN_DOWN 179 kernel/genarch/src/mm/page_ht.c pte->page = ALIGN_DOWN(page, PAGE_SIZE);
ALIGN_DOWN 180 kernel/genarch/src/mm/page_ht.c pte->frame = ALIGN_DOWN(frame, FRAME_SIZE);
ALIGN_DOWN 208 kernel/genarch/src/mm/page_ht.c [KEY_PAGE] = ALIGN_DOWN(page, PAGE_SIZE)
ALIGN_DOWN 228 kernel/genarch/src/mm/page_ht.c [KEY_PAGE] = ALIGN_DOWN(page, PAGE_SIZE)
ALIGN_DOWN 415 kernel/genarch/src/mm/page_pt.c for (uintptr_t addr = ALIGN_DOWN(base, ptl0_step);
ALIGN_DOWN 500 kernel/generic/common/str.c size_t limit = ALIGN_DOWN(size, sizeof(char32_t));
ALIGN_DOWN 270 kernel/generic/src/ddi/ddi.c rc = physmem_map(ALIGN_DOWN(phys, FRAME_SIZE), pages, flags, &virt,
ALIGN_DOWN 146 kernel/generic/src/lib/elf.c uintptr_t base = ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE);
ALIGN_DOWN 1514 kernel/generic/src/mm/as.c uintptr_t page = ALIGN_DOWN(address, PAGE_SIZE);
ALIGN_DOWN 86 kernel/generic/src/mm/backend_elf.c uintptr_t last = ALIGN_DOWN(entry->p_vaddr + entry->p_filesz,
ALIGN_DOWN 279 kernel/generic/src/mm/backend_elf.c if (elfpage < ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE))
ALIGN_DOWN 285 kernel/generic/src/mm/backend_elf.c i = (elfpage - ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE)) >>
ALIGN_DOWN 288 kernel/generic/src/mm/backend_elf.c (((void *) elf) + ALIGN_DOWN(entry->p_offset, PAGE_SIZE));
ALIGN_DOWN 427 kernel/generic/src/mm/backend_elf.c assert(elfpage >= ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE));
ALIGN_DOWN 141 kernel/generic/src/mm/km.c assert(ALIGN_DOWN(paddr, FRAME_SIZE) == paddr);
ALIGN_DOWN 163 kernel/generic/src/mm/km.c assert(ALIGN_DOWN(vaddr, PAGE_SIZE) == vaddr);
ALIGN_DOWN 196 kernel/generic/src/mm/km.c offs = paddr - ALIGN_DOWN(paddr, FRAME_SIZE);
ALIGN_DOWN 197 kernel/generic/src/mm/km.c page = km_map_aligned(ALIGN_DOWN(paddr, FRAME_SIZE),
ALIGN_DOWN 213 kernel/generic/src/mm/km.c offs = vaddr - ALIGN_DOWN(vaddr, PAGE_SIZE);
ALIGN_DOWN 214 kernel/generic/src/mm/km.c km_unmap_aligned(ALIGN_DOWN(vaddr, PAGE_SIZE),
ALIGN_DOWN 105 kernel/generic/src/mm/page.c page_mapping_operations->mapping_insert(as, ALIGN_DOWN(page, PAGE_SIZE),
ALIGN_DOWN 106 kernel/generic/src/mm/page.c ALIGN_DOWN(frame, FRAME_SIZE), flags);
ALIGN_DOWN 130 kernel/generic/src/mm/page.c ALIGN_DOWN(page, PAGE_SIZE));
ALIGN_DOWN 155 kernel/generic/src/mm/page.c ALIGN_DOWN(page, PAGE_SIZE), nolock, pte);
ALIGN_DOWN 176 kernel/generic/src/mm/page.c ALIGN_DOWN(page, PAGE_SIZE), nolock, pte);
ALIGN_DOWN 204 kernel/generic/src/mm/page.c (virt - ALIGN_DOWN(virt, PAGE_SIZE));
ALIGN_DOWN 43 uspace/lib/c/arch/abs32le/include/libarch/thread.h uintptr_t *sp = (uintptr_t *) ALIGN_DOWN((uintptr_t) stack + stack_size, 16);
ALIGN_DOWN 45 uspace/lib/c/arch/amd64/include/libarch/thread.h uintptr_t *sp = (uintptr_t *) ALIGN_DOWN((uintptr_t) stack + stack_size, 16);
ALIGN_DOWN 44 uspace/lib/c/arch/arm32/include/libarch/thread.h uintptr_t *sp = (uintptr_t *) ALIGN_DOWN((uintptr_t) stack + stack_size, 16);
ALIGN_DOWN 43 uspace/lib/c/arch/arm64/include/libarch/thread.h uintptr_t *sp = (uintptr_t *) ALIGN_DOWN((uintptr_t) stack + stack_size, 16);
ALIGN_DOWN 45 uspace/lib/c/arch/ia32/include/libarch/thread.h uintptr_t *sp = (uintptr_t *) ALIGN_DOWN((uintptr_t) stack + stack_size, 16);
ALIGN_DOWN 43 uspace/lib/c/arch/ia64/include/libarch/thread.h uintptr_t *sp = (uintptr_t *) (ALIGN_DOWN((uintptr_t) stack + stack_size / 2, 16));
ALIGN_DOWN 44 uspace/lib/c/arch/mips32/include/libarch/thread.h uintptr_t *sp = (uintptr_t *) ALIGN_DOWN((uintptr_t) stack + stack_size, 16);
ALIGN_DOWN 43 uspace/lib/c/arch/ppc32/include/libarch/thread.h uintptr_t *sp = (uintptr_t *) ALIGN_DOWN((uintptr_t) stack + stack_size - sizeof(void *), 16);
ALIGN_DOWN 43 uspace/lib/c/arch/riscv64/include/libarch/thread.h uintptr_t *sp = (uintptr_t *) ALIGN_DOWN((uintptr_t) stack + stack_size, 16);
ALIGN_DOWN 45 uspace/lib/c/arch/sparc64/include/libarch/thread.h uintptr_t *sp = (uintptr_t *) ALIGN_DOWN((uintptr_t) stack + stack_size - STACK_WINDOW_SAVE_AREA_SIZE - STACK_ARG_SAVE_AREA_SIZE, 16);
ALIGN_DOWN 500 uspace/lib/c/common/str.c size_t limit = ALIGN_DOWN(size, sizeof(char32_t));
ALIGN_DOWN 294 uspace/lib/c/generic/ddi.c ALIGN_DOWN((uintptr_t) pio_addr, PAGE_SIZE);
ALIGN_DOWN 428 uspace/lib/c/generic/elf/elf_mod.c base = ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE);
ALIGN_DOWN 415 uspace/lib/c/generic/malloc.c size_t shrink_size = ALIGN_DOWN(last_head->size, PAGE_SIZE);
ALIGN_DOWN 387 uspace/srv/fs/exfat/exfat_directory.c uctable_chars = ALIGN_DOWN(uctablep->size,
ALIGN_DOWN 250 uspace/srv/fs/fat/fat_fat.c o = ALIGN_DOWN(o + BPS(bs), BPS(bs))) {
HelenOS homepage, sources at GitHub