Searched refs:ALIGN_DOWN (Results 1 – 6 of 6) 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/gstreamer/gstplugins_base/gst-libs/gst/rtp/ |
D | gstrtpbaseaudiopayload.c | 657 #define ALIGN_DOWN(val,len) ((val) - ((val) % (len))) macro 701 *align = ALIGN_DOWN (MAX (priv->align, ptime_mult_octets), priv->align); in gst_rtp_base_audio_payload_get_lengths() 712 max_mtu = ALIGN_DOWN (max_mtu, *align); in gst_rtp_base_audio_payload_get_lengths() 925 payload_len = ALIGN_DOWN (payload_len, align); in gst_rtp_base_audio_payload_handle_buffer()
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 504 #define ALIGN_DOWN(addrs, size) (((addrs) / (size)) * (size)) macro 512 return ALIGN_DOWN(addrs, 1 << i->i_log_cluster_size); in addrs_per_inode() 520 return ALIGN_DOWN(DEF_ADDRS_PER_BLOCK, 1 << i->i_log_cluster_size); in addrs_per_block()
|
/third_party/libffi/ |
D | ChangeLog | 974 Prefix ALIGN_DOWN macro with FFI_ 980 Prefix ALIGN_DOWN macro with FFI_
|
D | ChangeLog.old | 4229 * include/ffi_common.h (ALIGN_DOWN): New macro.
|