Home
last modified time | relevance | path

Searched refs:_ALIGN (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/sys/
H A Dsocket.h562 _ALIGN(sizeof(struct cmsghdr)))
567 ((char *)(cmsg) + _ALIGN(((struct cmsghdr *)(cmsg))->cmsg_len) + \
568 _ALIGN(sizeof(struct cmsghdr)) > \
572 _ALIGN(((struct cmsghdr *)(cmsg))->cmsg_len)))
585 #define CMSG_SPACE(l) (_ALIGN(sizeof(struct cmsghdr)) + _ALIGN(l))
586 #define CMSG_LEN(l) (_ALIGN(sizeof(struct cmsghdr)) + (l))
590 #define CMSG_ALIGN(n) _ALIGN(n)
H A D_align.h30 #define _ALIGN(p) __align_up((p), _ALIGNBYTES + 1) macro
/freebsd/lib/libc/net/
H A Dgethostnamadr.c304 desired_size += addr_size * _ALIGN(ht->h_length); in host_marshal_func()
320 p = (char *)_ALIGN(p); in host_marshal_func()
330 p = (char *)_ALIGN(p); in host_marshal_func()
344 p = (char *)_ALIGN(p); in host_marshal_func()
349 size = _ALIGN(new_ht.h_length); in host_marshal_func()
403 orig_buf = (char *)_ALIGN(orig_buf); in host_unmarshal_func()
408 p = (char *)_ALIGN(p); in host_unmarshal_func()
H A Dgetnetnamadr.c179 p = (char *)_ALIGN(p); in net_marshal_func()
189 p = (char *)_ALIGN(p); in net_marshal_func()
250 orig_buf = (char *)_ALIGN(orig_buf); in net_unmarshal_func()
255 p = (char *)_ALIGN(p); in net_unmarshal_func()
H A Dgetprotoent.c197 p = (char *)_ALIGN(p); in __proto_marshal_func()
207 p = (char *)_ALIGN(p); in __proto_marshal_func()
266 orig_buf = (char *)_ALIGN(orig_buf); in __proto_unmarshal_func()
271 p = (char *)_ALIGN(p); in __proto_unmarshal_func()
H A Dgetservent.c231 aliases = (char **)_ALIGN(&buffer[resultbuflen + 1]); in parse_result()
1007 p = (char *)_ALIGN(p); in serv_marshal_func()
1024 p = (char *)_ALIGN(p); in serv_marshal_func()
1085 orig_buf = (char *)_ALIGN(orig_buf); in serv_unmarshal_func()
1090 p = (char *)_ALIGN(p); in serv_unmarshal_func()
H A Dgetaddrinfo.c1877 sentinel->ai_addr = (struct sockaddr *)_ALIGN((char *)sentinel + in addrinfo_unmarshal_func()
/freebsd/lib/libc/rpc/
H A Dgetrpcent.c273 aliases = (char **)_ALIGN(&buffer[linesize+1]); in files_rpcent()
521 aliases=(char **)_ALIGN(&buffer[resultbuflen+2]); in nis_rpcent()
710 p = (char *)_ALIGN(p); in rpc_marshal_func()
720 p = (char *)_ALIGN(p); in rpc_marshal_func()
779 orig_buf = (char *)_ALIGN(orig_buf); in rpc_unmarshal_func()
784 p = (char *)_ALIGN(p); in rpc_unmarshal_func()
/freebsd/sys/riscv/include/
H A Dparam.h62 #define ALIGN(p) _ALIGN(p)
/freebsd/sys/arm64/include/
H A Dparam.h69 #define ALIGN(p) _ALIGN(p)
/freebsd/sys/arm/include/
H A Dparam.h74 #define ALIGN(p) _ALIGN(p)
/freebsd/sys/i386/include/
H A Dparam.h67 #define ALIGN(p) _ALIGN(p)
/freebsd/sys/powerpc/include/
H A Dparam.h83 #define ALIGN(p) _ALIGN(p)
/freebsd/sys/amd64/include/
H A Dparam.h73 #define ALIGN(p) _ALIGN(p)
/freebsd/lib/libc/include/
H A Dnscache.h186 return ((char *)_ALIGN(p) - (char *)p); in __nss_buf_misalignment()
/freebsd/lib/libc/gen/
H A Dgetgrent.c266 p = (char *)_ALIGN(p); in grp_marshal_func()
283 p = (char *)_ALIGN(p); in grp_marshal_func()
355 orig_buf = (char *)_ALIGN(orig_buf); in grp_unmarshal_func()
360 p = (char *)_ALIGN(p); in grp_unmarshal_func()
1543 members = (char **)_ALIGN(membuf); in __gr_parse_entry()
/freebsd/lib/libcasper/services/cap_grp/
H A Dcap_grp.c105 outstrs = (char **)(void *)_ALIGN(*bufferp); in group_unpack_members()
127 outstrs = (char **)(void *)_ALIGN(*bufferp); in group_unpack_members()
/freebsd/tests/sys/kern/
H A Dunix_passfd_test.c473 #define MAXFDS ((MCLBYTES - _ALIGN(sizeof(struct cmsghdr)))/sizeof(void *))