Home
last modified time | relevance | path

Searched refs:IS_P2ALIGNED (Results 1 – 25 of 95) sorted by relevance

1234

/titanic_44/usr/src/uts/sun4v/os/
H A Dmemseg.c93 if (!IS_P2ALIGNED((uint64_t)pp, PAGESIZE) && in memseg_alloc_meta()
118 if (!IS_P2ALIGNED((uint64_t)epp, PAGESIZE) && in memseg_alloc_meta()
134 ASSERT(IS_P2ALIGNED((uint64_t)pp, PAGESIZE)); in memseg_alloc_meta()
180 ASSERT(IS_P2ALIGNED((uint64_t)off, PAGESIZE)); in memseg_free_meta()
206 ASSERT(IS_P2ALIGNED((uint64_t)off, PAGESIZE)); in memseg_get_metapfn()
244 if (!IS_P2ALIGNED((uint64_t)pp, PAGESIZE) && in memseg_remap_meta()
271 if (!IS_P2ALIGNED((uint64_t)epp, PAGESIZE) && in memseg_remap_meta()
287 ASSERT(IS_P2ALIGNED((uint64_t)pp, PAGESIZE)); in memseg_remap_meta()
/titanic_44/usr/src/common/net/wanboot/crypt/
H A Dcbc.c46 if (IS_P2ALIGNED(thisp, sizeof (uint32_t)) && in cbc_xorblock()
47 IS_P2ALIGNED(lastp, sizeof (uint32_t)) && in cbc_xorblock()
48 IS_P2ALIGNED(blocksize, sizeof (uint32_t))) { in cbc_xorblock()
73 if (!IS_P2ALIGNED(datalen, ch->blocklen)) { in cbc_encrypt()
101 if (!IS_P2ALIGNED(datalen, ch->blocklen)) { in cbc_decrypt()
H A Daes.c765 if (IS_P2ALIGNED(block, sizeof (uint32_t))) { in aes_encrypt()
922 if (IS_P2ALIGNED(block, sizeof (uint32_t))) { in aes_encrypt()
967 if (IS_P2ALIGNED(block, sizeof (uint32_t))) { in aes_decrypt()
1127 if (IS_P2ALIGNED(block, sizeof (uint32_t))) { in aes_decrypt()
1223 if (IS_P2ALIGNED(key, sizeof (uint32_t))) { in aes_key()
1278 if (IS_P2ALIGNED(key, sizeof (uint32_t))) { in aes_key()
1317 if (IS_P2ALIGNED(key, sizeof (uint32_t))) { in aes_key()
H A Ddes3.c153 if (IS_P2ALIGNED(key, sizeof (uint64_t))) { in des3_keycheck()
/titanic_44/usr/src/uts/common/syscall/
H A Dmemcntl.c227 if (!IS_P2ALIGNED(addr, pgsz) || in memcntl()
228 !IS_P2ALIGNED(len, pgsz)) { in memcntl()
268 if (!IS_P2ALIGNED(p->p_brkbase + p->p_brksize, pgsz)) { in memcntl()
278 ASSERT(IS_P2ALIGNED(len, pgsz)); in memcntl()
309 if (!IS_P2ALIGNED(p->p_usrstack - p->p_stksize, pgsz)) { in memcntl()
328 ASSERT(IS_P2ALIGNED(addr, pgsz)); in memcntl()
329 ASSERT(IS_P2ALIGNED(len, pgsz)); in memcntl()
/titanic_44/usr/src/common/crypto/blowfish/
H A Dblowfish_impl.c385 if (IS_P2ALIGNED(block, sizeof (uint32_t))) { in blowfish_encrypt_block()
435 if (IS_P2ALIGNED(out_block, sizeof (uint32_t))) { in blowfish_encrypt_block()
480 if (IS_P2ALIGNED(block, sizeof (uint32_t))) { in blowfish_decrypt_block()
530 if (IS_P2ALIGNED(out_block, sizeof (uint32_t))) { in blowfish_decrypt_block()
704 if (IS_P2ALIGNED(in, sizeof (uint32_t)) && in blowfish_copy_block()
705 IS_P2ALIGNED(out, sizeof (uint32_t))) { in blowfish_copy_block()
719 if (IS_P2ALIGNED(dst, sizeof (uint32_t)) && in blowfish_xor_block()
720 IS_P2ALIGNED(data, sizeof (uint32_t))) { in blowfish_xor_block()
/titanic_44/usr/src/common/crypto/des/
H A Ddes_impl.c514 if (IS_P2ALIGNED(block, sizeof (uint64_t)) && in des3_crunch_block()
515 IS_P2ALIGNED(out_block, sizeof (uint64_t))) { in des3_crunch_block()
573 if (IS_P2ALIGNED(block, sizeof (uint64_t)) && in des_crunch_block()
574 IS_P2ALIGNED(out_block, sizeof (uint64_t))) { in des_crunch_block()
731 if (!IS_P2ALIGNED(key, sizeof (uint64_t))) { in des23_keycheck()
877 if (IS_P2ALIGNED(cipherKey, sizeof (uint64_t))) { in des_init_keysched()
991 if (IS_P2ALIGNED(in, sizeof (uint32_t)) && in des_copy_block()
992 IS_P2ALIGNED(out, sizeof (uint32_t))) { in des_copy_block()
1006 if (IS_P2ALIGNED(dst, sizeof (uint32_t)) && in des_xor_block()
1007 IS_P2ALIGNED(data, sizeof (uint32_t))) { in des_xor_block()
/titanic_44/usr/src/uts/common/vm/
H A Dvm_anon.c1165 ASSERT(IS_P2ALIGNED(pgcnt, pgcnt)); in anon_decref_pages()
1166 ASSERT(IS_P2ALIGNED(an_idx, pgcnt)); in anon_decref_pages()
1243 ASSERT(IS_P2ALIGNED(curpgcnt, curpgcnt)); in anon_decref_pages()
1244 ASSERT(IS_P2ALIGNED(i, curpgcnt)); in anon_decref_pages()
1398 ASSERT(IS_P2ALIGNED(pgcnt, pgcnt)); in anon_dup_fill_holes()
1400 ASSERT(IS_P2ALIGNED(npages, pgcnt)); in anon_dup_fill_holes()
1401 ASSERT(IS_P2ALIGNED(old_idx, pgcnt)); in anon_dup_fill_holes()
1421 ASSERT(IS_P2ALIGNED(off, pgcnt)); in anon_dup_fill_holes()
1507 ASSERT(IS_P2ALIGNED(pgcnt, pgcnt)); in anon_fill_cow_holes()
1509 ASSERT(IS_P2ALIGNED(npages, pgcnt)); in anon_fill_cow_holes()
[all …]
H A Dseg_vn.c432 if (pgsz <= PAGESIZE || !IS_P2ALIGNED(pgsz, pgsz)) { in segvn_init()
589 if (!IS_P2ALIGNED(seg->s_base, pgsz) || in segvn_create()
590 !IS_P2ALIGNED(seg->s_size, pgsz)) { in segvn_create()
607 if (!IS_P2ALIGNED(anum, pgcnt)) { in segvn_create()
759 IS_P2ALIGNED(pseg->s_base, pgsz) && in segvn_create()
760 IS_P2ALIGNED(pseg->s_size, pgsz))); in segvn_create()
798 IS_P2ALIGNED(nseg->s_base, pgsz) && in segvn_create()
799 IS_P2ALIGNED(nseg->s_size, pgsz))); in segvn_create()
1918 if (!IS_P2ALIGNED(addr, pgsz) || !IS_P2ALIGNED(len, pgsz)) { in segvn_unmap()
3188 ASSERT(IS_P2ALIGNED(page_pptonum(repl), curnpgs)); in segvn_relocate_pages()
[all …]
H A Dvm_as.c1533 ASSERT(IS_P2ALIGNED(addr, PAGESIZE)); in as_map_segvn_segs()
1534 ASSERT(IS_P2ALIGNED(size, PAGESIZE)); in as_map_segvn_segs()
1647 ASSERT(IS_P2ALIGNED(addr, PAGESIZE)); in as_map_vnsegs()
1648 ASSERT(IS_P2ALIGNED(size, PAGESIZE)); in as_map_vnsegs()
1736 ASSERT(IS_P2ALIGNED(addr, PAGESIZE)); in as_map_ansegs()
1737 ASSERT(IS_P2ALIGNED(size, PAGESIZE)); in as_map_ansegs()
2646 ASSERT(IS_P2ALIGNED(size, PAGESIZE)); in as_pagelock_segs()
2647 ASSERT(IS_P2ALIGNED(addr, PAGESIZE)); in as_pagelock_segs()
2871 ASSERT(IS_P2ALIGNED(size, PAGESIZE)); in as_pageunlock_segs()
2872 ASSERT(IS_P2ALIGNED(addr, PAGESIZE)); in as_pageunlock_segs()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipsec.c63 if (!IS_P2ALIGNED(hdr, 4)) { in interpret_esp()
118 if (!IS_P2ALIGNED(hdr, 4)) { in interpret_ah()
H A Dsnoop_dhcp.c427 if (IS_P2ALIGNED(start, in show_options()
677 if (IS_P2ALIGNED(*opt, sizeof (ushort_t))) in display_number()
686 if (IS_P2ALIGNED(*opt, sizeof (ulong_t))) in display_number()
/titanic_44/usr/src/uts/common/os/
H A Dgrow.c153 if (addr >= p->p_bssbase && brkend > addr && IS_P2ALIGNED(len, pgsz)) { in brk_lpg()
263 if (IS_P2ALIGNED(p->p_bssbase, pgsz) || ova > rbss) { in brk_internal()
318 ASSERT(IS_P2ALIGNED(oldsize, PAGESIZE)); in grow()
319 ASSERT(IS_P2ALIGNED(newsize, PAGESIZE)); in grow()
391 if (addr >= saddr && growend > addr && IS_P2ALIGNED(len, pgsz)) { in grow_lpg()
467 if (IS_P2ALIGNED(p->p_usrstack, pgsz) || oldsp < austk) { in grow_internal()
/titanic_44/usr/src/uts/sun4u/vm/
H A Dmach_sfmmu.c162 ASSERT(IS_P2ALIGNED(tsbsz, tsbsz)); in sfmmu_remap_kernel()
163 ASSERT(IS_P2ALIGNED(va, tsbsz)); in sfmmu_remap_kernel()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.c156 assert(dptr != NULL && IS_P2ALIGNED(dptr, sizeof (poep_t *))); in poe_mkheader()
177 if (poep == NULL || !IS_P2ALIGNED(poep, sizeof (uint16_t)) || in poe_tagcheck()
/titanic_44/usr/src/uts/sun4v/io/px/
H A Dpx_tools_4v.c238 if (!IS_P2ALIGNED(prg_p->offset, size)) { in pxtool_pcicfg_access()
367 if (!IS_P2ALIGNED(prg_p->offset, size)) { in pxtool_pciiomem_access()
507 if (!IS_P2ALIGNED(prg.offset, size)) { in pxtool_bus_reg_ops()
/titanic_44/usr/src/uts/common/rpc/
H A Dxdr_mblk.c116 if (!IS_P2ALIGNED(m->b_rptr, sizeof (int32_t)) || in xdrmblk_getint32()
463 !IS_P2ALIGNED(m->b_rptr, sizeof (int32_t)) || in xdrmblk_inline()
517 if (!IS_P2ALIGNED(m->b_rptr, sizeof (int32_t))) in xdrmblk_control()
/titanic_44/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_iosram.c425 if (IS_P2ALIGNED(sram_src, size) && in iosram_rw()
426 IS_P2ALIGNED(buf, size)) { in iosram_rw()
447 if (IS_P2ALIGNED(sram_src, size) && in iosram_rw()
448 IS_P2ALIGNED(buf, size)) { in iosram_rw()
/titanic_44/usr/src/uts/common/io/
H A Dphysmem.c362 if (!IS_P2ALIGNED(base_pa, PAGESIZE)) in physmem_setup_addrs()
364 if (!IS_P2ALIGNED(len, PAGESIZE)) in physmem_setup_addrs()
366 if (uvaddr != NULL && !IS_P2ALIGNED(uvaddr, PAGESIZE)) in physmem_setup_addrs()
469 if (!IS_P2ALIGNED(req_paddr, PAGESIZE)) in physmem_map_addrs()
/titanic_44/usr/src/uts/sun4v/vm/
H A Dmach_sfmmu.c209 ASSERT(IS_P2ALIGNED(tsbsz, tsbsz)); in sfmmu_remap_kernel()
210 ASSERT(IS_P2ALIGNED(va, tsbsz)); in sfmmu_remap_kernel()
/titanic_44/usr/src/uts/sun4u/io/pciex/
H A Dpci_cfgacc_4u.c47 if (IS_P2ALIGNED(req->offset, sz) && in pci_cfgacc_valid()
/titanic_44/usr/src/uts/sun4v/io/pciex/
H A Dpci_cfgacc_4v.c52 if (IS_P2ALIGNED(req->offset, sz) && in pci_cfgacc_valid()
/titanic_44/usr/src/uts/intel/ia32/os/
H A Dsysi86.c724 ASSERT(IS_P2ALIGNED(ldt, PAGESIZE)); in ldt_alloc()
754 ASSERT(IS_P2ALIGNED(ldtsz, PAGESIZE)); in ldt_free()
846 ASSERT(IS_P2ALIGNED(nldt, PAGESIZE)); in ldt_grow()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dunix.c199 !IS_P2ALIGNED(psi->si_size, sizeof (psi))) { in print_kn()
H A Dnetstat.c1771 assert(IS_P2ALIGNED(ipAddrEntrySize, in mib_get_constants()
1773 assert(IS_P2ALIGNED(ipRouteEntrySize, in mib_get_constants()
1775 assert(IS_P2ALIGNED(ipNetToMediaEntrySize, in mib_get_constants()
1777 assert(IS_P2ALIGNED(ipMemberEntrySize, in mib_get_constants()
1779 assert(IS_P2ALIGNED(ipGroupSourceEntrySize, in mib_get_constants()
1781 assert(IS_P2ALIGNED(ipRouteAttributeSize, in mib_get_constants()
1783 assert(IS_P2ALIGNED(transportMLPSize, in mib_get_constants()
1792 assert(IS_P2ALIGNED(vifctlSize, in mib_get_constants()
1794 assert(IS_P2ALIGNED(mfcctlSize, in mib_get_constants()
1810 assert(IS_P2ALIGNED(ipv6IfStatsEntrySize, in mib_get_constants()
[all …]

1234