Searched refs:P2ROUNDUP (Results 1 - 6 of 6) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | mcache.h | 71 #ifndef P2ROUNDUP 72 #define P2ROUNDUP(x, align) \ macro 74 #endif /* P2ROUNDUP */
|
H A D | dtrace.h | 90 #define P2ROUNDUP(x, align) (-(-(x) & -(align))) macro
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | mcache.c | 296 P2ROUNDUP((intptr_t)buf + sizeof (void *), CPU_CACHE_SIZE); 341 chunksize = P2ROUNDUP(chunksize, align); 860 size_t rsize = P2ROUNDUP(cp->mc_bufsize, sizeof (u_int64_t)); 885 base = (void *)P2ROUNDUP((intptr_t)buf + sizeof (u_int64_t), 937 size_t rsize = P2ROUNDUP(cp->mc_bufsize, sizeof (u_int64_t)); 986 size_t rsize = P2ROUNDUP(cp->mc_bufsize, sizeof (u_int64_t));
|
H A D | uipc_mbuf.c | 839 (P2ROUNDUP(m_total(MC_MBUF), NMBPCL)/NMBPCL)); 1022 maxslabgrp = P2ROUNDUP(nmbclusters, NSLABSPMB) / NSLABSPMB; 1110 mbuf_mtypes = (mbuf_mtypes_t *)P2ROUNDUP((intptr_t)buf, CPU_CACHE_SIZE); 4608 P2ROUNDUP((m)->m_data, NBPG) < ((uintptr_t)(m)->m_data + (m)->m_len)))) 4631 P2ROUNDUP(data, NBPG) < (data + len0)) 4632 len = P2ROUNDUP(data, NBPG) - data;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 845 p = P2ROUNDUP(p, align); /* and now we're aligned */
|
H A D | dtrace.c | 1485 ksize += P2ROUNDUP(key[i].dttk_size, sizeof (uint64_t)); 1632 kdata += P2ROUNDUP(kesize, sizeof (uint64_t)); 3068 uintptr_t dest = P2ROUNDUP(mstate->dtms_scratch_ptr, 8); 4861 uintptr_t ptr = P2ROUNDUP(mstate->dtms_scratch_ptr, 8); 5172 fps = (uint64_t *)P2ROUNDUP(mstate->dtms_scratch_ptr, 8); 8487 ksize += P2ROUNDUP(key[i].dttk_size, sizeof (uint64_t)); 8514 size = P2ROUNDUP(size, sizeof (uint64_t)); 9482 size = P2ROUNDUP(size, (uint32_t)(sizeof (uintptr_t)));
|
Completed in 77 milliseconds