Home
last modified time | relevance | path

Searched refs:__align_down (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/riscv/riscv/
H A Dcbo.c46 va = __align_down(va, dcache_line_size); in cbo_zicbom_cpu_dcache_wbinv_range()
65 va = __align_down(va, dcache_line_size); in cbo_zicbom_cpu_dcache_inv_range()
86 va = __align_down(va, dcache_line_size); in cbo_zicbom_cpu_dcache_wb_range()
/freebsd/sys/riscv/thead/
H A Dthead.c58 register char *t0 __asm("t0") = __align_down(va, dcache_line_size); in thead_cpu_dcache_wbinv_range()
70 register char *t0 __asm("t0") = __align_down(va, dcache_line_size); in thead_cpu_dcache_inv_range()
82 register char *t0 __asm("t0") = __align_down(va, dcache_line_size); in thead_cpu_dcache_wb_range()
/freebsd/sys/sys/
H A D_param.h23 #define rounddown2(x, y) __align_down(x, y) /* if y is power of two */
H A Dparam.h184 #define STACKALIGN(p) (__align_down(p, STACKALIGNBYTES + 1))
H A Dcdefs.h672 #define __align_down(x, y) __builtin_align_down(x, y) macro
/freebsd/tools/build/cross-build/include/common/sys/
H A Dcdefs.h307 #define __align_down(x, y) __builtin_align_down(x, y) macro
/freebsd/sys/powerpc/powerpc/
H A Dmachdep.c490 thread0.td_pcb = (struct pcb *)__align_down(td_kstack_top(&thread0) - in powerpc_init()
H A Dexec_machdep.c1090 pcb = (struct pcb *)__align_down(td_kstack_top(td) - sizeof(struct pcb), in cpu_thread_new_kstack()