Home
last modified time | relevance | path

Searched refs:P2ALIGN (Results 1 – 25 of 76) sorted by relevance

1234

/titanic_41/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 Dvmem.c924 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_canalloc()
926 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_canalloc()
997 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_xalloc()
1004 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_xalloc()
1022 flist = lowbit(P2ALIGN(vmp->vm_freemap, in vmem_xalloc()
1293 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_alloc()
1295 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_alloc()
H A Dgrow.c388 growend = (caddr_t)P2ALIGN((uintptr_t)p->p_usrstack, pgsz); in grow_lpg()
416 sp = (caddr_t)P2ALIGN((uintptr_t)sp, PAGESIZE); in grow_internal()
427 newsize = p->p_usrstack - (caddr_t)P2ALIGN((uintptr_t)sp, pgsz); in grow_internal()
464 caddr_t austk = (caddr_t)P2ALIGN((uintptr_t)p->p_usrstack, in grow_internal()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev_cache.c162 uint64_t offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_allocate()
258 uint64_t cache_offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_read()
337 uint64_t min_offset = P2ALIGN(io_start, VCBS); in vdev_cache_write()
/titanic_41/usr/src/uts/sparc/os/
H A Ddoor_support.c89 return (P2ALIGN(resultsp - minframe, align)); in door_final_sp()
H A Dbootops.c330 chunksz = P2ALIGN((size >> 1), PAGESIZE); in bop_alloc_chunk()
344 chunksz = P2ALIGN(chunksz, PAGESIZE); in bop_alloc_chunk()
/titanic_41/usr/src/uts/sun4u/littleneck/os/
H A Dlittleneck.c151 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
/titanic_41/usr/src/uts/sun4u/taco/os/
H A Dtaco.c212 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
/titanic_41/usr/src/uts/sun4u/daktari/os/
H A Ddaktari.c323 base = P2ALIGN(base, (1ul << PA_SLICE_SHIFT)); in update_mem_bounds()
541 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
/titanic_41/usr/src/lib/libumem/common/
H A Dvmem_stand.c95 sr->sr_left = P2ALIGN(len - (size_t)(sr->sr_curtop - sr->sr_base), in vmem_stand_add()
H A Dumem.c658 P2ALIGN(8192 / 7, 64),
659 P2ALIGN(8192 / 6, 64),
660 P2ALIGN(8192 / 5, 64),
661 P2ALIGN(8192 / 4, 64), 2304,
662 P2ALIGN(8192 / 3, 64),
663 P2ALIGN(8192 / 2, 64), 4544,
664 P2ALIGN(8192 / 1, 64), 9216,
1501 void *slab = (void *)P2ALIGN((uintptr_t)sp->slab_base, vmp->vm_quantum); in umem_slab_destroy()
H A Dvmem.c880 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_xalloc()
887 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_xalloc()
905 flist = lowbit(P2ALIGN(vmp->vm_freemap, in vmem_xalloc()
1099 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_alloc()
1101 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_alloc()
/titanic_41/usr/src/uts/sun4u/cherrystone/os/
H A Dcherrystone.c331 base = P2ALIGN(base, (1ul << PA_SLICE_SHIFT)); in update_mem_bounds()
550 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
/titanic_41/usr/src/uts/common/fs/zev/
H A Dzev_checksums.c235 off_l1 = P2ALIGN(off, ZEV_L1_SIZE); in zev_chksum_cache_invalidate()
253 for (pos_l0 = MAX(pos_l1, P2ALIGN(off, ZEV_L0_SIZE)); in zev_chksum_cache_invalidate()
596 off_l1 = P2ALIGN(off, ZEV_L1_SIZE); in zev_get_checksums()
760 lock_off = P2ALIGN(gs.zev_offset, ZEV_L1_SIZE); in zev_ioc_get_signatures()
/titanic_41/usr/src/uts/sun4u/cpu/
H A Dspitfire.c1024 scrubphys(P2ALIGN(ecc->flt_addr, 64), in cpu_ce_scrub_mem_err()
1448 uint64_t faultpa = P2ALIGN(aflt->flt_addr, 64); in cpu_async_error()
1462 get_ecache_dtag(P2ALIGN(ecache_idx, 64), in cpu_async_error()
1510 flushecacheline(P2ALIGN(aflt->flt_addr, 64), in cpu_async_error()
1901 } else if (prom_get_unum(synd_code, P2ALIGN(afar, 8), in cpu_get_mem_unum()
2309 clearphys(P2ALIGN(aflt->flt_addr, 64), in cpu_async_log_err()
2458 get_ecache_dtag(P2ALIGN(ec_idx, 64), in get_cpu_status()
2543 uint64_t aligned_addr = P2ALIGN(ecc->flt_addr, 8); in cpu_read_paddr()
3017 flushecacheline(P2ALIGN(errpa, 64), in scan_ecache()
3094 (uint32_t)(P2ALIGN(aflt->flt_addr, 64) >> 32), in cpu_log_ecmem_info()
[all …]
/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_zvol.c141 numsegs = (P2ROUNDUP(endoff, blksz) - P2ALIGN(off, blksz)) / blksz; in sbd_zvol_numsegs()
269 P2ALIGN(offset, 1ULL<<blkshift)) >> blkshift; in sbd_zvol_alloc_write_bufs()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.h121 #define P2ALIGN(x, align) ((x) & -(align)) macro
/titanic_41/usr/src/uts/sun4u/excalibur/os/
H A Dexcalibur.c187 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
/titanic_41/usr/src/uts/sun4u/schumacher/os/
H A Dschumacher.c193 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
/titanic_41/usr/src/uts/sun4u/enchilada/os/
H A Denchilada.c210 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
/titanic_41/usr/src/cmd/ptools/pmap/
H A Dpmap.c60 #define P2ALIGN(x, align) ((x) & -(align)) macro
1365 (end < P2ALIGN(start_addr, psz))) in address_in_range()
1370 (start > P2ALIGN(end_addr + psz, psz))) in address_in_range()
1404 from = P2ALIGN(start_addr, psz); in adjust_addr_range()
1438 P2ALIGN(end_addr + psz, psz); in adjust_addr_range()
/titanic_41/usr/src/uts/sun4u/serengeti/os/
H A Dserengeti.c950 P2ALIGN(flt_addr, 8), buf, buflen, lenp)); in plat_get_mem_unum()
952 return (unum_func(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
968 P2ALIGN(flt_addr, 8), buf, buflen, lenp) != 0) { in plat_get_mem_unum()
/titanic_41/usr/src/uts/sun4u/lw8/os/
H A Dlw8_platmod.c960 P2ALIGN(flt_addr, 8), buf, buflen, lenp)); in plat_get_mem_unum()
962 return (unum_func(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
978 P2ALIGN(flt_addr, 8), buf, buflen, lenp) != 0) { in plat_get_mem_unum()
/titanic_41/usr/src/uts/sun4u/chicago/os/
H A Dchicago.c163 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
/titanic_41/usr/src/uts/sun4u/sys/
H A Dcheetahregs.h786 #define CH_ECTAG_PA_MASK(setsize) P2ALIGN(C_AFAR_PA, (int)(setsize))
833 #define CH_ECTAG_PA_MASK(setsize) P2ALIGN(C_AFAR_PA, (int)(setsize))
908 #define JG_ECTAG_PA_MASK(setsize) P2ALIGN(((~JG_LRU_MASK) & C_AFAR_PA), \

1234