Searched refs:ALIGN_DOWN (Results 1 – 7 of 7) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ipc/shmat/ |
D | shmat01.c | 31 #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/ |
D | isl_tiled_memcpy.c | 47 #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/ |
D | cfi.c | 71 #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/ |
D | cfi.c | 71 #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/ |
D | libf2fs.c | 506 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/ |
D | f2fs_fs.h | 459 #define ALIGN_DOWN(addrs, size) (((addrs) / (size)) * (size)) macro 460 #define ALIGN_UP(addrs, size) ALIGN_DOWN(((addrs) + (size) - 1), (size))
|
/third_party/libffi/ |
D | ChangeLog | 2525 Prefix ALIGN_DOWN macro with FFI_ 2531 Prefix ALIGN_DOWN macro with FFI_
|