Searched defs:iosize (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dsetvbuf.c57 size_t iosize; local
107 flags |= sm_whatbuf(fp, &iosize, &ttyflag);
111 size = iosize;
125 if (size != iosize)
127 size = iosize;
148 ** SHOULD WE ALLOW MULTIPLES HERE (i.e., ok iff (size % iosize) == 0)?
151 if (size != iosize)
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dargnod.h38 long iosize; member in struct:ionod
/illumos-gate/usr/src/uts/common/io/
H A Dstrsun.c248 mcopyinuio(struct stdata *stp, uio_t *uiop, ssize_t iosize, argument
255 if (iosize == INFPSZ || iosize > uiop->uio_resid)
256 iosize = uiop->uio_resid;
259 maxblk = iosize;
262 if (iosize < 0 || maxblk < 0 || (maxblk == 0 && iosize > 0))
269 * We will enter the loop below if iosize is 0; it will allocate an
272 * down the much more likely case where iosize is larger than 0.
278 blocksize = MIN(iosize, maxbl
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_db.c186 int iosize; local
225 iosize = DEV_BSIZE * consecutive;
226 if (write(fd, buffer, iosize) != iosize) {
236 if (read(fd, buffer, iosize) != iosize) {
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_subr.c443 socopyinuio(uio_t *uiop, ssize_t iosize, size_t wroff, ssize_t maxblk, argument
448 ASSERT(iosize == INFPSZ || iosize > 0);
450 if (iosize == INFPSZ || iosize > uiop->uio_resid)
451 iosize = uiop->uio_resid;
454 maxblk = iosize;
457 if (iosize < 0 || maxblk < 0 || (maxblk == 0 && iosize > 0))
461 * We will enter the loop below if iosize i
[all...]
H A Dsocksyscalls.c2116 size_t iosize; local
2161 iosize = (int)MIN(sr->sr_maxpsz, size);
2170 iosize = (int)MIN(iosize, maxblk);
2173 mp = allocb_cred(iosize + extra, CRED(),
2176 mp = allocb(iosize + extra, BPRI_MED);
2185 ret_size = soreadfile(fp, mp->b_rptr, fileoff, &error, iosize);
2308 int iosize; local
2336 iosize = MBLKL(mp);
2345 ksize += iosize;
2717 int iosize; local
[all...]
H A Dsocktpi.c3843 ssize_t iosize; local
3872 iosize = sti->sti_tidu_size;
3873 if (iosize <= 0)
3875 if (uiop->uio_resid > iosize) {
3882 iosize = uiop->uio_resid;
3885 tdr.DATA_flag, iosize));
3947 error = kstrputmsg(SOTOV(so), mp, uiop, iosize,
4132 ssize_t iosize; local
4152 iosize = sti->sti_tidu_size;
4153 if (iosize <
4739 ssize_t iosize, rmax, maxblk; local
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/raid/
H A Draid_ioctl.c721 size_t iosize; local
730 iosize = dbtob(un->un_segsize);
731 buffer = kmem_alloc(iosize, KM_SLEEP);
737 init_buf(bp, B_READ | B_BUSY, iosize);
743 bp->b_bcount = iosize;
761 reset_buf(bp, B_READ | B_BUSY, iosize);
764 kmem_free(buffer, iosize);
H A Draid.c854 int iosize; local
1021 iosize = un->un_iosize;
1022 un->un_pbuffer = kmem_alloc(dbtob(iosize), KM_SLEEP);
1023 un->un_dbuffer = kmem_alloc(dbtob(iosize), KM_SLEEP);
2146 uint_t iosize; local
2153 iosize = un->un_iosize - 1;
2212 if (blkcnt > (size_t)iosize) {
2213 leftover += (blkcnt - iosize);
2214 blkcnt = iosize;
2301 int iosize; local
[all...]
/illumos-gate/usr/src/cmd/stat/iostat/
H A Diostat.c575 double iosize; /* kb/sec or MB/sec */ local
661 iosize = 1024.0;
663 iosize = 1048576.0;
670 krps /= iosize;
679 kwps /= iosize;
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c2532 * Use iosize = -1 to not send any M_DATA. iosize = 0 sends zero-length M_DATA.
2538 * If sd_maxblk is less than *iosize this routine might return without
2539 * transferring all of *iosize. In all cases, on return *iosize will contain
2543 strput(struct stdata *stp, mblk_t *mctl, struct uio *uiop, ssize_t *iosize, argument
2550 ssize_t count = *iosize;
2573 if ((error = strmakedata(iosize, uiop, stp, flags,
2618 if ((error = strmakedata(iosize, uiop, stp, flags, &mp)) != 0) {
2644 uioskip(uiop, *iosize);
2732 ssize_t iosize; local
[all...]
H A Ddumpsubr.c95 * the setting for dumpbuf.iosize, see dump_update_clevel.
435 size_t iosize; /* best transfer size for device */ member in struct:dumpbuf
455 size_t iosize = ptob(physmem >> dumpbuf_fraction); local
457 if (iosize < PAGESIZE)
458 iosize = PAGESIZE;
459 else if (iosize > xfer_size)
460 iosize = xfer_size;
461 if (iosize > dumpbuf_limit)
462 iosize = dumpbuf_limit;
463 return (iosize
[all...]
H A Dstrsubr.c2728 * If sd_maxblk is less than *iosize this routine can fail part way through
2729 * (due to an allocation failure). In this case on return *iosize will contain
2730 * the amount that was consumed. Otherwise *iosize will not be modified
2736 ssize_t *iosize,
2756 if (*iosize >= 0) {
2757 error = strmakedata(iosize, uiop, stp, flag, &mpdata);
2842 * If sd_maxblk is less than *iosize this routine can fail part way through
2843 * (due to an allocation failure). In this case on return *iosize will contain
2844 * the amount that was consumed. Otherwise *iosize will not be modified
2849 ssize_t *iosize,
2734 strmakemsg( struct strbuf *mctl, ssize_t *iosize, struct uio *uiop, stdata_t *stp, int32_t flag, mblk_t **mpp) argument
2848 strmakedata( ssize_t *iosize, struct uio *uiop, stdata_t *stp, int32_t flag, mblk_t **mpp) argument
[all...]

Completed in 124 milliseconds