Home
last modified time | relevance | path

Searched refs:PAGEMASK (Results 1 – 25 of 74) sorted by relevance

123

/illumos-gate/usr/src/uts/common/vm/
H A Dvm_as.c122 saddr = (caddr_t)((uintptr_t)vaddr & (uintptr_t)PAGEMASK); in as_add_callback()
123 rsize = (((size_t)(vaddr + size) + PAGEOFFSET) & PAGEMASK) - in as_add_callback()
901 raddr = (caddr_t)((uintptr_t)addr & (uintptr_t)PAGEMASK); in as_fault()
1020 raddr = (caddr_t)((uintptr_t)addr & (uintptr_t)PAGEMASK); in as_faulta()
1084 raddr = (caddr_t)((uintptr_t)addr & (uintptr_t)PAGEMASK); in as_setprot()
1303 (uintptr_t)PAGEMASK); in as_unmap()
1601 eoff = vn_a->offset & PAGEMASK; in as_map_vnsegs()
1609 size = va.va_size - (vn_a->offset & PAGEMASK); in as_map_vnsegs()
2320 (uintptr_t)PAGEMASK); in as_ctl()
2322 PAGEOFFSET) & PAGEMASK) - (uintptr_t)raddr; in as_ctl()
[all …]
H A Dvpm.c833 baseoff = off & (offset_t)PAGEMASK; in vpm_map_pages()
895 baseoff = off & (offset_t)PAGEMASK; in vpm_map_pages()
1067 i = (uio->uio_loffset - (off & PAGEMASK)) / PAGESIZE; in vpm_data_copy()
H A Dseg_kp.c808 (((uintptr_t)curthread->t_stkbase & (uintptr_t)PAGEMASK) - in segkp_map_red()
852 (uintptr_t)PAGEMASK) - PAGESIZE); in segkp_map_red()
886 (uintptr_t)PAGEMASK) - PAGESIZE); in segkp_unmap_red()
1117 va = (caddr_t)((uintptr_t)vaddr & (uintptr_t)PAGEMASK); in segkp_load()
/illumos-gate/usr/src/lib/efcode/gp2/
H A Dgp2.c52 lo &= PAGEMASK; in mem_map_in()
53 len = (len + offset + PAGEOFFSET) & PAGEMASK; in mem_map_in()
90 mcookie &= PAGEMASK; in mem_map_out()
91 len = (len + offset + PAGEOFFSET) & PAGEMASK; in mem_map_out()
/illumos-gate/usr/src/lib/efcode/pci/
H A Dpci.c49 lo &= PAGEMASK; in mem_map_in()
52 requested_len = (requested_len + pa_offset + PAGEOFFSET) & PAGEMASK; in mem_map_in()
76 adjusted_virt = requested_virt & PAGEMASK; in mem_map_in()
78 & PAGEMASK; in mem_map_in()
/illumos-gate/usr/src/lib/efcode/jupiter/
H A Djupiter.c64 lo &= PAGEMASK; in mem_map_in()
65 len = (len + offset + PAGEOFFSET) & PAGEMASK; in mem_map_in()
102 mcookie &= PAGEMASK; in mem_map_out()
103 len = (len + offset + PAGEOFFSET) & PAGEMASK; in mem_map_out()
/illumos-gate/usr/src/uts/common/sys/
H A Dparam.h397 #define PAGEMASK _pagemask macro
505 #define PAGEMASK (~PAGEOFFSET) macro
/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_vm_dep.c205 ((p->p_stk_ctl + PAGEOFFSET) & PAGEMASK); in map_addr_proc()
209 len = (len + PAGEOFFSET) & PAGEMASK; in map_addr_proc()
/illumos-gate/usr/src/psm/stand/boot/sparc/sun4/sys/
H A Dmachparam.h87 #define PAGEMASK (~PAGEOFFSET) macro
/illumos-gate/usr/src/uts/common/os/
H A Durw.c171 vaddr = (caddr_t)(uintptr_t)((uintptr_t)vaddr & PAGEMASK); in mapout()
200 page = (caddr_t)(uintptr_t)((uintptr_t)addr & PAGEMASK); in urw()
H A Dmmapobj.c211 (addr >= (p->p_usrstack - ((p->p_stk_ctl + PAGEOFFSET) & PAGEMASK)))
215 (addr >= (p->p_usrstack - ((p->p_stk_ctl + PAGEOFFSET) & PAGEMASK))))
1036 addr = (caddr_t)((uintptr_t)addr & (uintptr_t)PAGEMASK); in mmapobj_map_ptload()
1050 offset = (off_t)((uintptr_t)offset & PAGEMASK); in mmapobj_map_ptload()
1232 (caddr_t)((uintptr_t)addr & (uintptr_t)PAGEMASK); in mmapobj_map_elf()
1391 (uintptr_t)PAGEMASK) != NULL)) { in calc_loadable()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_param.h122 #define PAGEMASK _mdb_ks_pagemask macro
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dmachparam.h105 #define PAGEMASK (~PAGEOFFSET) macro
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachparam.h130 #define PAGEMASK (~PAGEOFFSET) macro
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachparam.h162 #define PAGEMASK (~PAGEOFFSET) macro
/illumos-gate/usr/src/ucbhead/sys/
H A Dparam.h227 #define PAGEMASK (~PAGEOFFSET) macro
/illumos-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.c205 len = (((uintptr_t)base + len + PAGEOFFSET) & PAGEMASK) - in pagefault()
206 ((uintptr_t)base & PAGEMASK); in pagefault()
207 base = (caddr_t)((uintptr_t)base & PAGEMASK); in pagefault()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dseg_vmm.c214 va &= PAGEMASK; in segvmm_fault_in()
344 len = (len + PAGEOFFSET) & PAGEMASK; in segvmm_incore()
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_vnops.c103 segoff = (offset & PAGEMASK) & MAXBOFFSET; in bootfs_read()
398 pfn = btop((bnp->bvn_addr + off) & PAGEMASK); in bootfs_getapage()
/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_vm_dep.c235 ((p->p_stk_ctl + PAGEOFFSET) & PAGEMASK); in map_addr_proc()
238 len = (len + PAGEOFFSET) & PAGEMASK; in map_addr_proc()
/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsm_in.h77 #define RSM_MAXSZ_PAGE_ALIGNED (UINT_MAX & PAGEMASK)
/illumos-gate/usr/src/uts/i86pc/io/ioat/
H A Dioat_ioctl.c223 source = (uint8_t *)(((uintptr_t)buf + PAGEOFFSET) & PAGEMASK); in ioat_ioctl_test()
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac_ioctl.c543 addrlo = (caddr_t)((uintptr_t)addrlo & (uintptr_t)PAGEMASK); in aac_send_raw_srb()
545 PAGEMASK) - (size_t)addrlo, umem_flags, &cookie); in aac_send_raw_srb()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_directio.c680 ((uintptr_t)pglck_base & PAGEMASK)); in ufs_directio_write()
989 ((uintptr_t)pglck_base & PAGEMASK)); in ufs_directio_read()
/illumos-gate/usr/src/uts/common/syscall/
H A Dmemcntl.c353 len &= PAGEMASK; in memcntl()

123