Searched refs:bufcnt (Results 1 – 8 of 8) sorted by relevance
/titanic_50/usr/src/tools/aw/ |
H A D | aw.c | 176 size_t bufcnt = 0; in copyuntil_path() local 186 if (bufcnt >= bufsize) { in copyuntil_path() 195 buf[bufcnt++] = c; in copyuntil_path() 199 if (bufcnt == 0) in copyuntil_path() 206 buf[bufcnt] = '\0'; in copyuntil_path() 213 if ((wspace_len > 0) && (wspace_len < bufcnt) && in copyuntil_path() 216 bufcnt -= wspace_len; in copyuntil_path() 222 if ((proto_inc_len < bufcnt) && in copyuntil_path() 225 bufcnt -= proto_inc_len; in copyuntil_path() 227 } else if ((sys_inc_len < bufcnt) && in copyuntil_path() [all …]
|
/titanic_50/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_vnops.c | 774 kmem_free(info->vas, info->bufcnt * sizeof (caddr_t)); in hsfs_ra_task() 775 kmem_free(info->bufs, info->bufcnt * sizeof (struct buf)); in hsfs_ra_task() 776 kmem_free(info->sema, info->bufcnt * sizeof (ksema_t)); in hsfs_ra_task() 820 uint_t bufcnt; in hsfs_getpage_ra() local 907 bufcnt = (len + secsize - 1) / secsize; in hsfs_getpage_ra() 908 bufs = kmem_alloc(bufcnt * sizeof (struct buf), KM_SLEEP); in hsfs_getpage_ra() 909 vas = kmem_alloc(bufcnt * sizeof (caddr_t), KM_SLEEP); in hsfs_getpage_ra() 915 fio_done = kmem_alloc(bufcnt * sizeof (ksema_t), KM_SLEEP); in hsfs_getpage_ra() 935 ASSERT(count < bufcnt); in hsfs_getpage_ra() 1050 info->bufcnt = bufcnt; in hsfs_getpage_ra() [all …]
|
/titanic_50/usr/src/cmd/audio/audioconvert/ |
H A D | convert.cc | 59 unsigned bufcnt; // number of buffers to process member 143 bufs = list->bufcnt; in free_conv_list() 186 nlp[i].bufcnt = bufs; in append_conv_list() 725 (lp->bufcnt == 1) ? "" : MGET("(multi-channel)")); in do_convert() 764 if (lp->bufcnt == 1) { in do_convert() 768 for (i = 0; i < lp->bufcnt; i++) { in do_convert() 799 if (lp->bufcnt == 1) { in do_convert() 805 for (i = 0; i < lp->bufcnt; i++) { in do_convert()
|
/titanic_50/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | utilities.c | 255 long bufcnt, i; in bufinit() local 262 bufcnt = MAXBUFSPACE / fsbsize; in bufinit() 263 if (bufcnt < MINBUFS) in bufinit() 264 bufcnt = MINBUFS; in bufinit() 265 for (i = 0; i < bufcnt; i++) { in bufinit()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | ftp.c | 96 static ssize_t bufcnt; /* number of bytes in buf[] */ variable 104 #define fdio_getc(fd) (--bufcnt < 0 ? fdio_fillbuf((fd)) : \ 115 bufcnt = 0; in fdio_setbuf() 123 bufcnt = timedread(fd, buf, bufsize, timeout); in fdio_fillbuf() 124 if (bufcnt < 0) in fdio_fillbuf() 126 if (bufcnt <= 0) in fdio_fillbuf() 129 bufcnt--; in fdio_fillbuf()
|
/titanic_50/usr/src/uts/common/sys/fs/ |
H A D | hsfs_node.h | 206 uint_t bufcnt; /* Tot bufs allocated. */ member
|
/titanic_50/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | utilities.c | 194 int bufcnt, i; in bufinit() local 203 bufcnt = MAXBUFSPACE / sblock.fs_bsize; in bufinit() 204 if (bufcnt < MINBUFS) in bufinit() 205 bufcnt = MINBUFS; in bufinit() 206 for (i = 0; i < bufcnt; i++) { in bufinit()
|
/titanic_50/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_diskq.c | 1690 long bufcnt = 0; in rdc_diskq_buf2queue() local 1774 bufcnt += FBA_NUM(sizeof (*hdr)); in rdc_diskq_buf2queue() 1778 bufcnt -= FBA_NUM(sizeof (*hdr)); in rdc_diskq_buf2queue() 1786 bufcnt += hdr->dat.len; in rdc_diskq_buf2queue() 1852 INC_QNXTIO(dq, bufcnt); in rdc_diskq_buf2queue()
|