Home
last modified time | relevance | path

Searched refs:P2ALIGN (Results 26 – 50 of 82) sorted by relevance

1234

/illumos-gate/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), \
/illumos-gate/usr/src/lib/libumem/common/
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,
1505 void *slab = (void *)P2ALIGN((uintptr_t)sp->slab_base, vmp->vm_quantum); in umem_slab_destroy()
H A Dvmem.c882 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 Dumem_impl.h136 (P2ALIGN((PAGESIZE - sizeof (umem_slab_t))/2 - \
/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_vm_dep.c319 addr -= P2ALIGN(slew, align_amount); in map_addr_proc()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkgrep.c90 base = P2ALIGN(base, pagesize); in kgrep_range_basic()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dpci_cfgacc_x86.c84 paddr_t pa_base = P2ALIGN(phys_addr, MMU_PAGESIZE); in pci_cfgacc_map()
H A Dfakebop.c222 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 Ddoor_sys.c1101 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 Dboston.c256 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 Dseattle.c259 return (p2get_mem_unum(synd_code, P2ALIGN(flt_addr, 8), in plat_get_mem_unum()
/illumos-gate/usr/src/uts/common/syscall/
H A Dmemcntl.c318 len = P2ALIGN(p->p_stksize, pgsz); in memcntl()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipsecah.c2921 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 Dvm_anon.c1426 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 Dseg_spt.c1175 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 Dsysioerr.c357 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 Dpcmu_ecc.c299 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 Dmain.c257 uap = P2ALIGN(ucp, wlen); in exec_init()
H A Dkmem.c957 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 Ddmu_object.c148 P2ALIGN(object, dnodes_per_chunk) + in dmu_object_alloc_impl()
/illumos-gate/usr/src/uts/common/sys/
H A Dsysmacros.h246 #define P2ALIGN(x, align) ((x) & -(align)) macro
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dus3_common.c2837 (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 Dlufs_thread.c160 if (P2ALIGN(rbp->rb_bh.b_blkno, in log_roll_read()
/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_vm_dep.c342 addr -= P2ALIGN(slew, align_amount); in map_addr_proc()
/illumos-gate/usr/src/uts/intel/os/
H A Dsundep.c189 eaddr = P2ALIGN(src->ml_address + src->ml_size, PAGESIZE); in copy_memlist_filter()

1234