usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2178
assert(IS_P2ALIGNED(ipAddrEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2180
assert(IS_P2ALIGNED(ipRouteEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2182
assert(IS_P2ALIGNED(ipNetToMediaEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2184
assert(IS_P2ALIGNED(ipMemberEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2186
assert(IS_P2ALIGNED(ipGroupSourceEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2188
assert(IS_P2ALIGNED(ipRouteAttributeSize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2190
assert(IS_P2ALIGNED(transportMLPSize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2199
assert(IS_P2ALIGNED(vifctlSize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2201
assert(IS_P2ALIGNED(mfcctlSize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2217
assert(IS_P2ALIGNED(ipv6IfStatsEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2219
assert(IS_P2ALIGNED(ipv6AddrEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2221
assert(IS_P2ALIGNED(ipv6RouteEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2223
assert(IS_P2ALIGNED(ipv6NetToMediaEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2225
assert(IS_P2ALIGNED(ipv6MemberEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2227
assert(IS_P2ALIGNED(ipv6GroupSourceEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2237
assert(IS_P2ALIGNED(ipv6IfIcmpEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2246
assert(IS_P2ALIGNED(tcpConnEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2248
assert(IS_P2ALIGNED(tcp6ConnEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2257
assert(IS_P2ALIGNED(udpEntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
2259
assert(IS_P2ALIGNED(udp6EntrySize,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
7768
!IS_P2ALIGNED(psi->si_size, sizeof (psi)))
usr/src/cmd/cmd-inet/usr.lib/pppoe/common.c
154
assert(dptr != NULL && IS_P2ALIGNED(dptr, sizeof (poep_t *)));
usr/src/cmd/cmd-inet/usr.lib/pppoe/common.c
175
if (poep == NULL || !IS_P2ALIGNED(poep, sizeof (uint16_t)) ||
usr/src/cmd/cmd-inet/usr.sbin/in.routed/table.c
1850
if (!IS_P2ALIGNED(tp->rtmex_len, sizeof (uint32_t)) ||
usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ikeadm.c
1914
assert(IS_P2ALIGNED(p1klen, 8));
usr/src/cmd/cmd-inet/usr.sbin/route.c
636
assert(IS_P2ALIGNED(ipRouteEntrySize,
usr/src/cmd/cmd-inet/usr.sbin/route.c
673
assert(IS_P2ALIGNED(ipv6RouteEntrySize,
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.c
1173
assert(IS_P2ALIGNED(start, psz));
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_dhcp.c
429
if (IS_P2ALIGNED(start,
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_dhcp.c
679
if (IS_P2ALIGNED(*opt, sizeof (ushort_t)))
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_dhcp.c
688
if (IS_P2ALIGNED(*opt, sizeof (ulong_t)))
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ipsec.c
118
if (!IS_P2ALIGNED(hdr, 4)) {
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ipsec.c
63
if (!IS_P2ALIGNED(hdr, 4)) {
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_sctp.c
1078
if (!IS_P2ALIGNED(sctp, SCTP_ALIGN)) {
usr/src/cmd/fm/fmd/common/fmd_ckpt.c
224
if (!IS_P2ALIGNED(ckp->ckp_hdr->fcfh_secoff, sizeof (uint64_t)) ||
usr/src/cmd/fm/fmd/common/fmd_ckpt.c
225
!IS_P2ALIGNED(ckp->ckp_hdr->fcfh_secsize, sizeof (uint64_t)))
usr/src/cmd/zdb/zdb.c
6037
if (!IS_P2ALIGNED(size, DEV_BSIZE))
usr/src/cmd/zdb/zdb.c
6039
if (!IS_P2ALIGNED(offset, DEV_BSIZE))
usr/src/cmd/ztest/ztest.c
1510
ASSERT(IS_P2ALIGNED((char *)end - (char *)db->db_data, 8));
usr/src/common/crypto/aes/aes_impl.c
1607
if (IS_P2ALIGNED(cipherKey, sizeof (uint64_t))) {
usr/src/common/crypto/aes/aes_modes.c
61
if (IS_P2ALIGNED(in, sizeof (uint64_t))) {
usr/src/common/crypto/blowfish/blowfish_impl.c
385
if (IS_P2ALIGNED(block, sizeof (uint32_t))) {
usr/src/common/crypto/blowfish/blowfish_impl.c
435
if (IS_P2ALIGNED(out_block, sizeof (uint32_t))) {
usr/src/common/crypto/blowfish/blowfish_impl.c
480
if (IS_P2ALIGNED(block, sizeof (uint32_t))) {
usr/src/common/crypto/blowfish/blowfish_impl.c
530
if (IS_P2ALIGNED(out_block, sizeof (uint32_t))) {
usr/src/common/crypto/blowfish/blowfish_impl.c
704
if (IS_P2ALIGNED(in, sizeof (uint32_t)) &&
usr/src/common/crypto/blowfish/blowfish_impl.c
705
IS_P2ALIGNED(out, sizeof (uint32_t))) {
usr/src/common/crypto/blowfish/blowfish_impl.c
719
if (IS_P2ALIGNED(dst, sizeof (uint32_t)) &&
usr/src/common/crypto/blowfish/blowfish_impl.c
720
IS_P2ALIGNED(data, sizeof (uint32_t))) {
usr/src/common/crypto/des/des_impl.c
1012
if (IS_P2ALIGNED(dst, sizeof (uint32_t)) &&
usr/src/common/crypto/des/des_impl.c
1013
IS_P2ALIGNED(data, sizeof (uint32_t))) {
usr/src/common/crypto/des/des_impl.c
517
if (IS_P2ALIGNED(block, sizeof (uint64_t)) &&
usr/src/common/crypto/des/des_impl.c
518
IS_P2ALIGNED(out_block, sizeof (uint64_t))) {
usr/src/common/crypto/des/des_impl.c
579
if (IS_P2ALIGNED(block, sizeof (uint64_t)) &&
usr/src/common/crypto/des/des_impl.c
580
IS_P2ALIGNED(out_block, sizeof (uint64_t))) {
usr/src/common/crypto/des/des_impl.c
737
if (!IS_P2ALIGNED(key, sizeof (uint64_t))) {
usr/src/common/crypto/des/des_impl.c
883
if (IS_P2ALIGNED(cipherKey, sizeof (uint64_t))) {
usr/src/common/crypto/des/des_impl.c
997
if (IS_P2ALIGNED(in, sizeof (uint32_t)) &&
usr/src/common/crypto/des/des_impl.c
998
IS_P2ALIGNED(out, sizeof (uint32_t))) {
usr/src/common/crypto/modes/ctr.c
126
!IS_P2ALIGNED(in, sizeof (uint32_t)) &&
usr/src/common/crypto/modes/ctr.c
127
!IS_P2ALIGNED(out, sizeof (uint32_t)) &&
usr/src/common/crypto/modes/ctr.c
128
!IS_P2ALIGNED(keyp, sizeof (uint32_t))) {
usr/src/common/crypto/modes/ctr.c
135
IS_P2ALIGNED(in, sizeof (uint32_t)) &&
usr/src/common/crypto/modes/ctr.c
136
IS_P2ALIGNED(out, sizeof (uint32_t)) &&
usr/src/common/crypto/modes/ctr.c
137
IS_P2ALIGNED(keyp, sizeof (uint32_t))) {
usr/src/common/crypto/sha1/sha1.c
1055
if (IS_P2ALIGNED(output, sizeof (uint32_t))) {
usr/src/common/crypto/sha1/sha1.c
288
if (!IS_P2ALIGNED(&input[i], sizeof (uint32_t))) {
usr/src/common/crypto/sha2/sha2.c
632
if (IS_P2ALIGNED(output, sizeof (uint32_t))) {
usr/src/common/crypto/sha2/sha2.c
657
if (IS_P2ALIGNED(output, sizeof (uint64_t))) {
usr/src/common/inet/inet_hash.c
165
ASSERT(IS_P2ALIGNED(mp->b_rptr, sizeof (uint16_t)));
usr/src/common/zfs/zfs_fletcher.c
478
ASSERT(IS_P2ALIGNED(buf, sizeof (uint32_t)));
usr/src/common/zfs/zfs_fletcher.c
479
ASSERT(IS_P2ALIGNED(size, sizeof (uint32_t)));
usr/src/common/zfs/zfs_fletcher.c
526
ASSERT(IS_P2ALIGNED(buf, sizeof (uint32_t)));
usr/src/common/zfs/zfs_fletcher.c
527
ASSERT(IS_P2ALIGNED(size, sizeof (uint32_t)));
usr/src/common/zfs/zfs_fletcher.c
848
ASSERT(IS_P2ALIGNED(size, sizeof (uint32_t)));
usr/src/lib/libnsl/rpc/svc_dg.c
294
!IS_P2ALIGNED(olen, sizeof (t_uscalar_t)))
usr/src/lib/libumem/common/umem.c
3205
if (IS_P2ALIGNED(cache_size, 64))
usr/src/lib/libumem/common/umem.c
3207
if (IS_P2ALIGNED(cache_size, pagesize))
usr/src/test/libc-tests/tests/posix_memalign.c
60
VERIFY3B(IS_P2ALIGNED(buf, sizeof (void *)), ==, B_TRUE);
usr/src/uts/common/crypto/io/blowfish.c
324
if (IS_P2ALIGNED(in, sizeof (uint64_t))) {
usr/src/uts/common/crypto/io/ecc.c
1190
ASSERT(IS_P2ALIGNED(mechanism->cm_param, sizeof (uint64_t)));
usr/src/uts/common/crypto/io/md5_mod.c
116
if (IS_P2ALIGNED((m)->cm_param, sizeof (ulong_t))) \
usr/src/uts/common/crypto/io/sha1_mod.c
75
if (IS_P2ALIGNED((m)->cm_param, sizeof (ulong_t))) \
usr/src/uts/common/crypto/io/sha2_mod.c
73
if (IS_P2ALIGNED((m)->cm_param, sizeof (ulong_t))) \
usr/src/uts/common/des/des_crypt.c
497
if (IS_P2ALIGNED(in, sizeof (uint64_t))) {
usr/src/uts/common/dtrace/dtrace.c
10732
ASSERT(IS_P2ALIGNED(aggbase,
usr/src/uts/common/dtrace/dtrace.c
13312
if (!IS_P2ALIGNED(taddr, sizeof (uint64_t))) {
usr/src/uts/common/dtrace/dtrace.c
13422
if (!IS_P2ALIGNED(dof->dofh_secoff, sizeof (uint64_t))) {
usr/src/uts/common/dtrace/dtrace.c
13427
if (!IS_P2ALIGNED(dof->dofh_secsize, sizeof (uint64_t))) {
usr/src/uts/common/fs/nfs/nfs4_srv_attr.c
825
ASSERT(IS_P2ALIGNED(wirefh->nfs_fh4_val, sizeof (uint32_t)));
usr/src/uts/common/fs/proc/prsubr.c
4781
ASSERT(IS_P2ALIGNED(saddr, PAGESIZE));
usr/src/uts/common/fs/proc/prsubr.c
4782
ASSERT(IS_P2ALIGNED(eaddr, PAGESIZE));
usr/src/uts/common/fs/proc/prsubr.c
4786
ASSERT(pagesize == -1 || IS_P2ALIGNED(pagesize, pagesize));
usr/src/uts/common/fs/proc/prsubr.c
4797
ASSERT(IS_P2ALIGNED(saddr, pagesize));
usr/src/uts/common/fs/zfs/dmu_tx.c
383
if (!IS_P2ALIGNED(off, 1 << dn->dn_datablkshift))
usr/src/uts/common/fs/zfs/dmu_tx.c
386
if (!IS_P2ALIGNED(off + len, 1 << dn->dn_datablkshift))
usr/src/uts/common/fs/zfs/dnode.c
2125
ASSERT(IS_P2ALIGNED(off, blksz));
usr/src/uts/common/fs/zfs/dnode.c
2126
ASSERT(trunc || IS_P2ALIGNED(len, blksz));
usr/src/uts/common/fs/zfs/sa.c
571
ASSERT(IS_P2ALIGNED(full_space, 8));
usr/src/uts/common/fs/zfs/sa.c
729
ASSERT(IS_P2ALIGNED(data_start, 8));
usr/src/uts/common/fs/zfs/sa.c
730
ASSERT(IS_P2ALIGNED(buf_space, 8));
usr/src/uts/common/fs/zfs/sys/arc.h
48
ASSERT(IS_P2ALIGNED(x, 1U << SPA_MINBLOCKSHIFT)); \
usr/src/uts/common/fs/zfs/sys/arc.h
53
ASSERT(IS_P2ALIGNED((x), 1U << SPA_MINBLOCKSHIFT)); \
usr/src/uts/common/fs/zfs/sys/arc_impl.h
300
CTASSERT(IS_P2ALIGNED(sizeof (l2arc_log_blk_phys_t),
usr/src/uts/common/fs/zfs/sys/bitops.h
76
ASSERT3U(IS_P2ALIGNED(val, 1U << shift), !=, B_FALSE); \
usr/src/uts/common/fs/zfs/sys/bitops.h
81
ASSERT3U(IS_P2ALIGNED(val, 1ULL << shift), !=, B_FALSE); \
usr/src/uts/common/fs/zfs/sys/range_tree.h
260
ASSERT(IS_P2ALIGNED(start, 1ULL << rt->rt_shift));
usr/src/uts/common/fs/zfs/sys/range_tree.h
268
ASSERT(IS_P2ALIGNED(end, 1ULL << rt->rt_shift));
usr/src/uts/common/fs/zfs/sys/range_tree.h
275
ASSERT(IS_P2ALIGNED(fill, 1ULL << rt->rt_shift));
usr/src/uts/common/fs/zfs/vdev_indirect.c
1124
IS_P2ALIGNED(inner_size, 2 * SPA_MINBLOCKSIZE)) {
usr/src/uts/common/fs/zfs/zio.c
156
if (arc_watch && !IS_P2ALIGNED(size, PAGESIZE))
usr/src/uts/common/fs/zfs/zio.c
161
} else if (IS_P2ALIGNED(size, p2 >> 2)) {
usr/src/uts/common/inet/ip/ipsecah.c
3663
if (IS_P2ALIGNED(mp->b_rptr, sizeof (uint32_t))) {
usr/src/uts/common/inet/ip/ipsecesp.c
927
if (IS_P2ALIGNED(data_mp->b_rptr, sizeof (uint32_t)) &&
usr/src/uts/common/inet/ip/ipsecesp.c
928
IS_P2ALIGNED(ivlen, sizeof (uint32_t))) {
usr/src/uts/common/inet/ip/ipsecesp.c
935
ASSERT(IS_P2ALIGNED(dst, sizeof (uint32_t)) &&
usr/src/uts/common/inet/ip/ipsecesp.c
936
IS_P2ALIGNED(src, sizeof (uint32_t)));
usr/src/uts/common/inet/ip/spdsock.c
94
#define ALIGNED64(x) IS_P2ALIGNED((x), sizeof (uint64_t))
usr/src/uts/common/inet/udp/udp.c
387
if (!IS_P2ALIGNED(mp->b_rptr, sizeof (uint16_t)))
usr/src/uts/common/io/bridge.c
1743
if (DB_REF(mp) > 1 || !IS_P2ALIGNED(mp->b_rptr, sizeof (uint16_t)) ||
usr/src/uts/common/io/dld/dld_drv.c
821
ASSERT(IS_P2ALIGNED(rangep, sizeof (uint_t)));
usr/src/uts/common/io/dld/dld_proto.c
1107
!IS_P2ALIGNED(off, sizeof (uint32_t))) {
usr/src/uts/common/io/dld/dld_proto.c
1246
if (!MBLKIN(mp, off, len) || !IS_P2ALIGNED(off, sizeof (uint16_t))) {
usr/src/uts/common/io/mac/mac_client.c
4452
ASSERT(IS_P2ALIGNED(mp->b_rptr, sizeof (uint16_t)));
usr/src/uts/common/io/mac/mac_util.c
1934
ASSERT(IS_P2ALIGNED(mp->b_rptr, sizeof (uint16_t)));
usr/src/uts/common/io/physmem.c
362
if (!IS_P2ALIGNED(base_pa, PAGESIZE))
usr/src/uts/common/io/physmem.c
364
if (!IS_P2ALIGNED(len, PAGESIZE))
usr/src/uts/common/io/physmem.c
366
if (uvaddr != NULL && !IS_P2ALIGNED(uvaddr, PAGESIZE))
usr/src/uts/common/io/physmem.c
469
if (!IS_P2ALIGNED(req_paddr, PAGESIZE))
usr/src/uts/common/io/ppp/sppptun/sppptun.c
2094
if ((!IS_P2ALIGNED(mp->b_rptr, sizeof (uint16_t)) ||
usr/src/uts/common/io/ppp/sppptun/sppptun.c
819
!IS_P2ALIGNED(mp->b_rptr, sizeof (ptc))) {
usr/src/uts/common/io/sata/impl/sata.c
14221
if (IS_P2ALIGNED(bp->b_un.b_addr,
usr/src/uts/common/io/sata/impl/sata.c
14275
ASSERT(IS_P2ALIGNED(spx->txlt_tmp_buf,
usr/src/uts/common/io/scsi/adapters/lmrc/lmrc_ddi.c
986
VERIFY(IS_P2ALIGNED(&(((struct scsi_arq_status *)cmd->mpt_sense)
usr/src/uts/common/io/sfxge/efsys.h
167
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_dword_t))); \
usr/src/uts/common/io/sfxge/efsys.h
185
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_qword_t))); \
usr/src/uts/common/io/sfxge/efsys.h
206
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_oword_t))); \
usr/src/uts/common/io/sfxge/efsys.h
233
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_dword_t))); \
usr/src/uts/common/io/sfxge/efsys.h
251
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_qword_t))); \
usr/src/uts/common/io/sfxge/efsys.h
272
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_oword_t))); \
usr/src/uts/common/io/sfxge/efsys.h
313
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_dword_t))); \
usr/src/uts/common/io/sfxge/efsys.h
338
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_qword_t))); \
usr/src/uts/common/io/sfxge/efsys.h
362
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_oword_t))); \
usr/src/uts/common/io/sfxge/efsys.h
396
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_dword_t))); \
usr/src/uts/common/io/sfxge/efsys.h
421
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_qword_t))); \
usr/src/uts/common/io/sfxge/efsys.h
447
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_qword_t))); \
usr/src/uts/common/io/sfxge/efsys.h
462
ASSERT(IS_P2ALIGNED(_offset, sizeof (efx_oword_t))); \
usr/src/uts/common/io/softmac/softmac_fp.c
488
!IS_P2ALIGNED(off, sizeof (uint32_t))) {
usr/src/uts/common/io/tl.c
2329
if (!IS_P2ALIGNED(mp->b_cont->b_rptr, sizeof (uint32_t))) {
usr/src/uts/common/io/trill.c
399
!IS_P2ALIGNED(mp->b_rptr, TRILL_HDR_ALIGN)) &&
usr/src/uts/common/ktli/t_krcvudat.c
209
if (!IS_P2ALIGNED(bp->b_rptr, sizeof (uint32_t)))
usr/src/uts/common/os/cpu_uarray.c
38
VERIFY(IS_P2ALIGNED(cua->cu_vals, CUA_ALIGN));
usr/src/uts/common/os/dkioc_free_util.c
177
if (!IS_P2ALIGNED(dfi->dfi_max_bytes, bsize)) {
usr/src/uts/common/os/dkioc_free_util.c
183
if (dfi->dfi_align == 0 || !IS_P2ALIGNED(dfi->dfi_align, bsize)) {
usr/src/uts/common/os/dkioc_free_util.c
189
if (!IS_P2ALIGNED(dfi->dfi_max_ext_bytes, bsize)) {
usr/src/uts/common/os/exec.c
1435
ASSERT(IS_P2ALIGNED(zfodbase + zfodlen, pgsz));
usr/src/uts/common/os/exec.c
1437
if (IS_P2ALIGNED(zfodbase, pgsz)) {
usr/src/uts/common/os/grow.c
173
if (addr >= p->p_bssbase && brkend > addr && IS_P2ALIGNED(len, pgsz)) {
usr/src/uts/common/os/grow.c
283
if (IS_P2ALIGNED(p->p_bssbase, pgsz) || ova > rbss) {
usr/src/uts/common/os/grow.c
339
ASSERT(IS_P2ALIGNED(oldsize, PAGESIZE));
usr/src/uts/common/os/grow.c
340
ASSERT(IS_P2ALIGNED(newsize, PAGESIZE));
usr/src/uts/common/os/grow.c
412
if (addr >= saddr && growend > addr && IS_P2ALIGNED(len, pgsz)) {
usr/src/uts/common/os/grow.c
489
if (IS_P2ALIGNED(p->p_usrstack, pgsz) || oldsp < austk) {
usr/src/uts/common/os/kmem.c
4209
if (IS_P2ALIGNED(cache_size, 64))
usr/src/uts/common/os/kmem.c
4211
if (IS_P2ALIGNED(cache_size, PAGESIZE))
usr/src/uts/common/os/mem_cage.c
1334
ASSERT(IS_P2ALIGNED(rootpfn, npgs));
usr/src/uts/common/os/mem_config.c
2570
ASSERT(IS_P2ALIGNED((uint64_t)(uintptr_t)va, PAGESIZE));
usr/src/uts/common/os/vmem.c
1120
IS_P2ALIGNED(vaddr, align));
usr/src/uts/common/rpc/clnt_clts.c
2156
if ((IS_P2ALIGNED(resp->b_rptr, sizeof (uint32_t))) &&
usr/src/uts/common/rpc/clnt_cots.c
3251
if ((IS_P2ALIGNED(mp->b_rptr, sizeof (uint32_t))) &&
usr/src/uts/common/rpc/rpcmod.c
2327
!IS_P2ALIGNED(mp->b_rptr, sizeof (uint32_t))) {
usr/src/uts/common/rpc/rpcmod.c
2503
!IS_P2ALIGNED(rptr, sizeof (uint32_t)))
usr/src/uts/common/rpc/xdr_mblk.c
161
if (!IS_P2ALIGNED(m->b_rptr, sizeof (int32_t)) ||
usr/src/uts/common/rpc/xdr_mblk.c
199
while (!IS_P2ALIGNED(m->b_wptr, sizeof (int32_t)) ||
usr/src/uts/common/rpc/xdr_mblk.c
579
if (!IS_P2ALIGNED(*mptr, sizeof (int32_t)) ||
usr/src/uts/common/rpc/xdr_mblk.c
627
if (!IS_P2ALIGNED(m->b_rptr, sizeof (int32_t)))
usr/src/uts/common/rpc/xdr_rdma.c
688
if (!IS_P2ALIGNED(buf, sizeof (int32_t)))
usr/src/uts/common/syscall/memcntl.c
228
if (!IS_P2ALIGNED(addr, pgsz) ||
usr/src/uts/common/syscall/memcntl.c
229
!IS_P2ALIGNED(len, pgsz)) {
usr/src/uts/common/syscall/memcntl.c
269
if (!IS_P2ALIGNED(p->p_brkbase + p->p_brksize, pgsz)) {
usr/src/uts/common/syscall/memcntl.c
279
ASSERT(IS_P2ALIGNED(len, pgsz));
usr/src/uts/common/syscall/memcntl.c
310
if (!IS_P2ALIGNED(p->p_usrstack - p->p_stksize, pgsz)) {
usr/src/uts/common/syscall/memcntl.c
329
ASSERT(IS_P2ALIGNED(addr, pgsz));
usr/src/uts/common/syscall/memcntl.c
330
ASSERT(IS_P2ALIGNED(len, pgsz));
usr/src/uts/common/vm/seg_spt.c
1174
if (!IS_P2ALIGNED(an_idx, npgs)) {
usr/src/uts/common/vm/seg_spt.c
2494
ASSERT(IS_P2ALIGNED(sptaddr, share_sz) && IS_P2ALIGNED(len, share_sz));
usr/src/uts/common/vm/seg_spt.c
2585
ASSERT(IS_P2ALIGNED(lp_addr, pg_sz));
usr/src/uts/common/vm/seg_spt.c
601
if (!IS_P2ALIGNED(amp->size, share_sz)) {
usr/src/uts/common/vm/seg_spt.c
870
ASSERT(IS_P2ALIGNED(pgs, pgs));
usr/src/uts/common/vm/seg_vn.c
1924
if (!IS_P2ALIGNED(addr, pgsz) || !IS_P2ALIGNED(len, pgsz)) {
usr/src/uts/common/vm/seg_vn.c
3194
ASSERT(IS_P2ALIGNED(page_pptonum(repl), curnpgs));
usr/src/uts/common/vm/seg_vn.c
3259
if (!IS_P2ALIGNED(pfn, totnpgs)) {
usr/src/uts/common/vm/seg_vn.c
3286
if (!IS_P2ALIGNED(pfn, curnpgs) ||
usr/src/uts/common/vm/seg_vn.c
3287
!IS_P2ALIGNED(i, curnpgs)) {
usr/src/uts/common/vm/seg_vn.c
3436
IS_P2ALIGNED(pfn, pages)) {
usr/src/uts/common/vm/seg_vn.c
3453
if (!IS_P2ALIGNED(pfn, ppages)) {
usr/src/uts/common/vm/seg_vn.c
3463
if (!IS_P2ALIGNED(pfn, ppages)) {
usr/src/uts/common/vm/seg_vn.c
3617
ASSERT(IS_P2ALIGNED(pfn, ppages));
usr/src/uts/common/vm/seg_vn.c
3619
ASSERT(IS_P2ALIGNED(pfn, ppages));
usr/src/uts/common/vm/seg_vn.c
3698
ASSERT(IS_P2ALIGNED(page_pptonum(pp), ppages));
usr/src/uts/common/vm/seg_vn.c
3711
ASSERT(IS_P2ALIGNED(page_pptonum(pp), ppages));
usr/src/uts/common/vm/seg_vn.c
3878
ASSERT(IS_P2ALIGNED(a, maxpgsz));
usr/src/uts/common/vm/seg_vn.c
3879
ASSERT(amp == NULL || IS_P2ALIGNED(aindx, maxpages));
usr/src/uts/common/vm/seg_vn.c
3937
if (!IS_P2ALIGNED(a, ppgsz) ||
usr/src/uts/common/vm/seg_vn.c
3951
if (IS_P2ALIGNED(a, maxpgsz) && amp != NULL) {
usr/src/uts/common/vm/seg_vn.c
3952
ASSERT(IS_P2ALIGNED(aindx, maxpages));
usr/src/uts/common/vm/seg_vn.c
3984
ASSERT(!brkcow || IS_P2ALIGNED(a, maxpgsz));
usr/src/uts/common/vm/seg_vn.c
3985
ASSERT(!tron || IS_P2ALIGNED(a, maxpgsz));
usr/src/uts/common/vm/seg_vn.c
3987
if (svd->pageprot != 0 && IS_P2ALIGNED(a, maxpgsz)) {
usr/src/uts/common/vm/seg_vn.c
4159
ASSERT(IS_P2ALIGNED(a, maxpgsz));
usr/src/uts/common/vm/seg_vn.c
4173
ASSERT(IS_P2ALIGNED(a, maxpgsz));
usr/src/uts/common/vm/seg_vn.c
4174
ASSERT(IS_P2ALIGNED(aindx, maxpages));
usr/src/uts/common/vm/seg_vn.c
4239
IS_P2ALIGNED(pfn, pages)) {
usr/src/uts/common/vm/seg_vn.c
432
if (pgsz <= PAGESIZE || !IS_P2ALIGNED(pgsz, pgsz)) {
usr/src/uts/common/vm/seg_vn.c
4329
!IS_P2ALIGNED(pfn, pages)) ||
usr/src/uts/common/vm/seg_vn.c
4399
ASSERT(IS_P2ALIGNED(pfn, pages));
usr/src/uts/common/vm/seg_vn.c
4571
ASSERT(IS_P2ALIGNED(a, pgsz));
usr/src/uts/common/vm/seg_vn.c
4572
ASSERT(IS_P2ALIGNED(lpgeaddr, pgsz));
usr/src/uts/common/vm/seg_vn.c
4673
ASSERT(IS_P2ALIGNED(a, maxpgsz));
usr/src/uts/common/vm/seg_vn.c
4716
if (svd->pageprot != 0 && IS_P2ALIGNED(a, maxpgsz)) {
usr/src/uts/common/vm/seg_vn.c
4726
if (adjszc_chk && IS_P2ALIGNED(a, maxpgsz) &&
usr/src/uts/common/vm/seg_vn.c
4732
ASSERT(IS_P2ALIGNED(aindx, pages));
usr/src/uts/common/vm/seg_vn.c
4844
(IS_P2ALIGNED(a, pgsz) && IS_P2ALIGNED(lpgeaddr, pgsz)));
usr/src/uts/common/vm/seg_vn.c
4874
ASSERT(IS_P2ALIGNED(a, pgsz));
usr/src/uts/common/vm/seg_vn.c
4875
ASSERT(IS_P2ALIGNED(lpgeaddr, pgsz));
usr/src/uts/common/vm/seg_vn.c
5758
ASSERT(IS_P2ALIGNED(pgcnt, pgcnt));
usr/src/uts/common/vm/seg_vn.c
5759
if (!IS_P2ALIGNED(addr, pgsz) || !IS_P2ALIGNED(len, pgsz)) {
usr/src/uts/common/vm/seg_vn.c
591
if (!IS_P2ALIGNED(seg->s_base, pgsz) ||
usr/src/uts/common/vm/seg_vn.c
592
!IS_P2ALIGNED(seg->s_size, pgsz)) {
usr/src/uts/common/vm/seg_vn.c
5930
IS_P2ALIGNED(anon_idx, pgcnt));
usr/src/uts/common/vm/seg_vn.c
5948
if (IS_P2ALIGNED(anon_idx, pgcnt) &&
usr/src/uts/common/vm/seg_vn.c
6021
ASSERT(seg->s_szc == 0 || IS_P2ALIGNED(len, pgsz));
usr/src/uts/common/vm/seg_vn.c
609
if (!IS_P2ALIGNED(anum, pgcnt)) {
usr/src/uts/common/vm/seg_vn.c
6107
if (!IS_P2ALIGNED(addr, pgsz) ||
usr/src/uts/common/vm/seg_vn.c
6108
(!IS_P2ALIGNED(eaddr, pgsz) &&
usr/src/uts/common/vm/seg_vn.c
6117
if (!IS_P2ALIGNED(an_idx, pgcnt)) {
usr/src/uts/common/vm/seg_vn.c
6246
if (!IS_P2ALIGNED(eaddr, pgsz)) {
usr/src/uts/common/vm/seg_vn.c
6291
if (!IS_P2ALIGNED(svd->anon_index, pgcnt)) {
usr/src/uts/common/vm/seg_vn.c
6503
ASSERT(IS_P2ALIGNED(pgcnt, pgcnt));
usr/src/uts/common/vm/seg_vn.c
6504
ASSERT(amp == NULL || IS_P2ALIGNED(anon_idx, pgcnt));
usr/src/uts/common/vm/seg_vn.c
6561
ASSERT(IS_P2ALIGNED(page_pptonum(ppa[i]), pgcnt));
usr/src/uts/common/vm/seg_vn.c
6680
ASSERT(IS_P2ALIGNED(nsvd->anon_index, pgcnt));
usr/src/uts/common/vm/seg_vn.c
6826
if (!IS_P2ALIGNED(ta, tpgsz) || !IS_P2ALIGNED(te, tpgsz)) {
usr/src/uts/common/vm/seg_vn.c
6862
if (!IS_P2ALIGNED(eaddr, tpgsz)) {
usr/src/uts/common/vm/seg_vn.c
760
IS_P2ALIGNED(pseg->s_base, pgsz) &&
usr/src/uts/common/vm/seg_vn.c
761
IS_P2ALIGNED(pseg->s_size, pgsz)));
usr/src/uts/common/vm/seg_vn.c
804
IS_P2ALIGNED(nseg->s_base, pgsz) &&
usr/src/uts/common/vm/seg_vn.c
805
IS_P2ALIGNED(nseg->s_size, pgsz)));
usr/src/uts/common/vm/vm_anon.c
1171
ASSERT(IS_P2ALIGNED(pgcnt, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1172
ASSERT(IS_P2ALIGNED(an_idx, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1249
ASSERT(IS_P2ALIGNED(curpgcnt, curpgcnt));
usr/src/uts/common/vm/vm_anon.c
1250
ASSERT(IS_P2ALIGNED(i, curpgcnt));
usr/src/uts/common/vm/vm_anon.c
1405
ASSERT(IS_P2ALIGNED(pgcnt, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1407
ASSERT(IS_P2ALIGNED(npages, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1408
ASSERT(IS_P2ALIGNED(old_idx, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1428
ASSERT(IS_P2ALIGNED(off, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1514
ASSERT(IS_P2ALIGNED(pgcnt, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1516
ASSERT(IS_P2ALIGNED(npages, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1517
ASSERT(IS_P2ALIGNED(an_idx, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1536
ASSERT(IS_P2ALIGNED(off, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1631
ASSERT(IS_P2ALIGNED(pgcnt, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1633
ASSERT(IS_P2ALIGNED(npages, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1634
ASSERT(IS_P2ALIGNED(an_idx, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1655
ASSERT(IS_P2ALIGNED(off, pgcnt));
usr/src/uts/common/vm/vm_anon.c
1811
if (!IS_P2ALIGNED(index, pgcnt) || npages < pgcnt) {
usr/src/uts/common/vm/vm_anon.c
2044
ASSERT(IS_P2ALIGNED(pgcnt, pgcnt));
usr/src/uts/common/vm/vm_anon.c
2045
ASSERT(IS_P2ALIGNED(start_idx, pgcnt));
usr/src/uts/common/vm/vm_anon.c
2572
ASSERT(IS_P2ALIGNED(pgcnt, pgcnt));
usr/src/uts/common/vm/vm_anon.c
2573
ASSERT(IS_P2ALIGNED(start_idx, pgcnt));
usr/src/uts/common/vm/vm_anon.c
2946
if (IS_P2ALIGNED(addr, pgsz) && pg_cnt <= npgs &&
usr/src/uts/common/vm/vm_anon.c
3012
ASSERT(IS_P2ALIGNED(pg_cnt, pg_cnt));
usr/src/uts/common/vm/vm_anon.c
3013
ASSERT(IS_P2ALIGNED(index, pg_cnt));
usr/src/uts/common/vm/vm_anon.c
3081
ASSERT(IS_P2ALIGNED(pgcnt, pgcnt));
usr/src/uts/common/vm/vm_anon.c
3082
ASSERT(IS_P2ALIGNED(sidx, pgcnt));
usr/src/uts/common/vm/vm_anon.c
3144
ASSERT(IS_P2ALIGNED(npgs, npgs));
usr/src/uts/common/vm/vm_anon.c
3204
ASSERT(IS_P2ALIGNED(pgcnt, pgcnt));
usr/src/uts/common/vm/vm_anon.c
3205
ASSERT(IS_P2ALIGNED(start_idx, pgcnt));
usr/src/uts/common/vm/vm_as.c
1424
ASSERT(IS_P2ALIGNED(addr, PAGESIZE));
usr/src/uts/common/vm/vm_as.c
1425
ASSERT(IS_P2ALIGNED(size, PAGESIZE));
usr/src/uts/common/vm/vm_as.c
1550
ASSERT(IS_P2ALIGNED(addr, PAGESIZE));
usr/src/uts/common/vm/vm_as.c
1551
ASSERT(IS_P2ALIGNED(size, PAGESIZE));
usr/src/uts/common/vm/vm_as.c
1642
ASSERT(IS_P2ALIGNED(addr, PAGESIZE));
usr/src/uts/common/vm/vm_as.c
1643
ASSERT(IS_P2ALIGNED(size, PAGESIZE));
usr/src/uts/common/vm/vm_as.c
2590
ASSERT(IS_P2ALIGNED(size, PAGESIZE));
usr/src/uts/common/vm/vm_as.c
2591
ASSERT(IS_P2ALIGNED(addr, PAGESIZE));
usr/src/uts/common/vm/vm_as.c
2815
ASSERT(IS_P2ALIGNED(size, PAGESIZE));
usr/src/uts/common/vm/vm_as.c
2816
ASSERT(IS_P2ALIGNED(addr, PAGESIZE));
usr/src/uts/common/vm/vm_as.c
2899
if (!IS_P2ALIGNED(addr, pgsz) || !IS_P2ALIGNED(size, pgsz)) {
usr/src/uts/common/vm/vm_as.c
3181
ASSERT(IS_P2ALIGNED(addr, PAGESIZE));
usr/src/uts/common/vm/vm_as.c
3182
ASSERT(IS_P2ALIGNED(size, PAGESIZE));
usr/src/uts/common/vm/vm_page.c
1138
if (!IS_P2ALIGNED(pfn, pages)) {
usr/src/uts/common/vm/vm_page.c
1189
if (!IS_P2ALIGNED(pfn, pages)) {
usr/src/uts/common/vm/vm_page.c
1195
if (!IS_P2ALIGNED(pfn, pages)) {
usr/src/uts/common/vm/vm_page.c
5188
if (!IS_P2ALIGNED(pfn, npgs)) {
usr/src/uts/common/vm/vm_page.c
5250
if (!IS_P2ALIGNED(pfn, npgs)) {
usr/src/uts/common/vm/vm_page.c
5489
if (!IS_P2ALIGNED(va, pgsz) ||
usr/src/uts/common/vm/vm_page.c
5490
!IS_P2ALIGNED(pfn, pages) ||
usr/src/uts/common/vm/vm_page.c
5632
if (!IS_P2ALIGNED(pfn, page_cnt)) {
usr/src/uts/common/vm/vm_page.c
649
if (!IS_P2ALIGNED(pnum, large)) {
usr/src/uts/common/vm/vm_page.c
684
ASSERT(IS_P2ALIGNED(pnum, large));
usr/src/uts/common/vm/vm_pagelist.c
1332
ASSERT(IS_P2ALIGNED(pp->p_pagenum, npgs));
usr/src/uts/common/vm/vm_pagelist.c
1992
ASSERT(IS_P2ALIGNED(pfnum, new_npgs));
usr/src/uts/i86pc/os/fakebop.c
315
while (IS_P2ALIGNED(pa, pgsize) && IS_P2ALIGNED(va, pgsize) &&
usr/src/uts/i86pc/os/pci_cfgacc_x86.c
203
if (IS_P2ALIGNED(req->offset, sz) &&
usr/src/uts/i86pc/vm/hat_i86.c
1777
ASSERT(IS_P2ALIGNED(pp->p_pagenum, pgcnt));
usr/src/uts/i86pc/vm/hat_i86.c
2183
if (!IS_P2ALIGNED(va, pgsize) ||
usr/src/uts/i86pc/vm/hat_i86.c
2185
!IS_P2ALIGNED(pfn_to_pa(pfn), pgsize))
usr/src/uts/i86pc/vm/hat_i86.c
2311
if (IS_P2ALIGNED(va, pgsize) &&
usr/src/uts/i86pc/vm/hat_i86.c
2313
IS_P2ALIGNED(pfn, mmu_btop(pgsize))) {
usr/src/uts/i86pc/vm/hat_i86.c
4611
ASSERT(IS_P2ALIGNED(pp->p_pagenum, pgcnt));
usr/src/uts/i86pc/vm/hat_i86.c
4942
ASSERT(IS_P2ALIGNED((uintptr_t)addr, MMU_PAGESIZE));
usr/src/uts/i86pc/vm/hat_i86.c
4964
ASSERT(IS_P2ALIGNED((uintptr_t)addr, MMU_PAGESIZE));
usr/src/uts/i86xpv/os/xen_machdep.c
1145
ASSERT(IS_P2ALIGNED(lsize, PAGESIZE));
usr/src/uts/intel/io/viona/viona_ring.c
340
if (!IS_P2ALIGNED(vrp->vrp_pa, malign))
usr/src/uts/intel/io/viona/viona_ring.c
343
if (!IS_P2ALIGNED(vrp->vrp_pa, LEGACY_VQ_ALIGN))
usr/src/uts/intel/os/desctbls.c
1018
ASSERT(IS_P2ALIGNED((uintptr_t)gdt, PAGESIZE));
usr/src/uts/intel/os/desctbls.c
958
ASSERT(IS_P2ALIGNED((uintptr_t)gdt, PAGESIZE));
usr/src/uts/intel/os/sysi86.c
703
ASSERT(IS_P2ALIGNED(ldt, PAGESIZE));
usr/src/uts/intel/os/sysi86.c
726
ASSERT(IS_P2ALIGNED(ldtsz, PAGESIZE));
usr/src/uts/intel/os/sysi86.c
826
ASSERT(IS_P2ALIGNED(nldt, PAGESIZE));
usr/src/uts/intel/sys/amdzen/smn.h
387
#define SMN_REG_IS_ALIGNED(x, size) IS_P2ALIGNED(SMN_REG_ADDR(x), size)
usr/src/uts/sfmmu/vm/hat_sfmmu.c
10943
IS_P2ALIGNED(vaddr, TTEBYTES(size)));
usr/src/uts/sfmmu/vm/hat_sfmmu.c
13834
if (!IS_P2ALIGNED(r_saddr, TTEBYTES(r_pgszc)) ||
usr/src/uts/sfmmu/vm/hat_sfmmu.c
13835
!IS_P2ALIGNED(r_size, TTEBYTES(r_pgszc))) {
usr/src/uts/sfmmu/vm/hat_sfmmu.c
2501
IS_P2ALIGNED(addr, mapsz) &&
usr/src/uts/sfmmu/vm/hat_sfmmu.c
2502
IS_P2ALIGNED(pp->p_pagenum, numpg)) {
usr/src/uts/sfmmu/vm/hat_sfmmu.c
3406
ASSERT(IS_P2ALIGNED(pfnum, npgs));
usr/src/uts/sfmmu/vm/hat_sfmmu.c
3881
ASSERT(IS_P2ALIGNED(rsaddr, TTEBYTES(ttesz)));
usr/src/uts/sfmmu/vm/hat_sfmmu.c
3882
ASSERT(IS_P2ALIGNED(rsz, TTEBYTES(ttesz)));
usr/src/uts/sfmmu/vm/hat_sfmmu.c
4037
ASSERT(IS_P2ALIGNED(addr, TTEBYTES(rgnp->rgn_pgszc)));
usr/src/uts/sfmmu/vm/hat_sfmmu.c
4038
ASSERT(IS_P2ALIGNED(len, TTEBYTES(rgnp->rgn_pgszc)));
usr/src/uts/sfmmu/vm/hat_sfmmu.c
4046
IS_P2ALIGNED(va, TTEBYTES(ttesz + 1))) {
usr/src/uts/sfmmu/vm/hat_sfmmu.c
4071
IS_P2ALIGNED((uintptr_t)va, TTEBYTES(ttesz)));
usr/src/uts/sfmmu/vm/hat_sfmmu.c
8274
ASSERT(IS_P2ALIGNED(lastpp->p_pagenum, TTEPAGES(sz)));
usr/src/uts/sparc/dtrace/dtrace_isa.c
379
!IS_P2ALIGNED((uintptr_t)fr, STACK_ALIGN))
usr/src/uts/sparc/dtrace/dtrace_isa.c
420
!IS_P2ALIGNED((uintptr_t)fr, STACK_ALIGN32))
usr/src/uts/sun4/os/startup.c
784
ASSERT(IS_P2ALIGNED(base, TTEBYTES(max_bootlp_tteszc)));
usr/src/uts/sun4/vm/vm_dep.c
537
if ((len >= pgsz) && IS_P2ALIGNED(addr, pgsz))
usr/src/uts/sun4u/io/pci/pci_tools.c
574
} else if (!IS_P2ALIGNED(phys_addr, size)) {
usr/src/uts/sun4u/io/pciex/pci_cfgacc_4u.c
47
if (IS_P2ALIGNED(req->offset, sz) &&
usr/src/uts/sun4u/io/px/px_tools_4u.c
266
if (!IS_P2ALIGNED(phys_addr, size)) {
usr/src/uts/sun4u/os/mach_startup.c
134
if (IS_P2ALIGNED((uintptr_t)fpras_chkfngrps_base, 64)) {
usr/src/uts/sun4u/serengeti/io/sgsbbc_iosram.c
425
if (IS_P2ALIGNED(sram_src, size) &&
usr/src/uts/sun4u/serengeti/io/sgsbbc_iosram.c
426
IS_P2ALIGNED(buf, size)) {
usr/src/uts/sun4u/serengeti/io/sgsbbc_iosram.c
447
if (IS_P2ALIGNED(sram_src, size) &&
usr/src/uts/sun4u/serengeti/io/sgsbbc_iosram.c
448
IS_P2ALIGNED(buf, size)) {
usr/src/uts/sun4u/vm/mach_sfmmu.c
162
ASSERT(IS_P2ALIGNED(tsbsz, tsbsz));
usr/src/uts/sun4u/vm/mach_sfmmu.c
163
ASSERT(IS_P2ALIGNED(va, tsbsz));
usr/src/uts/sun4v/io/dr_mem.c
82
(IS_P2ALIGNED((m)->addr, MA_ADDR) && IS_P2ALIGNED((m)->size, MA_SIZE))
usr/src/uts/sun4v/io/pciex/pci_cfgacc_4v.c
52
if (IS_P2ALIGNED(req->offset, sz) &&
usr/src/uts/sun4v/io/px/px_tools_4v.c
238
if (!IS_P2ALIGNED(prg_p->offset, size)) {
usr/src/uts/sun4v/io/px/px_tools_4v.c
367
if (!IS_P2ALIGNED(prg_p->offset, size)) {
usr/src/uts/sun4v/io/px/px_tools_4v.c
507
if (!IS_P2ALIGNED(prg.offset, size)) {
usr/src/uts/sun4v/os/memseg.c
118
if (!IS_P2ALIGNED((uint64_t)epp, PAGESIZE) &&
usr/src/uts/sun4v/os/memseg.c
134
ASSERT(IS_P2ALIGNED((uint64_t)pp, PAGESIZE));
usr/src/uts/sun4v/os/memseg.c
180
ASSERT(IS_P2ALIGNED((uint64_t)off, PAGESIZE));
usr/src/uts/sun4v/os/memseg.c
206
ASSERT(IS_P2ALIGNED((uint64_t)off, PAGESIZE));
usr/src/uts/sun4v/os/memseg.c
244
if (!IS_P2ALIGNED((uint64_t)pp, PAGESIZE) &&
usr/src/uts/sun4v/os/memseg.c
271
if (!IS_P2ALIGNED((uint64_t)epp, PAGESIZE) &&
usr/src/uts/sun4v/os/memseg.c
287
ASSERT(IS_P2ALIGNED((uint64_t)pp, PAGESIZE));
usr/src/uts/sun4v/os/memseg.c
93
if (!IS_P2ALIGNED((uint64_t)pp, PAGESIZE) &&
usr/src/uts/sun4v/os/mpo.c
195
ASSERT(IS_P2ALIGNED(ptob(base), TTEBYTES(TTE256M))); \
usr/src/uts/sun4v/os/mpo.c
196
ASSERT(IS_P2ALIGNED(ptob(end - base + 1), TTEBYTES(TTE256M))); \
usr/src/uts/sun4v/vm/mach_sfmmu.c
209
ASSERT(IS_P2ALIGNED(tsbsz, tsbsz));
usr/src/uts/sun4v/vm/mach_sfmmu.c
210
ASSERT(IS_P2ALIGNED(va, tsbsz));