Home
last modified time | relevance | path

Searched refs:ALIGN_UP (Results 1 – 16 of 16) sorted by relevance

/external/rust/crates/libz-sys/src/zlib-ng/arch/s390/
Ddfltcc_common.c39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset()
62 …return ZALLOC(strm, ALIGN_UP(items * size, 8) + sizeof(struct dfltcc_state), sizeof(unsigned char)… in dfltcc_alloc_state()
66 memcpy(dst, src, ALIGN_UP(size, 8) + sizeof(struct dfltcc_state)); in dfltcc_copy_state()
81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
Ddfltcc_detail.h197 #define ALIGN_UP(p, size) (__typeof__(p))(((uintptr_t)(p) + ((size) - 1)) & ~((size) - 1)) macro
199 #define GET_DFLTCC_STATE(state) ((struct dfltcc_state *)((char *)(state) + ALIGN_UP(sizeof(*state),…
/external/icing/icing/legacy/index/
Dicing-bit-util.h69 #define ALIGN_UP(n, alignment) \ macro
74 return ALIGN_UP(n, alignment); in AlignUp()
87 #define VAR_INT_MAX_ENCODED_LEN(n_size) (ALIGN_UP(8 * (n_size), 7) / 7)
Dicing-flash-bitmap.cc303 file_size = ALIGN_UP(file_size, kGrowSize); in SetBit()
/external/arm-trusted-firmware/drivers/marvell/
Diob.c53 win->base_addr = ALIGN_UP(win->base_addr, IOB_WIN_ALIGNMENT); in iob_win_check()
62 win->win_size = ALIGN_UP(win->win_size, IOB_WIN_ALIGNMENT); in iob_win_check()
Dio_win.c46 win->base_addr = ALIGN_UP(win->base_addr, IO_WIN_ALIGNMENT_1M); in io_win_check()
53 win->win_size = ALIGN_UP(win->win_size, IO_WIN_ALIGNMENT_1M); in io_win_check()
Dccu.c101 win->base_addr = ALIGN_UP(win->base_addr, CCU_WIN_ALIGNMENT); in ccu_win_check()
108 win->win_size = ALIGN_UP(win->win_size, CCU_WIN_ALIGNMENT); in ccu_win_check()
Damb_adec.c57 win->base_addr = ALIGN_UP(base_addr, AMB_WIN_ALIGNMENT_1M); in amb_check_win()
Dgwin.c58 win->win_size = ALIGN_UP(win->win_size, GWIN_ALIGNMENT_64M); in gwin_check()
/external/mesa3d/src/intel/isl/
Disl_tiled_memcpy.c48 #define ALIGN_UP(a, b) ALIGN(a, b) macro
312 uint32_t y1 = MIN2(y3, ALIGN_UP(y0, 4)); in linear_to_ytiled()
476 uint32_t y1 = MIN2(y3, ALIGN_UP(y0, 4)); in ytiled_to_linear()
862 xt3 = ALIGN_UP (xt2, tw); in intel_linear_to_tiled()
864 yt3 = ALIGN_UP (yt2, th); in intel_linear_to_tiled()
887 x1 = ALIGN_UP(x0, span); in intel_linear_to_tiled()
962 xt3 = ALIGN_UP (xt2, tw); in intel_tiled_to_linear()
964 yt3 = ALIGN_UP (yt2, th); in intel_tiled_to_linear()
987 x1 = ALIGN_UP(x0, span); in intel_tiled_to_linear()
/external/f2fs-tools/fsck/
Dcompress.c30 #define LZO_WORK_SIZE ALIGN_UP(LZO1X_1_15_MEM_COMPRESS, 8)
40 #define LZ4_WORK_SIZE ALIGN_UP(LZ4_MEM_COMPRESS, 8)
Dsegment.c533 u32 csize = ALIGN_UP(c.compress.cc.clen + in f2fs_build_file()
/external/arm-trusted-firmware/include/plat/marvell/armada/common/
Dmvebu.h19 #define ALIGN_UP(number, align) (((number) & ((align) - 1)) ? \ macro
/external/linux-kselftest/tools/testing/selftests/net/
Dtcp_mmap.c123 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) macro
124 #define ALIGN_PTR_UP(p, ptr_align_to) ((typeof(p))ALIGN_UP((unsigned long)(p), ptr_align_to))
/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c55 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) macro
57 #define ALIGN_PTR_UP(p, ptr_align_to) ((typeof(p))ALIGN_UP((unsigned long)(p), ptr_align_to))
781 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_anon_huge()
851 size = ALIGN_UP(size, HPAGE_SIZE * 2); in malloc_pkey_hugetlb()
/external/f2fs-tools/include/
Df2fs_fs.h437 #define ALIGN_UP(value, size) ((value) + ((value) % (size) > 0 ? \ macro