Searched defs:bufcnt (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dconvert.cc59 unsigned bufcnt; // number of buffers to process member in struct:conv_list
143 bufs = list->bufcnt;
186 nlp[i].bufcnt = bufs;
725 (lp->bufcnt == 1) ? "" : MGET("(multi-channel)"));
764 if (lp->bufcnt == 1) {
768 for (i = 0; i < lp->bufcnt; i++) {
799 if (lp->bufcnt == 1) {
805 for (i = 0; i < lp->bufcnt; i++) {
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dutilities.c255 long bufcnt, i; local
262 bufcnt = MAXBUFSPACE / fsbsize;
263 if (bufcnt < MINBUFS)
264 bufcnt = MINBUFS;
265 for (i = 0; i < bufcnt; i++) {
/illumos-gate/usr/src/tools/aw/
H A Daw.c176 size_t bufcnt = 0; local
186 if (bufcnt >= bufsize) {
195 buf[bufcnt++] = c;
199 if (bufcnt == 0)
206 buf[bufcnt] = '\0';
213 if ((wspace_len > 0) && (wspace_len < bufcnt) &&
216 bufcnt -= wspace_len;
222 if ((proto_inc_len < bufcnt) &&
225 bufcnt -= proto_inc_len;
227 } else if ((sys_inc_len < bufcnt)
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_diskq.c1690 long bufcnt = 0; local
1774 bufcnt += FBA_NUM(sizeof (*hdr));
1778 bufcnt -= FBA_NUM(sizeof (*hdr));
1786 bufcnt += hdr->dat.len;
1852 INC_QNXTIO(dq, bufcnt);
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dhsfs_node.h206 uint_t bufcnt; /* Tot bufs allocated. */ member in struct:hio_info
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c96 static ssize_t bufcnt; /* number of bytes in buf[] */ variable
104 #define fdio_getc(fd) (--bufcnt < 0 ? fdio_fillbuf((fd)) : \
115 bufcnt = 0;
123 bufcnt = timedread(fd, buf, bufsize, timeout);
124 if (bufcnt < 0)
126 if (bufcnt <= 0)
129 bufcnt--;
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c194 int bufcnt, i; local
203 bufcnt = MAXBUFSPACE / sblock.fs_bsize;
204 if (bufcnt < MINBUFS)
205 bufcnt = MINBUFS;
206 for (i = 0; i < bufcnt; i++) {
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c774 kmem_free(info->vas, info->bufcnt * sizeof (caddr_t));
775 kmem_free(info->bufs, info->bufcnt * sizeof (struct buf));
776 kmem_free(info->sema, info->bufcnt * sizeof (ksema_t));
820 uint_t bufcnt; local
907 bufcnt = (len + secsize - 1) / secsize;
908 bufs = kmem_alloc(bufcnt * sizeof (struct buf), KM_SLEEP);
909 vas = kmem_alloc(bufcnt * sizeof (caddr_t), KM_SLEEP);
915 fio_done = kmem_alloc(bufcnt * sizeof (ksema_t), KM_SLEEP);
935 ASSERT(count < bufcnt);
1050 info->bufcnt
1113 uint_t bufcnt; local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Darc.c2127 uint32_t bufcnt; local
2141 bufcnt = hdr->b_l1hdr.b_bufcnt;
2142 update_old = (bufcnt > 0 || hdr->b_l1hdr.b_pdata != NULL);
2146 bufcnt = 0;
2153 ASSERT(!GHOST_STATE(new_state) || bufcnt == 0);
2154 ASSERT(old_state != arc_anon || bufcnt <= 1);
2166 ASSERT0(bufcnt);
2184 ASSERT0(bufcnt);
2201 ASSERT0(bufcnt);
2206 * bufcnt o
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c3619 int cbucket, ubucket, bufcnt; local
3690 bufcnt = hdr.b_l1hdr.b_bufcnt;
3691 if (bufcnt >= data->hist_nbuckets)
3692 bufcnt = data->hist_nbuckets - 1;
3701 data->anon_bufs[bufcnt]++;
3705 data->mru_bufs[bufcnt]++;
3709 data->mfu_bufs[bufcnt]++;
3714 data->all_bufs[bufcnt]++;

Completed in 172 milliseconds