Home
last modified time | relevance | path

Searched refs:P2ALIGN (Results 51 – 75 of 82) sorted by relevance

1234

/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_ecc.c345 ecc_err_p->ecc_aflt.flt_addr = P2ALIGN(ecc_err_p->ecc_afar, 64) + in ecc_errstate_get()
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_rx.c687 wptr = P2ALIGN(added, EF10_RX_WPTR_ALIGN); in ef10_rx_qpush()
/illumos-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.c606 readdr = (caddr_t)P2ALIGN((uintptr_t)eaddr, pgsz); in map_szcvec()
H A Dsfmmu.c874 uhmehash_num = P2ALIGN(uhmehash_num, align); in calc_hmehash_sz()
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_vn.c251 lpgaddr = (caddr_t)P2ALIGN((uintptr_t)(addr), pgsz); \
4122 ulong_t taindx = P2ALIGN(aindx, maxpages); in segvn_fault_vnodepages()
4164 ulong_t taindx = P2ALIGN(aindx, maxpages); in segvn_fault_vnodepages()
4559 a = (caddr_t)P2ALIGN((uintptr_t)a, pgsz); in segvn_fault_vnodepages()
4583 a = (caddr_t)P2ALIGN((uintptr_t)addr, pgsz); in segvn_fault_vnodepages()
4862 a = (caddr_t)P2ALIGN((uintptr_t)a, pgsz); in segvn_fault_anonpages()
4886 a = (caddr_t)P2ALIGN((uintptr_t)addr, pgsz); in segvn_fault_anonpages()
8371 addr = (caddr_t)P2ALIGN((uintptr_t)addr, pgsz); in segvn_advise()
8957 lpgaddr = (caddr_t)P2ALIGN((uintptr_t)addr, in segvn_pagelock()
8965 ulong_t aaix = P2ALIGN(aix, segvn_pglock_comb_palign); in segvn_pagelock()
H A Dvm_as.c1498 a = (caddr_t)P2ALIGN((uintptr_t)eaddr, pgsz); in as_map_segvn_segs()
3194 eaddr = (caddr_t)P2ALIGN((uintptr_t)eaddr, pgsz); in as_iset_default_lpsize()
3226 a = (caddr_t)P2ALIGN((uintptr_t)eaddr, pgsz); in as_iset_default_lpsize()
H A Dvm_page.c5192 pfn = P2ALIGN(pfn, npgs); in page_try_demote_free_pages()
5254 pfn = P2ALIGN(pfn, npgs); in page_try_demote_pages()
5437 addr = (caddr_t)P2ALIGN((uintptr_t)addr, segpgsz); in page_mark_migrate()
H A Dvm_pagelist.c3431 pfnhi = P2ALIGN((pfnhi + 1), szcpgcnt) - 1; in page_geti_contig_pages()
3487 hi = P2ALIGN((hi + 1), szcpgcnt) - 1; in page_geti_contig_pages()
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dus3_cheetahplus.c935 ((faddr & P2ALIGN(C_AFAR_PA, PN_L2_SET_SIZE)) == in pn_matching_valid_l2_line()
/illumos-gate/usr/src/uts/i86pc/io/xsvc/
H A Dxsvc.c860 off_align = P2ALIGN(off, PAGESIZE); in xsvc_devmap()
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_boot.c1429 io.base = P2ALIGN(base, PPB_IO_ALIGNMENT); in fix_ppb_res()
1509 mem.base = P2ALIGN(mem.base, PPB_MEM_ALIGNMENT); in fix_ppb_res()
1547 pmem.base = P2ALIGN(pmem.base, PPB_MEM_ALIGNMENT); in fix_ppb_res()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dvm_machdep.c535 readdr = (caddr_t)P2ALIGN((uintptr_t)eaddr, pgsz); in map_szcvec()
679 base = (caddr_t)P2ALIGN((uintptr_t)base, MMU_PAGESIZE); in pagefault()
893 addr -= P2ALIGN(slew, align_amount); in map_addr_proc()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev.c272 return (P2ALIGN(vd->vdev_asize, 1ULL << vd->vdev_ms_shift)); in vdev_get_min_asize()
1666 osize = P2ALIGN(osize, (uint64_t)sizeof (vdev_label_t)); in vdev_open()
1667 max_osize = P2ALIGN(max_osize, (uint64_t)sizeof (vdev_label_t)); in vdev_open()
3838 vs->vs_esize = P2ALIGN( in vdev_get_stats_ex()
H A Ddmu.c572 P2ALIGN(offset, 1ULL << blkshift)) >> blkshift; in dmu_buf_hold_array_by_dnode()
813 *start = P2ALIGN(*start, iblkrange); in get_next_chunk()
H A Dzvol.c1023 offset = P2ALIGN(offset, size); in zvol_get_data()
H A Dbtree.c185 tree->bt_leaf_cap = P2ALIGN(BTREE_LEAF_ESIZE / size, 2); in zfs_btree_create()
H A Dzfs_vnops.c694 nblk = (P2ROUNDUP(offset + n, blksz) - P2ALIGN(offset, in zfs_read()
4652 koff = ISP2(klen) ? P2ALIGN(off, (u_offset_t)klen) : 0; in zfs_putapage()
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_scsi.c304 P2ALIGN(xfer_offset+xfer_len, blksize); in sbd_do_sgl_read_xfer()
1226 P2ALIGN(xfer_offset+xfer_len, blksize); in sbd_do_sgl_write_xfer()
1519 no_copy_span = P2ALIGN(laddr+len, blksize) - in sbd_zcopy_write_useful()
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h88 #define P2ALIGN(x, align) ((x) & -(align)) macro
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c1648 adjpl = P2ALIGN(adjpl, (uint64_t)sizeof (vdev_label_t)); in zfs_mount()
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dppt.c357 if (off < 0 || off != P2ALIGN(off, PAGESIZE)) in ppt_devmap()
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmpo.c1398 last_page_base = P2ALIGN(end, max_coalesce_len); in valid_pages()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_inode.c986 (caddr_t)P2ALIGN((uintptr_t)dp, DEV_BSIZE), in ufs_iupdat()
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c2132 offset = P2ALIGN(offset, size); in ztest_get_data()
4182 os->os_obj_next_chunk = P2ALIGN(object, dnodes_per_chunk); in ztest_dmu_object_next_chunk()
5456 inc += P2ALIGN(ztest_random(64), in ztest_fletcher_incr()
5875 uint64_t psize = P2ALIGN(fsize, sizeof (vdev_label_t)); in ztest_fault_inject()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dlgrpplat.c670 sa = P2ALIGN(lgrp_plat_memnode_info[prevnode].end, in plat_mnode_xcheck()

1234