ALIGN
bufferSize = ALIGN(stream->sample_size * stream->num_channels * stream->buffer_length, 128);
bufferSize = ALIGN(bufferSize, 128);
uint32 rirbOffset = ALIGN(controller->corb_length * sizeof(corb_t), 128);
uint32 posOffset = ALIGN(rirbOffset
stream->buffer_size = ALIGN(stream->buffer_length * stream->num_channels
ALIGN(m->m_data + ETHER_HDR_LEN) - ETHER_HDR_LEN;
*cpp = lsrp = (char *)ALIGN(buf);
n->m_data = (caddr_t)(ALIGN(n->m_data + align) - align);
rt = IEEE80211_MALLOC(ALIGN(sizeof(struct ieee80211_mesh_route)) +
rt->rt_priv = (void *)ALIGN(&rt[1]);
gr = IEEE80211_MALLOC(ALIGN(sizeof(struct ieee80211_mesh_gate_route)),
gr = IEEE80211_MALLOC(ALIGN(sizeof(struct ieee80211_mesh_gate_route)),
if (ALIGN(hdrlen) > max_linkhdr) {
max_linkhdr = ALIGN(hdrlen);
max_linkhdr_grow(ALIGN(hdrlen));
void* address = (void*)ALIGN((addr_t)sFirstFree, alignment);
return (void*)ALIGN((addr_t)block, alignment);
return (void*)ALIGN((addr_t)block, alignment);
bp = (char *)ALIGN(bp);
ptr = (void *)ALIGN(ptr);
#ifndef ALIGN
if (((uintptr_t)s & ALIGN) == ((uintptr_t)d & ALIGN)) {
for (; ((uintptr_t)s & ALIGN) && n && (*d=*s)!=c; n--, s++, d++);
if ((uintptr_t)s & ALIGN) goto tail;
for (; ((uintptr_t)s & ALIGN) && n && *s != c; s++, n--);
if ((uintptr_t)s % ALIGN == (uintptr_t)d % ALIGN) {
for (; (uintptr_t)s % ALIGN; s++, d++)
if (((uintptr_t)s & ALIGN) == ((uintptr_t)d & ALIGN)) {
for (; ((uintptr_t)s & ALIGN) && n && (*d=*s); n--, s++, d++);
for (; (uintptr_t)s % ALIGN; s++)
if (((uintptr_t)s & ALIGN) == ((uintptr_t)d & ALIGN)) {
for (; ((uintptr_t)s & ALIGN) && n && (*d=*s); n--, s++, d++);
for (; (uintptr_t)s % ALIGN; s++) if (!*s) return s-a;