Searched refs:_ALIGN (Results 1 - 21 of 21) sorted by relevance

/freebsd-current/sys/arm/include/
H A D_align.h49 #define _ALIGN(p) (((unsigned)(p) + _ALIGNBYTES) & ~_ALIGNBYTES) macro
H A Dparam.h78 #define ALIGN(p) _ALIGN(p)
/freebsd-current/sys/x86/include/
H A D_align.h49 #define _ALIGN(p) (((__uintptr_t)(p) + _ALIGNBYTES) & ~_ALIGNBYTES) macro
/freebsd-current/sys/powerpc/include/
H A D_align.h49 #define _ALIGN(p) (((uintptr_t)(p) + _ALIGNBYTES) & ~_ALIGNBYTES) macro
H A Dparam.h90 #define ALIGN(p) _ALIGN(p)
/freebsd-current/sys/riscv/include/
H A D_align.h39 #define _ALIGN(p) (((u_long)(p) + _ALIGNBYTES) & ~_ALIGNBYTES) macro
H A Dparam.h64 #define ALIGN(p) _ALIGN(p)
/freebsd-current/sys/arm64/include/
H A D_align.h43 #define _ALIGN(p) (((u_long)(p) + _ALIGNBYTES) & ~_ALIGNBYTES) macro
H A Dparam.h71 #define ALIGN(p) _ALIGN(p)
/freebsd-current/sys/sys/
H A Dsocket.h552 _ALIGN(sizeof(struct cmsghdr)))
557 ((char *)(cmsg) + _ALIGN(((struct cmsghdr *)(cmsg))->cmsg_len) + \
558 _ALIGN(sizeof(struct cmsghdr)) > \
562 _ALIGN(((struct cmsghdr *)(cmsg))->cmsg_len)))
575 #define CMSG_SPACE(l) (_ALIGN(sizeof(struct cmsghdr)) + _ALIGN(l))
576 #define CMSG_LEN(l) (_ALIGN(sizeof(struct cmsghdr)) + (l))
580 #define CMSG_ALIGN(n) _ALIGN(n)
/freebsd-current/sys/i386/include/
H A Dparam.h69 #define ALIGN(p) _ALIGN(p)
/freebsd-current/lib/libc/net/
H A Dgethostnamadr.c304 desired_size += addr_size * _ALIGN(ht->h_length);
320 p = (char *)_ALIGN(p);
330 p = (char *)_ALIGN(p);
344 p = (char *)_ALIGN(p);
349 size = _ALIGN(new_ht.h_length);
403 orig_buf = (char *)_ALIGN(orig_buf);
405 _ALIGN(p) - (size_t)p,
407 _ALIGN(p) + (size_t)p);
408 p = (char *)_ALIGN(p);
H A Dgetnetnamadr.c179 p = (char *)_ALIGN(p);
189 p = (char *)_ALIGN(p);
250 orig_buf = (char *)_ALIGN(orig_buf);
252 _ALIGN(p) - (size_t)p,
254 _ALIGN(p) + (size_t)p);
255 p = (char *)_ALIGN(p);
H A Dgetprotoent.c197 p = (char *)_ALIGN(p);
207 p = (char *)_ALIGN(p);
266 orig_buf = (char *)_ALIGN(orig_buf);
268 _ALIGN(p) - (size_t)p,
270 _ALIGN(p) + (size_t)p);
271 p = (char *)_ALIGN(p);
H A Dgetservent.c231 aliases = (char **)_ALIGN(&buffer[resultbuflen + 1]);
1007 p = (char *)_ALIGN(p);
1024 p = (char *)_ALIGN(p);
1085 orig_buf = (char *)_ALIGN(orig_buf);
1087 (_ALIGN(p) - (size_t)p),
1089 (_ALIGN(p) - (size_t)p));
1090 p = (char *)_ALIGN(p);
H A Dgetaddrinfo.c1877 sentinel->ai_addr = (struct sockaddr *)_ALIGN((char *)sentinel +
/freebsd-current/sys/amd64/include/
H A Dparam.h76 #define ALIGN(p) _ALIGN(p)
/freebsd-current/lib/libc/rpc/
H A Dgetrpcent.c273 aliases = (char **)_ALIGN(&buffer[linesize+1]);
521 aliases=(char **)_ALIGN(&buffer[resultbuflen+2]);
710 p = (char *)_ALIGN(p);
720 p = (char *)_ALIGN(p);
779 orig_buf = (char *)_ALIGN(orig_buf);
781 _ALIGN(p) - (size_t)p,
783 _ALIGN(p) + (size_t)p);
784 p = (char *)_ALIGN(p);
/freebsd-current/lib/libc/gen/
H A Dgetgrent.c266 p = (char *)_ALIGN(p);
283 p = (char *)_ALIGN(p);
350 _ALIGN(p) - (size_t)p < buffer_size) {
355 orig_buf = (char *)_ALIGN(orig_buf);
357 _ALIGN(p) - (size_t)p,
359 _ALIGN(p) + (size_t)p);
360 p = (char *)_ALIGN(p);
1543 members = (char **)_ALIGN(membuf);
/freebsd-current/lib/libcasper/services/cap_grp/
H A Dcap_grp.c106 outstrs = (char **)_ALIGN(*bufferp);
128 outstrs = (char **)_ALIGN(*bufferp);
/freebsd-current/tests/sys/kern/
H A Dunix_passfd_test.c445 #define MAXFDS ((MCLBYTES - _ALIGN(sizeof(struct cmsghdr)))/sizeof(void *))

Completed in 202 milliseconds