Home
last modified time | relevance | path

Searched refs:seg_page (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/i86xpv/vm/
H A Dseg_mf.c197 off = (offset_t)seg_page(seg, addr); in segmf_unmap()
234 idx = seg_page(seg, addr); in segmf_faultpage()
433 pgcnt_t pgno = seg_page(seg, addr + len) - seg_page(seg, addr) + 1; in segmf_getprot()
500 memid->val[1] = (uintptr_t)seg_page(seg, addr); in segmf_getmemid()
559 base = seg_page(seg, addr); in segmf_add_mfns()
607 idx = seg_page(seg, addr); in segmf_add_grefs()
660 idx = seg_page(seg, addr); in segmf_release_grefs()
703 idx = seg_page(seg, addr); in segmf_add_gref_pte()
726 idx = seg_page(seg, addr); in segmf_fault_gref_range()
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_spt.c457 anon_index = seg_page(seg, addr); in segspt_shmincore()
955 anon_index = seg_page(seg, addr); in segspt_getpolicy()
1001 pg_idx = seg_page(seg, addr); in segspt_dismpagelock()
1361 page_index = seg_page(seg, addr); in segspt_shmpagelock()
1469 anon_index = seg_page(sptseg, spt_base); in segspt_shmpagelock()
1767 anon_index = seg_page(sptseg, sptseg_addr); in segspt_softunlock()
2030 an_idx = seg_page(seg, shm_addr); in segspt_dismfault()
2221 anon_index = seg_page(seg, shm_addr); in segspt_shmfault()
2292 anon_index = seg_page(sptseg, sptseg_addr); in segspt_shmfault()
2501 an_idx = seg_page(sptseg, sptaddr); in spt_anon_getpages()
[all …]
H A Dseg_vn.c1531 vpp = &svd->vpage[seg_page(seg, addr)]; in segvn_dup_pages()
1850 evp = &svd->vpage[seg_page(seg, seg->s_base + seg->s_size)]; in segvn_count_swap_by_vpages()
2585 anon_index = svd->anon_index + seg_page(seg, addr); in segvn_softunlock()
2784 anon_index = svd->anon_index + seg_page(seg, addr); in segvn_faultpage()
3845 ulong_t aindx = svd->anon_index + seg_page(seg, a); in segvn_fault_vnodepages()
3847 &svd->vpage[seg_page(seg, a)] : NULL; in segvn_fault_vnodepages()
4563 aindx = svd->anon_index + seg_page(seg, a); in segvn_fault_vnodepages()
4565 &svd->vpage[seg_page(seg, a)] : NULL; in segvn_fault_vnodepages()
4587 aindx = svd->anon_index + seg_page(seg, a); in segvn_fault_vnodepages()
4589 &svd->vpage[seg_page(seg, a)] : NULL; in segvn_fault_vnodepages()
[all …]
H A Dseg_hole.c234 pgno = seg_page(seg, addr + len) - seg_page(seg, addr) + 1; in seghole_getprot()
H A Dseg.h244 #define seg_page(seg, addr) \ macro
274 uint_t seg_page(struct seg *, caddr_t);
H A Dseg_umap.c362 pgno = seg_page(seg, addr + len) - seg_page(seg, addr) + 1; in segumap_getprot()
H A Dseg_dev.c2023 vpage = &sdp->vpage[seg_page(seg, addr)]; in segdev_faultpages()
2142 evp = &sdp->vpage[seg_page(seg, addr + len)]; in segdev_setprot()
2143 for (vp = &sdp->vpage[seg_page(seg, addr)]; vp < evp; vp++) in segdev_setprot()
2220 evp = &sdp->vpage[seg_page(seg, addr + len)]; in segdev_checkprot()
2221 for (vp = &sdp->vpage[seg_page(seg, addr)]; vp < evp; vp++) { in segdev_checkprot()
2242 pgno = seg_page(seg, addr + len) - seg_page(seg, addr) + 1; in segdev_getprot()
2250 size_t pgoff = seg_page(seg, addr); in segdev_getprot()
H A Dseg_map.c854 size_t pgno = seg_page(seg, addr + len) - seg_page(seg, addr) + 1; in segmap_getprot()
H A Dvm_page.c5454 an_idx = anon_index + seg_page(seg, va); in page_mark_migrate()
/illumos-gate/usr/src/uts/sparc/v9/vm/
H A Dseg_nf.c423 size_t pgno = seg_page(seg, addr + len) - seg_page(seg, addr) + 1; in segnf_getprot()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dseg_vmm.c477 pgno = seg_page(seg, addr + len) - seg_page(seg, addr) + 1; in segvmm_getprot()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c396 p = seg_page(seg, addr); in gsvn_incore()
397 ep = seg_page(seg, eaddr); in gsvn_incore()
432 dprintf("addr: %p pgno: %p\n", addr, seg_page(seg, addr)); in gsvn_getprot()
433 return (VPP_PROT(&svd->vpage[seg_page(seg, addr)])); in gsvn_getprot()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprsubr.c4399 ulong_t lastpg = seg_page(seg, eaddr - 1); in pr_pagev_fill()
4411 pagev->pg_pnbase = seg_page(seg, addr); in pr_pagev_fill()
4469 ulong_t pn = seg_page(seg, addr); in pr_pagev_nextprot()
4490 pn = seg_page(seg, addr); in pr_pagev_nextprot()
4498 pn = seg_page(seg, addr); in pr_pagev_nextprot()
4522 pn = seg_page(seg, addr); in pr_pagev_nextprot()