/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | cheetahregs.h | 786 #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), \
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | umem.c | 658 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, 1505 void *slab = (void *)P2ALIGN((uintptr_t)sp->slab_base, vmp->vm_quantum); in umem_slab_destroy()
|
H A D | vmem.c | 882 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_xalloc() 889 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_xalloc() 907 flist = lowbit(P2ALIGN(vmp->vm_freemap, in vmem_xalloc() 1104 flist = lowbit(P2ALIGN(vmp->vm_freemap, size)); in vmem_alloc() 1106 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_alloc()
|
H A D | umem_impl.h | 136 (P2ALIGN((PAGESIZE - sizeof (umem_slab_t))/2 - \
|
/illumos-gate/usr/src/uts/sun4u/vm/ |
H A D | mach_vm_dep.c | 319 addr -= P2ALIGN(slew, align_amount); in map_addr_proc()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | kgrep.c | 90 base = P2ALIGN(base, pagesize); in kgrep_range_basic()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pci_cfgacc_x86.c | 84 paddr_t pa_base = P2ALIGN(phys_addr, MMU_PAGESIZE); in pci_cfgacc_map()
|
H A D | fakebop.c | 222 end = P2ALIGN(ml->ml_address + ml->ml_size, align); in do_bop_phys_alloc() 226 end = P2ALIGN(high_phys, align); in do_bop_phys_alloc() 1942 len = P2ALIGN(len, MMU_PAGESIZE); in relocate_boot_archive() 2275 start = P2ALIGN(pa, MMU_PAGESIZE); in vmap_phys()
|
/illumos-gate/usr/src/uts/common/fs/doorfs/ |
H A D | door_sys.c | 1101 start = P2ALIGN(end - 1, pgsize); in door_stack_copyout() 1102 if (P2ALIGN(ubase, pgsize) == start) in door_stack_copyout() 1182 descp = P2ALIGN(base_sp - descsz, align); in door_layout() 1183 datap = P2ALIGN(descp - data_size, align); in door_layout() 1186 infop = P2ALIGN(datap - sizeof (door_info_t), align); in door_layout() 1190 resultsp = P2ALIGN(infop - results_sz, align); in door_layout() 2517 start = P2ALIGN(end - 1, PAGESIZE); in door_args() 2523 if (P2ALIGN(base, PAGESIZE) == start) in door_args()
|
/illumos-gate/usr/src/uts/sun4u/boston/os/ |
H A D | boston.c | 256 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
|
/illumos-gate/usr/src/uts/sun4u/seattle/os/ |
H A D | seattle.c | 259 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | memcntl.c | 318 len = P2ALIGN(p->p_stksize, pgsz); in memcntl()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipsecah.c | 2921 ah_align_sz = P2ALIGN(ah_data_sz + IPV6_PADDING_ALIGN - 1, in ah_process_ip_options_v6() 3053 ah_align_sz = P2ALIGN(ah_data_sz + IPV4_PADDING_ALIGN - 1, in ah_process_ip_options_v4() 3291 ah_align_sz = P2ALIGN(assoc->ipsa_mac_len + in ah_outbound() 3297 ah_align_sz = P2ALIGN(assoc->ipsa_mac_len + in ah_outbound() 3520 align_len = P2ALIGN(icv_len + IPV4_PADDING_ALIGN - 1, in ah_auth_in_done() 3526 align_len = P2ALIGN(icv_len + IPV6_PADDING_ALIGN - 1, in ah_auth_in_done() 3751 align_len = P2ALIGN(icv_len + IPV4_PADDING_ALIGN - 1, in ah_auth_out_done() 3784 align_len = P2ALIGN(icv_len + IPV6_PADDING_ALIGN - 1, in ah_auth_out_done()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_anon.c | 1426 index = P2ALIGN(index, pgcnt); in anon_dup_fill_holes() 1534 index = P2ALIGN(index, pgcnt); in anon_fill_cow_holes() 1653 index = P2ALIGN(index, pgcnt); in anon_free_pages() 3301 sidx_aligned = P2ALIGN(sidx, pages); in anon_shmap_free_pages() 3317 eidx_aligned = P2ALIGN(eidx, pages); in anon_shmap_free_pages() 3609 an_idx = P2ALIGN(an_idx, page_get_pagecnt(amp->a_szc)); in anon_array_enter() 3641 an_idx = P2ALIGN(an_idx, page_get_pagecnt(amp->a_szc)); in anon_array_try_enter()
|
H A D | seg_spt.c | 1175 an_idx = P2ALIGN(an_idx, npgs); in segspt_dismpagelock() 2023 shm_addr = (caddr_t)P2ALIGN((uintptr_t)(addr), pgsz); in segspt_dismfault() 2214 shm_addr = (caddr_t)P2ALIGN((uintptr_t)(addr), pgsz); in segspt_shmfault() 2840 a_addr = (caddr_t)P2ALIGN((uintptr_t)(addr), share_sz); in segspt_shmlockop() 3098 shm_addr = (caddr_t)P2ALIGN((uintptr_t)(addr), share_size); in segspt_shmadvise()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sysioerr.c | 357 ecc.flt_addr = P2ALIGN(t_afar, 64) + offset; in sysio_ue_intr() 481 ecc.flt_addr = P2ALIGN(t_afar, 64) + offset; in sysio_ce_intr()
|
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcmu_ecc.c | 299 ecc_err_p->ecc_aflt.flt_addr = P2ALIGN(ecc_err_p->ecc_afar, 64) + in pcmu_ecc_errstate_get()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | main.c | 257 uap = P2ALIGN(ucp, wlen); in exec_init()
|
H A D | kmem.c | 957 P2ALIGN(8192 / 7, 64), 958 P2ALIGN(8192 / 6, 64), 959 P2ALIGN(8192 / 5, 64), 960 P2ALIGN(8192 / 4, 64), 961 P2ALIGN(8192 / 3, 64), 962 P2ALIGN(8192 / 2, 64), 1614 void *slab = (void *)P2ALIGN((uintptr_t)sp->slab_base, vmp->vm_quantum); in kmem_slab_destroy()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_object.c | 148 P2ALIGN(object, dnodes_per_chunk) + in dmu_object_alloc_impl()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sysmacros.h | 246 #define P2ALIGN(x, align) ((x) & -(align)) macro
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_common.c | 2837 (void) lddphys(P2ALIGN(ecc->flt_addr, 8)); in cpu_ce_scrub_mem_err_common() 3887 (aflt->flt_addr & P2ALIGN(C_AFAR_PA, ec_set_size)) == in cpu_ecache_line_valid() 3927 addr = faddr & P2ALIGN(C_AFAR_PA, ec_set_size); in cpu_matching_ecache_line() 3951 addr = faddr & P2ALIGN(C_AFAR_PA, ec_set_size); in cpu_matching_ecache_line() 4164 flt_index = P2ALIGN(aflt->flt_addr % ic_set_size, ic_linesize); in cpu_icache_parity_check() 6273 va = (caddr_t)(va + (P2ALIGN(page_offset, 64))); 6274 psz -= (uint_t)(P2ALIGN(page_offset, 64)); 6275 cpu_check_block((caddr_t)(P2ALIGN((uint64_t)va, 64)), 7194 if (P2ALIGN(aflt->flt_addr, 64) != P2ALIGN(t_afar, 64))
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs_thread.c | 160 if (P2ALIGN(rbp->rb_bh.b_blkno, in log_roll_read()
|
/illumos-gate/usr/src/uts/sun4v/vm/ |
H A D | mach_vm_dep.c | 342 addr -= P2ALIGN(slew, align_amount); in map_addr_proc()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | sundep.c | 189 eaddr = P2ALIGN(src->ml_address + src->ml_size, PAGESIZE); in copy_memlist_filter()
|