Searched refs:poff (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/swapfs/
H A Dswap_vnops.c152 u_offset_t poff; local
225 err = swap_getphysname(vp, off, &pvp, &poff);
231 err = VOP_PAGEIO(pvp, pp, poff,
245 ap->an_poff == poff) {
246 swap_phys_free(pvp, poff,
325 u_offset_t poff; local
404 if (swap_getphysname(vp, off, &pvp, &poff)) {
410 err = VOP_PAGEIO(pvp, pp, poff, PAGESIZE, B_READ,
421 if (ap->an_pvp != pvp || ap->an_poff != poff)
424 swap_phys_free(pvp, poff, PAGESIZ
609 u_offset_t poff, off; local
764 u_offset_t poff; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dbp_map.c276 uintptr_t poff; local
327 poff = (uintptr_t)addr & PAGEOFFSET;
328 psize = MIN(PAGESIZE - poff, size);
376 poff += offset;
389 poff = 0;
398 kaddr = hat_kpm_mapin(page, NULL) + poff;
401 hat_kpm_mapout(page, NULL, kaddr - poff);
406 poff = 0;
/illumos-gate/usr/src/boot/sys/boot/sparc64/boot1/
H A Dboot1.c385 off_t poff; local
394 poff = soff;
395 while (poff < soff + bytes) {
396 nb = lb - poff / DEV_BSIZE;
399 if (dskread(zbuf, poff / DEV_BSIZE, nb))
401 if ((poff / DEV_BSIZE + nb) * DEV_BSIZE > soff + bytes)
402 len = soff + bytes - poff;
404 len = (poff / DEV_BSIZE + nb) * DEV_BSIZE - poff;
405 memcpy(p, zbuf + poff
[all...]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_rq.c687 u_int16_t totpcount, totdcount, pcount, poff, doff, pdisp, ddisp; local
732 (error2 = md_get_uint16le(mdp, &poff)) != 0 ||
763 * There are pad bytes here, and the poff value
768 error2 = smb_t2_placedata(mdp->md_top, poff,
816 u_int32_t totpcount, totdcount, pcount, poff, doff, pdisp, ddisp; local
859 (error2 = md_get_uint32le(mdp, &poff)) != 0 ||
889 * There are pad bytes here, and the poff value
894 error2 = smb_t2_placedata(mdp->md_top, poff, pcount,
947 int error, doff, poff, txdcount, txpcount, nmlen, nmsize; local
1006 poff
1179 int error, doff, poff, txdcount, txpcount; local
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c221 size_t aoff, boff, poff, slotnumber; local
295 poff = ptob(slotnumber);
296 if (poff + sip->si_soff >= sip->si_eoff)
299 ASSERT(poff < sip->si_eoff);
306 return (poff + sip->si_soff);
1575 u_offset_t poff; local
1590 error = swap_getphysname(vp, off, &pvp, &poff);
1591 if (error || pvp != sip->si_vp || poff < sip->si_soff ||
1592 poff >= sip->si_eoff) {
1599 error = VOP_PAGEIO(pvp, pp, poff, PAGESIZ
1674 u_offset_t poff, pstart, prem; local
[all...]
H A Dseg_dev.c2692 * poff fault_offset |
2709 ulong_t poff; local
2731 poff = ((base + offset) & ~(pg - 1));
2732 uvaddr = dhp->dh_uvaddr + (poff - base);
2733 if ((poff >= base) &&
2734 ((poff + pg) <= (base + dhp->dh_len)) &&
2735 VA_PA_ALIGNED((uintptr_t)uvaddr, poff, pg))
2740 "devmap_roundup: base=%lx poff=%lx dhp=%p",
2741 base, poff, dhp);
2742 DEBUGF(2, (CE_CONT, "devmap_roundup: base %lx poff
[all...]
H A Dseg_map.c722 u_offset_t poff; local
740 poff = pp->p_offset;
741 adr = addr + (poff - off);
746 pp, vp, poff);
/illumos-gate/usr/src/uts/i86pc/io/
H A Drootnex.c2572 uint_t poff; local
2579 poff = dma->dp_dma.dmao_obj.pp_obj.pp_offset & MMU_PAGEOFFSET;
2582 poff = (uintptr_t)vaddr & MMU_PAGEOFFSET;
2584 pcnt = mmu_btopr(dma->dp_dma.dmao_size + poff);
3834 off_t poff; local
3865 poff = cookie->dmac_laddress & MMU_PAGEOFFSET;
3908 dma->dp_pgmap[pidx].pm_cbaddr)) + poff;
4035 poff = (sinfo->si_buf_offset + cur_offset) & MMU_PAGEOFFSET;
4036 pcnt = mmu_btopr(cookie->dmac_size + poff);
4222 off_t poff; local
4533 off_t poff; local
4740 off_t poff; local
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPgcore.c1045 off64_t poff, soff, doff, boff; local
1065 pgc.pgc_poff = &poff;
1151 poff = ehdr.e_phoff;
1209 poff = ehdr.e_phoff;
1288 if (gc_pwrite64(fd, &phdr, sizeof (phdr), poff) != 0)
1290 poff += sizeof (phdr);
1302 if (gc_pwrite64(fd, &phdr, sizeof (phdr), poff) != 0)
1304 poff += sizeof (phdr);
1476 if (gc_pwrite64(fd, &phdr, sizeof (phdr), poff) != 0)
1478 poff
[all...]
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_vnops.c82 ulong_t poff, segoff; local
87 poff = offset & PAGEOFFSET;
88 bytes = MIN(PAGESIZE - poff, uiop->uio_resid);
108 err = uiomove(base + segoff + poff, bytes, UIO_READ, uiop);
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dedit.c1287 int ed_virt_to_phys(Edit_t *ep,genchar *virt,genchar *phys,int cur,int voff,int poff) argument
1296 dp += poff;
1297 for(r=poff;c= *sp;sp++)
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_sp.c1814 extp->poff - MD_SP_WMSIZE, extp->len + MD_SP_WMSIZE,
2007 if (fprintf(fp, " -o %llu -b %llu ", extp->poff,
2246 extn, extp->poff, extp->len) == EOF)
2574 extp->poff - MD_SP_WMSIZE, extp->len + MD_SP_WMSIZE,
3705 extp->poff = mde->un_poff;
5554 extn, extp->voff, extp->poff, extp->len);
5567 if ((extp->poff + extp->len) == size) {
5572 extn, extp->poff, extp->len, size);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_common.c1575 * poff offset position pointer
1581 nss_pack_dbd(void *buffer, size_t bufsize, nss_db_params_t *p, size_t *poff) argument
1585 size_t off = *poff;
1641 *poff = off;
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c1236 int poff = desc->u1.s1.pkt_offset; local
1258 pkt_length + poff + (adapter->ahw.cut_through ? 0 :
1284 vaddr += poff;
1299 mp->b_rptr += poff;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_znode.c1625 int poff = end & PAGEOFFSET; local
1627 if (poff != 0 && (pp = page_lookup(vp, start, SE_SHARED))) {
1631 pagezero(pp, poff, PAGESIZE - poff);
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c1864 u_offset_t poff; local
1891 err = swap_getphysname(vp, off, &pvp, &poff);
1898 err = VOP_PAGEIO(pvp, pp, (u_offset_t)poff, PAGESIZE,
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_vnops.c6434 nfs3_putpage_commit(vnode_t *vp, offset_t poff, size_t plen, cred_t *cr) argument
6455 * Do a flush based on the poff and plen arguments. This
6457 * range specified by (poff, plen). This starts all of the
6466 error = nfs3_putpage(vp, poff, plen, B_ASYNC, cr, NULL);
6471 * Do a flush based on the poff and plen arguments. This
6473 * range specified by (poff, plen) and wait until all of
6477 error = nfs3_putpage(vp, poff, plen, 0, cr, NULL);
6495 error = nfs3_commit_vp(vp, poff, plen, cr);
6504 nfs3_commit_vp(vnode_t *vp, u_offset_t poff, size_t plen, cred_t *cr) argument
6536 nfs3_get_commit_range(vp, poff, ple
[all...]
H A Dnfs4_vnops.c12075 nfs4_putpage_commit(vnode_t *vp, offset_t poff, size_t plen, cred_t *cr) argument
12097 * Do a flush based on the poff and plen arguments. This
12099 * range specified by (poff, plen). This starts all of the
12108 error = nfs4_putpage(vp, poff, plen, B_ASYNC, cr, NULL);
12113 * Do a flush based on the poff and plen arguments. This
12115 * range specified by (poff, plen) and wait until all of
12119 error = nfs4_putpage(vp, poff, plen, 0, cr, NULL);
12136 error = nfs4_commit_vp(vp, poff, plen, cr, NFS4_WRITE_WAIT);
12151 nfs4_commit_vp(vnode_t *vp, u_offset_t poff, size_t plen, argument
12195 nfs4_get_commit_range(vp, poff, ple
[all...]
/illumos-gate/usr/src/uts/common/sys/lvm/
H A Dmdiox.x1065 xsp_offset_t poff;

Completed in 186 milliseconds