Home
last modified time | relevance | path

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

/external/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()
/external/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 intel_linear_to_tiled()
863 yt0 = ALIGN_DOWN(yt1, th); in intel_linear_to_tiled()
891 x2 = ALIGN_DOWN(x3, span); in intel_linear_to_tiled()
961 xt0 = ALIGN_DOWN(xt1, tw); in intel_tiled_to_linear()
963 yt0 = ALIGN_DOWN(yt1, th); in intel_tiled_to_linear()
991 x2 = ALIGN_DOWN(x3, span); in intel_tiled_to_linear()
/external/python/cpython2/Modules/_ctypes/libffi/src/metag/
Dffi.c64 argp = (char *) ALIGN_DOWN(ALIGN_DOWN(argp, (*p_arg)->alignment), 4); in ffi_prep_args()
/external/python/cpython2/Modules/_ctypes/libffi/include/
Dffi_common.h78 #define ALIGN_DOWN(v, a) (((size_t) (v)) & -a) macro
/external/python/cpython2/Modules/_ctypes/libffi/src/moxie/
Dffi.c103 return (stack + ((count > 24) ? 24 : ALIGN_DOWN(count, 8))); in ffi_prep_args()
/external/python/cpython2/Modules/_ctypes/libffi/src/frv/
Dffi.c110 return (stack + ((count > 24) ? 24 : ALIGN_DOWN(count, 8))); in ffi_prep_args()
/external/f2fs-tools/lib/
Dlibf2fs.c502 #define ALIGN_DOWN(addrs, size) (((addrs) / (size)) * (size)) macro
510 return ALIGN_DOWN(addrs, 1 << i->i_log_cluster_size); in addrs_per_inode()
518 return ALIGN_DOWN(DEF_ADDRS_PER_BLOCK, 1 << i->i_log_cluster_size); in addrs_per_block()
/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c56 #define ALIGN_DOWN(x, align_to) ((x) & ~((align_to)-1)) macro
58 #define ALIGN_PTR_DOWN(p, ptr_align_to) ((typeof(p))ALIGN_DOWN((unsigned long)(p), ptr_align_to))
/external/python/cpython2/Modules/_ctypes/libffi/
DChangeLog.libffi-3.14221 * include/ffi_common.h (ALIGN_DOWN): New macro.
/external/libffi/
DChangeLog.libffi-3.14221 * include/ffi_common.h (ALIGN_DOWN): New macro.
DChangeLog.old4229 * include/ffi_common.h (ALIGN_DOWN): New macro.