Home
last modified time | relevance | path

Searched refs:io_len (Results 1 – 25 of 34) sorted by relevance

12

/titanic_41/usr/src/uts/sun4/io/efcode/
H A Dfc_physio.c61 fc_physio_setup(struct buf **bpp, void *io_base, size_t io_len) in fc_physio_setup() argument
93 bp->b_bcount = io_len; in fc_physio_setup()
95 error = as_pagelock(asp, &pplist, io_base, io_len, S_WRITE); in fc_physio_setup()
117 fc_physio_free(struct buf **bpp, void *io_base, size_t io_len) in fc_physio_free() argument
129 as_pageunlock(bp->b_proc->p_as, pplist, io_base, io_len, S_WRITE); in fc_physio_free()
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_extvnops.c243 size_t done_len, io_len; in ufs_alloc_data() local
292 io_len = *len; in ufs_alloc_data()
296 uoff, (io_len - done_len), ip->i_size, (void *)fdbp)); in ufs_alloc_data()
305 while (error == 0 && done_len < io_len) { in ufs_alloc_data()
308 nbytes = (int)MIN(fs->fs_bsize - offsetn, io_len - done_len); in ufs_alloc_data()
486 uoff, (io_len - done_len))); in ufs_alloc_data()
H A Dufs_vnops.c4885 size_t io_len; in ufs_getpage_miss() local
4923 io_len = PAGESIZE; in ufs_getpage_miss()
4943 &io_len, off, contig, 0); in ufs_getpage_miss()
4958 xlen = io_len & PAGEOFFSET; in ufs_getpage_miss()
4962 bp = pageio_setup(pp, io_len, ip->i_devvp, B_READ); in ufs_getpage_miss()
4981 ip->i_nextrio = off + ((io_len + PAGESIZE - 1) & PAGEMASK); in ufs_getpage_miss()
4998 pvn_plist_init(pp, pl, plsz, off, io_len, rw); in ufs_getpage_miss()
5015 size_t io_len; in ufs_getpage_ra() local
5054 &io_len, io_off, contig, 1)) == NULL) in ufs_getpage_ra()
5060 if ((xlen = (io_len & PAGEOFFSET)) > 0) in ufs_getpage_ra()
[all …]
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_vnops.c3716 size_t io_len; in nfs_getapage() local
3817 io_len = PAGESIZE; in nfs_getapage()
3851 &io_len, blkoff, blksize, 0); in nfs_getapage()
3865 io_len = ptob(btopr(io_len)); in nfs_getapage()
3867 bp = pageio_setup(pp, io_len, vp, B_READ); in nfs_getapage()
3897 bzero(bp->b_un.b_addr, io_len); in nfs_getapage()
3926 rp->r_nextr = io_off + io_len; in nfs_getapage()
3961 pvn_plist_init(pp, pl, plsz, off, io_len, rw); in nfs_getapage()
3973 size_t io_len; in nfs_readahead() local
3994 &io_off, &io_len, blkoff, blksize, 1); in nfs_readahead()
[all …]
H A Dnfs3_vnops.c4620 size_t io_len; in nfs3_getapage() local
4722 io_len = PAGESIZE; in nfs3_getapage()
4756 &io_len, blkoff, blksize, 0); in nfs3_getapage()
4770 io_len = ptob(btopr(io_len)); in nfs3_getapage()
4772 bp = pageio_setup(pp, io_len, vp, B_READ); in nfs3_getapage()
4802 bzero(bp->b_un.b_addr, io_len); in nfs3_getapage()
4836 rp->r_nextr = io_off + io_len; in nfs3_getapage()
4871 pvn_plist_init(pp, pl, plsz, off, io_len, rw); in nfs3_getapage()
4883 size_t io_len; in nfs3_readahead() local
4904 &io_off, &io_len, blkoff, blksize, 1); in nfs3_readahead()
[all …]
H A Dnfs_client.c1578 nfs_async_pageio(vnode_t *vp, page_t *pp, u_offset_t io_off, size_t io_len, in nfs_async_pageio() argument
1614 args->a_nfs_len = (uint_t)io_len; in nfs_async_pageio()
1707 return ((*pageio)(vp, pp, io_off, io_len, flags, cr)); in nfs_async_pageio()
2395 size_t io_len; in nfs_putpages() local
2476 io_len = 0; in nfs_putpages()
2481 io_off += io_len) { in nfs_putpages()
2499 io_len = PAGESIZE; in nfs_putpages()
2502 &io_len, flags, cr); in nfs_putpages()
H A Dnfs4_vnops.c9839 size_t io_len; in nfs4_getapage() local
9943 io_len = PAGESIZE; in nfs4_getapage()
9975 &io_len, blkoff, blksize, 0); in nfs4_getapage()
9989 io_len = ptob(btopr(io_len)); in nfs4_getapage()
9991 bp = pageio_setup(pp, io_len, vp, B_READ); in nfs4_getapage()
10021 bzero(bp->b_un.b_addr, io_len); in nfs4_getapage()
10055 rp->r_nextr = io_off + io_len; in nfs4_getapage()
10090 pvn_plist_init(pp, pl, plsz, off, io_len, rw); in nfs4_getapage()
10102 size_t io_len; in nfs4_readahead() local
10124 &io_off, &io_len, blkoff, blksize, 1); in nfs4_readahead()
[all …]
H A Dnfs4_client.c1814 nfs4_async_pageio(vnode_t *vp, page_t *pp, u_offset_t io_off, size_t io_len, in nfs4_async_pageio() argument
1850 args->a_nfs4_len = (uint_t)io_len; in nfs4_async_pageio()
1941 return ((*pageio)(vp, pp, io_off, io_len, flags, cr)); in nfs4_async_pageio()
2414 size_t io_len; in nfs4_putpages() local
2494 io_len = 0; in nfs4_putpages()
2498 io_off += io_len) { in nfs4_putpages()
2516 io_len = PAGESIZE; in nfs4_putpages()
2519 &io_len, flags, cr); in nfs4_putpages()
/titanic_41/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c1919 size_t io_len = 0; in tmp_putpage() local
1989 for (io_off = off; io_off < eoff; io_off += io_len) { in tmp_putpage()
2006 io_len = PAGESIZE; in tmp_putpage()
2008 err = tmp_putapage(vp, pp, &io_off, &io_len, in tmp_putpage()
2064 size_t io_len; in tmp_putapage() local
2090 io_len = pp_len; in tmp_putapage()
2091 err = swap_newphysname(vp, offset, &io_off, &io_len, &pvp, &pstart); in tmp_putapage()
2106 ASSERT(pp_off <= io_off && io_off + io_len <= pp_off + pp_len); in tmp_putapage()
2107 ASSERT(io_off <= offset && offset < io_off + io_len); in tmp_putapage()
2118 if (io_off + io_len < pp_off + pp_len) { in tmp_putapage()
[all …]
/titanic_41/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c2184 size_t io_len, in udf_pageio() argument
2224 while (done_len < io_len) { in udf_pageio()
2239 cur_len = MIN(io_len - done_len, contig); in udf_pageio()
2252 cur_len = MIN(io_len - done_len, PAGESIZE); in udf_pageio()
2305 ASSERT(error || (cpp == NULL && npp == NULL && done_len == io_len)); in udf_pageio()
2397 size_t io_len; in ud_getpage_miss() local
2414 io_len = PAGESIZE; in ud_getpage_miss()
2417 &io_len, off, PAGESIZE, 0); in ud_getpage_miss()
2451 pvn_plist_init(pp, pl, plsz, (offset_t)off, io_len, rw); in ud_getpage_miss()
2461 size_t io_len; in ud_getpage_ra() local
[all …]
/titanic_41/usr/src/uts/common/fs/swapfs/
H A Dswap_vnops.c486 size_t io_len = 0; in swap_putpage() local
531 io_off += io_len) { in swap_putpage()
554 io_len = PAGESIZE; in swap_putpage()
571 io_len = PAGESIZE; in swap_putpage()
573 err = swap_putapage(vp, pp, &io_off, &io_len, in swap_putpage()
/titanic_41/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c2027 size_t io_len = 0; /* for lint */ in spec_putpage() local
2064 io_off += io_len) { in spec_putpage()
2081 io_len = PAGESIZE; in spec_putpage()
2083 err = spec_putapage(vp, pp, &tmpoff, &io_len, in spec_putpage()
2118 size_t io_len; in spec_putapage() local
2145 pp = pvn_write_kluster(vp, pp, &tmpoff, &io_len, blkoff, in spec_putapage()
2153 if (io_off + io_len > size) { in spec_putapage()
2154 ASSERT((io_off + io_len) - size < PAGESIZE); in spec_putapage()
2155 io_len = size - io_off; in spec_putapage()
2158 bp = spec_startio(vp, pp, io_off, io_len, B_WRITE | flags); in spec_putapage()
[all …]
/titanic_41/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c1491 size_t io_len; in pcfs_getapage() local
1501 pp = pvn_read_kluster(vp, off, seg, addr, &io_off, &io_len, in pcfs_getapage()
1548 pvn_plist_init(pp, pl, plsz, off, io_len, rw); in pcfs_getapage()
1636 size_t io_len; in pcfs_putpage() local
1702 io_off < pcp->pc_size; io_off += io_len) { in pcfs_putpage()
1719 io_len = PAGESIZE; in pcfs_putpage()
1721 err = pcfs_putapage(vp, pp, &io_off, &io_len, in pcfs_putpage()
1767 size_t io_len; in pcfs_putapage() local
1789 pp = pvn_write_kluster(vp, pp, &io_off, &io_len, pp->p_offset, in pcfs_putapage()
1802 for (pgoff = 0; pgoff < io_len && xferoffset < pcp->pc_size; in pcfs_putapage()
[all …]
/titanic_41/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c816 uint_t io_off, io_len; in hsfs_getpage_ra() local
893 io_len = (uint_t)io_len_tmp; in hsfs_getpage_ra()
922 xlen = io_len & PAGEOFFSET; in hsfs_getpage_ra()
926 DTRACE_PROBE2(hsfs_readahead, struct vnode *, vp, uint_t, io_len); in hsfs_getpage_ra()
931 io_end = io_off + io_len; in hsfs_getpage_ra()
1109 uint_t io_off, io_len; in hsfs_getapage() local
1257 io_len = (uint_t)io_len_tmp; in hsfs_getapage()
1297 xlen = io_len & PAGEOFFSET; in hsfs_getapage()
1304 io_end = io_off + io_len; in hsfs_getapage()
1558 pvn_plist_init(pp, pl, plsz, off, io_len, rw); in hsfs_getapage()
/titanic_41/usr/src/uts/common/vm/
H A Dpvn.h85 u_offset_t off, size_t io_len, enum seg_rw rw);
/titanic_41/usr/src/uts/sun4/sys/
H A Dfcode.h653 int fc_physio_setup(struct buf **bpp, void *io_base, size_t io_len);
654 void fc_physio_free(struct buf **bpp, void *io_base, size_t io_len);
/titanic_41/usr/src/uts/common/io/cardbus/
H A Dcardbus_cfg.c144 uint32_t io_len; member
588 if (entry->io_len > 0) { in cardbus_destroy_phdl()
590 res.ra_len = entry->io_len; in cardbus_destroy_phdl()
595 entry->io_base, entry->io_len); in cardbus_destroy_phdl()
764 if (entry->io_len > 0) { in cardbus_bridge_ranges()
1288 phdl->memory_len = phdl->io_len = 0; in cardbus_allocate_chunk()
1294 phdl->io_len = (uint32_t)res.ra_len; in cardbus_allocate_chunk()
1308 phdl->io_base, phdl->io_len); in cardbus_allocate_chunk()
1497 entry->io_len); in cardbus_setup_bridge()
1626 entry->io_base, entry->io_len, entry->io_last, entry->io_gran, in cardbus_update_bridge()
[all …]
/titanic_41/usr/src/uts/common/nfs/
H A Dnfs_clnt.h109 uint_t io_len; /* size of request */ member
155 #define a_nfs_len a_args.a_pageio_args.io_len
H A Dnfs4_clnt.h257 uint_t io_len; /* size of request */ member
298 #define a_nfs4_len a_args.a_pageio_args.io_len
/titanic_41/usr/src/uts/sun4/io/
H A Dpcicfg.c152 uint32_t io_len; member
1105 entry->io_len = 0; in pcicfg_configure_ntbridge()
1188 phdl->io_len = 0; in pcicfg_ntbridge_allocate_resources()
1204 phdl->io_len = (uint32_t)boundlen; in pcicfg_ntbridge_allocate_resources()
1215 phdl->io_base, phdl->io_len); in pcicfg_ntbridge_allocate_resources()
1296 range[0].size_lo = entry->io_len; in pcicfg_ntbridge_configure_done()
1393 if (entry->io_len) in pcicfg_ntbridge_unconfigure()
1396 entry->io_len); in pcicfg_ntbridge_unconfigure()
1431 entry->io_len = 0; in pcicfg_ntbridge_unconfigure()
1782 if (entry->io_len > 0) { in pcicfg_destroy_phdl()
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_vnops.c4332 size_t io_len; in zfs_putpage() local
4362 io_len = P2ROUNDUP_TYPED(len + (off - io_off), blksz, size_t); in zfs_putpage()
4364 io_len = 0; in zfs_putpage()
4366 if (io_len == 0) { in zfs_putpage()
4374 rl = zfs_range_lock(zp, io_off, io_len, RL_WRITER); in zfs_putpage()
4383 len = MIN(io_len, P2ROUNDUP(zp->z_size, PAGESIZE) - io_off); in zfs_putpage()
4385 for (off = io_off; io_off < off + len; io_off += io_len) { in zfs_putpage()
4400 err = zfs_putapage(vp, pp, &io_off, &io_len, flags, cr); in zfs_putpage()
4404 io_len = PAGESIZE; in zfs_putpage()
4539 size_t io_len; in zfs_fillpage() local
[all …]
/titanic_41/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c118 uint32_t io_len; member
970 entry->io_len = 0; in pcicfg_configure_ntbridge()
1041 phdl->io_len = 0; in pcicfg_ntbridge_allocate_resources()
1057 phdl->io_len = (uint32_t)boundlen; in pcicfg_ntbridge_allocate_resources()
1097 phdl->io_base, phdl->io_len); in pcicfg_ntbridge_allocate_resources()
1172 range[0].size_low = entry->io_len; in pcicfg_ntbridge_configure_done()
1325 entry->io_len = 0; in pcicfg_ntbridge_unconfigure()
1685 if (entry->io_len > 0) { in pcicfg_destroy_phdl()
1687 entry->io_base, entry->io_len, in pcicfg_destroy_phdl()
1801 io_residual = entry->io_len - (entry->io_last - entry->io_base); in pcicfg_bridge_assign()
[all …]
/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdc_bitmap.c102 nsc_size_t io_len) in rdc_ns_io() argument
123 fba_req = FBA_LEN(io_len); in rdc_ns_io()
127 tocopy = min(io_len, FBA_SIZE(fba_len)); in rdc_ns_io()
139 FBA_OFF(io_len) != 0) { in rdc_ns_io()
145 rc = nsc_read(tmp, fba_pos+FBA_NUM(io_len), 1, 0); in rdc_ns_io()
173 io_len -= copy_len; /* adjust total byte length remaining */ in rdc_ns_io()
/titanic_41/usr/src/uts/common/sys/
H A Dfem.h249 u_offset_t io_off, size_t io_len, int flags, \
387 size_t io_len, int flags, cred_t *cr,
/titanic_41/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c1146 size_t io_len, in lo_pageio() argument
1152 return (VOP_PAGEIO(vp, pp, io_off, io_len, flags, cr, ct)); in lo_pageio()

12