Home
last modified time | relevance | path

Searched refs:ALIGN (Results 1 – 25 of 34) sorted by relevance

12

/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_freebsd_config.h62 #define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l))
65 #define CMSG_LEN(l) (ALIGN(sizeof(struct cmsghdr)) + (l))
68 #define CMSG_DATA(cmsg) ((u_char *)(cmsg) + ALIGN(sizeof(struct cmsghdr)))
/f-stack/freebsd/mips/nlm/dev/net/ucore/
H A Dld.ucore.S114 . = ALIGN(8);
126 . = ALIGN (8);
144 . = ALIGN (8);
/f-stack/dpdk/drivers/net/atlantic/hw_atl/
H A Dhw_atl_b0_internal.h136 (ALIGN(AQ_CFG_SKB_FRAGS_MAX + 1U, AQ_HW_RXD_MULTIPLE))
138 (ALIGN(AQ_CFG_SKB_FRAGS_MAX + 1U, AQ_HW_TXD_MULTIPLE))
/f-stack/dpdk/drivers/common/dpaax/caamflib/
H A Dcompat.h78 #ifndef ALIGN
79 #define ALIGN(x, a) (((x) + ((__typeof__(x))(a) - 1)) & \ macro
/f-stack/tools/compat/
H A Dgetifaddrs.c75 #ifndef ALIGN
76 #define ALIGN(p) (((u_long)(p) + ALIGNBYTES) &~ ALIGNBYTES) macro
251 ift->ifa_data = data = (void *)ALIGN(data); in getifaddrs()
322 ift->ifa_data = data = (void *)ALIGN(data); in getifaddrs()
/f-stack/dpdk/drivers/net/hinic/base/
H A Dhinic_compat.h78 #undef ALIGN
79 #define ALIGN(x, a) RTE_ALIGN(x, a) macro
81 #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a)))
H A Dhinic_pmd_wq.h30 #define CMDQ_PAGE_SIZE ALIGN((CMDQ_BLOCKS_PER_PAGE * \
70 (ALIGN((u32)num_wqs, WQS_BLOCKS_PER_PAGE) / WQS_BLOCKS_PER_PAGE)
H A Dhinic_pmd_nicio.h22 (ALIGN((num_qps) * HINIC_CI_Q_ADDR_SIZE, pg_sz))
165 #define SIZE_16BYTES(size) (ALIGN((size), 16) >> 4)
H A Dhinic_pmd_api_cmd.c44 #define SIZE_4BYTES(size) (ALIGN((u32)(size), 4U) >> 2)
45 #define SIZE_8BYTES(size) (ALIGN((u32)(size), 8U) >> 3)
158 cell_data_size = ALIGN(API_CMD_CELL_DESC_SIZE + in get_cell_data_size()
H A Dhinic_pmd_mbox.c295 idx_max = ALIGN(data_len, chk_sz) / chk_sz; in mbox_copy_send_data()
349 HINIC_MBOX_INT_SET(ALIGN(MBOX_SIZE, MBOX_SEG_LEN_ALIGN) >> 2, in write_mbox_msg_attr()
H A Dhinic_pmd_eqs.c74 ((u16)(ALIGN((eq)->eq_len * (u32)(eq)->elem_size, (size)) \
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-shared-linux-o32.ld146 . = ALIGN(32 / 8);
195 _gp = ALIGN(16) + 0x7ff0;
207 . = ALIGN (0x10000);
211 . = ALIGN (0x10000);
236 . = ALIGN(32 / 8);
238 . = ALIGN(32 / 8);
239 . = ALIGN(32M); /* RBF added alignment of data */
H A Dcvmx-shared-linux-n32.ld149 …. = ALIGN (CONSTANT (MAXPAGESIZE)) - ((CONSTANT (MAXPAGESIZE) - .) & (CONSTANT (MAXPAGESIZE) - 1))…
217 _gp = ALIGN(16) + 0x7ff0;
230 . = ALIGN (0x10000);
234 . = ALIGN (0x10000);
260 . = ALIGN(. != 0 ? 32 / 8 : 1);
262 . = ALIGN(32 / 8);
263 . = ALIGN(32M); /* RBF added alignment of data */
H A Dcvmx-shared-linux.ld148 …. = ALIGN (CONSTANT (MAXPAGESIZE)) - ((CONSTANT (MAXPAGESIZE) - .) & (CONSTANT (MAXPAGESIZE) - 1))…
216 _gp = ALIGN(16) + 0x7ff0;
229 . = ALIGN (0x10000);
233 . = ALIGN (0x10000);
259 . = ALIGN(. != 0 ? 64 / 8 : 1);
261 . = ALIGN(64 / 8);
262 . = ALIGN(32M); /* RBF added alignment of data */
/f-stack/dpdk/drivers/common/dpaax/caamflib/rta/
H A Dkey_cmd.h148 length = ALIGN(length, 8); in rta_key()
151 length = ALIGN(length, 16); in rta_key()
/f-stack/freebsd/amd64/linux/
H A Dlinux_vdso.lds.s41 . = ALIGN(0x100);
/f-stack/freebsd/arm/include/
H A Dparam.h81 #define ALIGN(p) _ALIGN(p) macro
/f-stack/freebsd/arm64/include/
H A Dparam.h70 #define ALIGN(p) _ALIGN(p) macro
/f-stack/freebsd/i386/linux/
H A Dlinux_vdso.lds.s42 . = ALIGN(0x100);
/f-stack/freebsd/amd64/linux32/
H A Dlinux32_vdso.lds.s42 . = ALIGN(0x100);
/f-stack/freebsd/i386/include/
H A Dparam.h72 #define ALIGN(p) _ALIGN(p) macro
/f-stack/freebsd/mips/include/
H A Dparam.h120 #define ALIGN(p) _ALIGN(p) macro
/f-stack/freebsd/amd64/include/
H A Dparam.h79 #define ALIGN(p) _ALIGN(p) macro
/f-stack/tools/ndp/
H A Dndp.c142 #ifndef ALIGN
143 #define ALIGN(p) (((u_long)(p) + ALIGNBYTES) &~ ALIGNBYTES) macro
505 sdl = (struct sockaddr_dl *)(ALIGN(sin->sin6_len) + (char *)sin); in set()
598 sdl = (struct sockaddr_dl *)(ALIGN(sin->sin6_len) + (char *)sin); in delete()
692 ALIGN(sin->sin6_len)); in dump()
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_ethdev.h22 #define SIZE_8BYTES(size) (ALIGN((u32)(size), 8) >> 3)

12