/titanic_44/usr/src/uts/common/fs/swapfs/ |
H A D | swap_vnops.c | 152 u_offset_t poff; in swap_getapage() local 225 err = swap_getphysname(vp, off, &pvp, &poff); in swap_getapage() 231 err = VOP_PAGEIO(pvp, pp, poff, in swap_getapage() 245 ap->an_poff == poff) { in swap_getapage() 246 swap_phys_free(pvp, poff, in swap_getapage() 325 u_offset_t poff; in swap_getconpage() local 404 if (swap_getphysname(vp, off, &pvp, &poff)) { in swap_getconpage() 410 err = VOP_PAGEIO(pvp, pp, poff, PAGESIZE, B_READ, in swap_getconpage() 421 if (ap->an_pvp != pvp || ap->an_poff != poff) in swap_getconpage() 424 swap_phys_free(pvp, poff, PAGESIZE); in swap_getconpage() [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | bp_map.c | 276 uintptr_t poff; in bp_copy_common() local 327 poff = (uintptr_t)addr & PAGEOFFSET; in bp_copy_common() 328 psize = MIN(PAGESIZE - poff, size); in bp_copy_common() 376 poff += offset; in bp_copy_common() 389 poff = 0; in bp_copy_common() 398 kaddr = hat_kpm_mapin(page, NULL) + poff; in bp_copy_common() 401 hat_kpm_mapout(page, NULL, kaddr - poff); in bp_copy_common() 406 poff = 0; in bp_copy_common()
|
/titanic_44/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_rq.c | 687 u_int16_t totpcount, totdcount, pcount, poff, doff, pdisp, ddisp; in smb_t2_reply() local 732 (error2 = md_get_uint16le(mdp, &poff)) != 0 || in smb_t2_reply() 768 error2 = smb_t2_placedata(mdp->md_top, poff, in smb_t2_reply() 816 u_int32_t totpcount, totdcount, pcount, poff, doff, pdisp, ddisp; in smb_nt_reply() local 859 (error2 = md_get_uint32le(mdp, &poff)) != 0 || in smb_nt_reply() 894 error2 = smb_t2_placedata(mdp->md_top, poff, pcount, in smb_nt_reply() 947 int error, doff, poff, txdcount, txpcount, nmlen, nmsize; in smb_t2_request_int() local 1006 poff = len; in smb_t2_request_int() 1011 poff = txpcount ? len : 0; in smb_t2_request_int() 1024 mb_put_uint16le(mbp, poff); in smb_t2_request_int() [all …]
|
/titanic_44/usr/src/uts/common/vm/ |
H A D | vm_swap.c | 221 size_t aoff, boff, poff, slotnumber; in swap_getoff() local 295 poff = ptob(slotnumber); in swap_getoff() 296 if (poff + sip->si_soff >= sip->si_eoff) in swap_getoff() 299 ASSERT(poff < sip->si_eoff); in swap_getoff() 306 return (poff + sip->si_soff); in swap_getoff() 1575 u_offset_t poff; in swapslot_free() local 1590 error = swap_getphysname(vp, off, &pvp, &poff); in swapslot_free() 1591 if (error || pvp != sip->si_vp || poff < sip->si_soff || in swapslot_free() 1592 poff >= sip->si_eoff) { in swapslot_free() 1599 error = VOP_PAGEIO(pvp, pp, poff, PAGESIZE, B_READ, in swapslot_free() [all …]
|
H A D | seg_dev.c | 2709 ulong_t poff; in devmap_roundup() local 2731 poff = ((base + offset) & ~(pg - 1)); in devmap_roundup() 2732 uvaddr = dhp->dh_uvaddr + (poff - base); in devmap_roundup() 2733 if ((poff >= base) && in devmap_roundup() 2734 ((poff + pg) <= (base + dhp->dh_len)) && in devmap_roundup() 2735 VA_PA_ALIGNED((uintptr_t)uvaddr, poff, pg)) in devmap_roundup() 2741 base, poff, dhp); in devmap_roundup() 2743 base, poff, dhp->dh_pfn)); in devmap_roundup() 2745 ASSERT(VA_PA_ALIGNED((uintptr_t)uvaddr, poff, pg)); in devmap_roundup() 2749 *opfn = dhp->dh_pfn + btop(poff - base); in devmap_roundup() [all …]
|
H A D | seg_map.c | 722 u_offset_t poff; in segmap_fault() local 740 poff = pp->p_offset; in segmap_fault() 741 adr = addr + (poff - off); in segmap_fault() 746 pp, vp, poff); in segmap_fault()
|
/titanic_44/usr/src/uts/i86pc/io/ |
H A D | rootnex.c | 2567 uint_t poff; in rootnex_verify_buffer() local 2574 poff = dma->dp_dma.dmao_obj.pp_obj.pp_offset & MMU_PAGEOFFSET; in rootnex_verify_buffer() 2577 poff = (uintptr_t)vaddr & MMU_PAGEOFFSET; in rootnex_verify_buffer() 2579 pcnt = mmu_btopr(dma->dp_dma.dmao_size + poff); in rootnex_verify_buffer() 3829 off_t poff; in rootnex_setup_cookie() local 3860 poff = cookie->dmac_laddress & MMU_PAGEOFFSET; in rootnex_setup_cookie() 3903 dma->dp_pgmap[pidx].pm_cbaddr)) + poff; in rootnex_setup_cookie() 4030 poff = (sinfo->si_buf_offset + cur_offset) & MMU_PAGEOFFSET; in rootnex_setup_cookie() 4031 pcnt = mmu_btopr(cookie->dmac_size + poff); in rootnex_setup_cookie() 4217 off_t poff; in rootnex_copybuf_window_boundary() local [all …]
|
/titanic_44/usr/src/lib/libproc/common/ |
H A D | Pgcore.c | 1045 off64_t poff, soff, doff, boff; in Pfgcore() local 1065 pgc.pgc_poff = &poff; in Pfgcore() 1151 poff = ehdr.e_phoff; in Pfgcore() 1209 poff = ehdr.e_phoff; in Pfgcore() 1288 if (gc_pwrite64(fd, &phdr, sizeof (phdr), poff) != 0) in Pfgcore() 1290 poff += sizeof (phdr); in Pfgcore() 1302 if (gc_pwrite64(fd, &phdr, sizeof (phdr), poff) != 0) in Pfgcore() 1304 poff += sizeof (phdr); in Pfgcore() 1460 if (gc_pwrite64(fd, &phdr, sizeof (phdr), poff) != 0) in Pfgcore() 1462 poff += sizeof (phdr); in Pfgcore() [all …]
|
/titanic_44/usr/src/lib/libshell/common/edit/ |
H A D | edit.c | 1287 int ed_virt_to_phys(Edit_t *ep,genchar *virt,genchar *phys,int cur,int voff,int poff) 1296 dp += poff; 1297 for(r=poff;c= *sp;sp++)
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | zfs_znode.c | 1606 int poff = end & PAGEOFFSET; in zfs_trunc() local 1608 if (poff != 0 && (pp = page_lookup(vp, start, SE_SHARED))) { in zfs_trunc() 1612 pagezero(pp, poff, PAGESIZE - poff); in zfs_trunc()
|
/titanic_44/usr/src/cmd/mandoc/ |
H A D | roff.c | 1560 int poff; in roff_openeqn() local 1573 poff = 0; in roff_openeqn() 1574 eqn_read(&r->eqn, line, buf, offs, &poff); in roff_openeqn()
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | nss_common.c | 1585 nss_pack_dbd(void *buffer, size_t bufsize, nss_db_params_t *p, size_t *poff) in nss_pack_dbd() argument 1589 size_t off = *poff; in nss_pack_dbd() 1645 *poff = off; in nss_pack_dbd()
|
/titanic_44/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_main.c | 1236 int poff = desc->u1.s1.pkt_offset; in unm_process_rcv() local 1258 pkt_length + poff + (adapter->ahw.cut_through ? 0 : in unm_process_rcv() 1284 vaddr += poff; in unm_process_rcv() 1299 mp->b_rptr += poff; in unm_process_rcv()
|
/titanic_44/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vnops.c | 1847 u_offset_t poff; in tmp_getapage() local 1874 err = swap_getphysname(vp, off, &pvp, &poff); in tmp_getapage() 1881 err = VOP_PAGEIO(pvp, pp, (u_offset_t)poff, PAGESIZE, in tmp_getapage()
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_vnops.c | 6434 nfs3_putpage_commit(vnode_t *vp, offset_t poff, size_t plen, cred_t *cr) in nfs3_putpage_commit() argument 6466 error = nfs3_putpage(vp, poff, plen, B_ASYNC, cr, NULL); in nfs3_putpage_commit() 6477 error = nfs3_putpage(vp, poff, plen, 0, cr, NULL); in nfs3_putpage_commit() 6495 error = nfs3_commit_vp(vp, poff, plen, cr); in nfs3_putpage_commit() 6504 nfs3_commit_vp(vnode_t *vp, u_offset_t poff, size_t plen, cred_t *cr) in nfs3_commit_vp() argument 6536 nfs3_get_commit_range(vp, poff, plen); in nfs3_commit_vp()
|
H A D | nfs4_vnops.c | 12297 nfs4_putpage_commit(vnode_t *vp, offset_t poff, size_t plen, cred_t *cr) in nfs4_putpage_commit() argument 12330 error = nfs4_putpage(vp, poff, plen, B_ASYNC, cr, NULL); in nfs4_putpage_commit() 12341 error = nfs4_putpage(vp, poff, plen, 0, cr, NULL); in nfs4_putpage_commit() 12358 error = nfs4_commit_vp(vp, poff, plen, cr, NFS4_WRITE_WAIT); in nfs4_putpage_commit() 12373 nfs4_commit_vp(vnode_t *vp, u_offset_t poff, size_t plen, in nfs4_commit_vp() argument 12417 nfs4_get_commit_range(vp, poff, plen); in nfs4_commit_vp()
|