Home
last modified time | relevance | path

Searched refs:ALIGN_DOWN (Results 1 – 7 of 7) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ipc/shmat/
Dshmat01.c31 #define ALIGN_DOWN(in_addr) ((void *)(((uintptr_t)in_addr / SHMLBA) * SHMLBA)) macro
57 return ALIGN_DOWN(in_addr); in expected_addr()
/third_party/mesa3d/src/intel/isl/
Disl_tiled_memcpy.c47 #define ALIGN_DOWN(a, b) ROUND_DOWN_TO(a, b) macro
313 uint32_t y2 = MAX2(y1, ALIGN_DOWN(y3, 4)); in linear_to_ytiled()
477 uint32_t y2 = MAX2(y1, ALIGN_DOWN(y3, 4)); in ytiled_to_linear()
861 xt0 = ALIGN_DOWN(xt1, tw); in linear_to_tiled()
863 yt0 = ALIGN_DOWN(yt1, th); in linear_to_tiled()
891 x2 = ALIGN_DOWN(x3, span); in linear_to_tiled()
961 xt0 = ALIGN_DOWN(xt1, tw); in tiled_to_linear()
963 yt0 = ALIGN_DOWN(yt1, th); in tiled_to_linear()
991 x2 = ALIGN_DOWN(x3, span); in tiled_to_linear()
/third_party/musl/ldso/linux/
Dcfi.c71 #define ALIGN_DOWN(a, b) ((a) & -(b)) macro
173 uintptr_t aligned_addr = ALIGN_DOWN(addr, shadow_alignment) + shadow_alignment; in get_cfi_check_addr()
418 begin = ALIGN_DOWN(MAX(begin, cfi_check), shadow_alignment); in fill_shadow_value_to_shadow()
421 char* aligned_shadow_begin = (char*)ALIGN_DOWN((uintptr_t)shadow_begin, PAGE_SIZE); in fill_shadow_value_to_shadow()
/third_party/musl/porting/linux/user/ldso/
Dcfi.c71 #define ALIGN_DOWN(a, b) ((a) & -(b)) macro
173 uintptr_t aligned_addr = ALIGN_DOWN(addr, shadow_alignment) + shadow_alignment; in get_cfi_check_addr()
417 begin = ALIGN_DOWN(MAX(begin, cfi_check), shadow_alignment); in fill_shadow_value_to_shadow()
420 char* aligned_shadow_begin = (char*)ALIGN_DOWN((uintptr_t)shadow_begin, PAGE_SIZE); in fill_shadow_value_to_shadow()
/third_party/f2fs-tools/lib/
Dlibf2fs.c506 return ALIGN_DOWN(addrs, 1 << i->i_log_cluster_size); in addrs_per_inode()
514 return ALIGN_DOWN(DEF_ADDRS_PER_BLOCK, 1 << i->i_log_cluster_size); in addrs_per_block()
/third_party/f2fs-tools/include/
Df2fs_fs.h459 #define ALIGN_DOWN(addrs, size) (((addrs) / (size)) * (size)) macro
460 #define ALIGN_UP(addrs, size) ALIGN_DOWN(((addrs) + (size) - 1), (size))
/third_party/libffi/
DChangeLog2525 Prefix ALIGN_DOWN macro with FFI_
2531 Prefix ALIGN_DOWN macro with FFI_