Searched refs:P2ALIGN (Results 1 - 25 of 79) sorted by relevance

1234

/illumos-gate/usr/src/uts/sparc/os/
H A Ddoor_support.c89 return (P2ALIGN(resultsp - minframe, align));
H A Dbootops.c330 chunksz = P2ALIGN((size >> 1), PAGESIZE);
344 chunksz = P2ALIGN(chunksz, PAGESIZE);
/illumos-gate/usr/src/uts/common/os/
H A Did32.c50 #define ID32_DECODE(x) (P2ALIGN((x), (uintptr_t)ID32_ALIGN) + \
58 #define ID32_DECODE(x) P2ALIGN((x), ID32_ALIGN)
H A Dgrow.c409 growend = (caddr_t)P2ALIGN((uintptr_t)p->p_usrstack, pgsz);
438 sp = (caddr_t)P2ALIGN((uintptr_t)sp, PAGESIZE);
449 newsize = p->p_usrstack - (caddr_t)P2ALIGN((uintptr_t)sp, pgsz);
486 caddr_t austk = (caddr_t)P2ALIGN((uintptr_t)p->p_usrstack,
H A Dvmem.c927 flist = lowbit(P2ALIGN(vmp->vm_freemap, size));
929 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb));
1000 flist = lowbit(P2ALIGN(vmp->vm_freemap, size));
1007 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb));
1025 flist = lowbit(P2ALIGN(vmp->vm_freemap,
1300 flist = lowbit(P2ALIGN(vmp->vm_freemap, size));
1302 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb));
/illumos-gate/usr/src/lib/libumem/common/
H A Dvmem_stand.c95 sr->sr_left = P2ALIGN(len - (size_t)(sr->sr_curtop - sr->sr_base),
H A Dumem_impl.h136 (P2ALIGN((PAGESIZE - sizeof (umem_slab_t))/2 - \
/illumos-gate/usr/src/uts/sun4u/taco/os/
H A Dtaco.c212 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8),
/illumos-gate/usr/src/uts/sun4u/littleneck/os/
H A Dlittleneck.c151 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8),
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_cache.c158 uint64_t offset = P2ALIGN(zio->io_offset, VCBS);
255 uint64_t cache_offset = P2ALIGN(zio->io_offset, VCBS);
334 uint64_t min_offset = P2ALIGN(io_start, VCBS);
/illumos-gate/usr/src/uts/sun4u/chicago/os/
H A Dchicago.c163 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8),
/illumos-gate/usr/src/uts/sun4u/enchilada/os/
H A Denchilada.c210 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8),
/illumos-gate/usr/src/uts/sun4u/excalibur/os/
H A Dexcalibur.c187 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8),
/illumos-gate/usr/src/uts/sun4u/schumacher/os/
H A Dschumacher.c193 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8),
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.h116 * eg, P2ALIGN(1200, 1024) == 1024 (1*align)
117 * eg, P2ALIGN(1024, 1024) == 1024 (1*align)
118 * eg, P2ALIGN(0x1234, 0x100) == 0x1200 (0x12*align)
119 * eg, P2ALIGN(0x5600, 0x100) == 0x5600 (0x56*align)
121 #define P2ALIGN(x, align) ((x) & -(align)) macro
/illumos-gate/usr/src/lib/libumem/amd64/
H A Dumem_genasm.c573 mpbase = P2ALIGN((uintptr_t)umem_genasm_mptr, pagesize);
575 fpbase = P2ALIGN((uintptr_t)umem_genasm_mptr, pagesize);
581 if (P2ALIGN(umem_genasm_msize + (uintptr_t)umem_genasm_mptr,
586 if (P2ALIGN(umem_genasm_fsize + (uintptr_t)umem_genasm_fptr,
/illumos-gate/usr/src/lib/libumem/i386/
H A Dumem_genasm.c563 mpbase = P2ALIGN((uintptr_t)umem_genasm_mptr, pagesize);
565 fpbase = P2ALIGN((uintptr_t)umem_genasm_mptr, pagesize);
571 if (P2ALIGN(umem_genasm_msize + (uintptr_t)umem_genasm_mptr,
576 if (P2ALIGN(umem_genasm_fsize + (uintptr_t)umem_genasm_fptr,
/illumos-gate/usr/src/uts/sun4u/cherrystone/os/
H A Dcherrystone.c331 base = P2ALIGN(base, (1ul << PA_SLICE_SHIFT));
550 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8),
/illumos-gate/usr/src/uts/sun4u/daktari/os/
H A Ddaktari.c323 base = P2ALIGN(base, (1ul << PA_SLICE_SHIFT));
541 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8),
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_zvol.c142 numsegs = (P2ROUNDUP(endoff, blksz) - P2ALIGN(off, blksz)) / blksz;
271 P2ALIGN(offset, 1ULL<<blkshift)) >> blkshift;
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkgrep.c90 base = P2ALIGN(base, pagesize);
/illumos-gate/usr/src/uts/sun4u/boston/os/
H A Dboston.c256 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8),
/illumos-gate/usr/src/uts/sun4u/seattle/os/
H A Dseattle.c259 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8),
/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_vm_dep.c319 addr -= P2ALIGN(slew, align_amount);
/illumos-gate/usr/src/uts/i86pc/os/
H A Dpci_cfgacc_x86.c84 paddr_t pa_base = P2ALIGN(phys_addr, MMU_PAGESIZE);

Completed in 228 milliseconds

1234