/freebsd-current/contrib/tnftp/src/ |
H A D | fetch.c | 492 static size_t bufsize; local 1152 if ((size_t)rcvbuf_size > bufsize) { 1155 bufsize = rcvbuf_size; 1156 xferbuf = ftp_malloc(bufsize); 1172 if (fgets(xferbuf, bufsize, fin) == NULL) { 1221 bufrem = rate_get ? rate_get : (off_t)bufsize; 1226 MIN((off_t)bufsize, bufrem), fin); 1264 if (fgets(xferbuf, bufsize, fin) == NULL) {
|
/freebsd-current/contrib/libpcap/ |
H A D | pcap-bt-linux.c | 223 handle->bufsize = BT_CTRL_SIZE+sizeof(pcap_bluetooth_h4_header)+handle->snapshot; 244 handle->buffer = malloc(handle->bufsize);
|
H A D | pcap-sita.c | 416 static void nonUnified_IOP_port_name(char *buf, size_t bufsize, const char *proto, unit_t *u) { argument 418 snprintf(buf, bufsize, "%s_%d_%d", proto, u->chassis, u->geoslot); 421 static void unified_IOP_port_name(char *buf, size_t bufsize, const char *proto, unit_t *u, int IOPportnum) { argument 425 snprintf(buf, bufsize, "%s_%d", proto, portnum); 1020 handle->bufsize = handle->snapshot; 1024 handle->buffer = malloc(handle->bufsize + handle->offset);
|
H A D | sf-pcapng.c | 330 if (p->bufsize < bhdr.total_length) { 929 p->bufsize = 2048; 930 if (p->bufsize < total_length) 931 p->bufsize = total_length; 932 p->buffer = malloc(p->bufsize);
|
H A D | pcap-netfilter-linux.c | 121 len = recv(handle->fd, handle->buffer, handle->bufsize, 0); 594 handle->bufsize = 128 + handle->snapshot; 625 handle->buffer = malloc(handle->bufsize);
|
/freebsd-current/sys/dev/usb/serial/ |
H A D | ugensa.c | 116 .bufsize = UGENSA_BUF_SIZE, 125 .bufsize = UGENSA_BUF_SIZE,
|
H A D | ufoma.c | 240 .bufsize = sizeof(struct usb_cdc_notification), 248 .bufsize = (sizeof(struct usb_device_request) + UFOMA_CMD_BUF_SIZE), 258 .bufsize = (sizeof(struct usb_device_request) + 1), 270 .bufsize = UFOMA_BULK_BUF_SIZE, 279 .bufsize = UFOMA_BULK_BUF_SIZE,
|
H A D | ubsa.c | 200 .bufsize = UBSA_BSIZE, /* bytes */ 209 .bufsize = UBSA_BSIZE, /* bytes */ 219 .bufsize = 0, /* use wMaxPacketSize */
|
H A D | uvscom.c | 197 .bufsize = UVSCOM_BULK_BUF_SIZE, 206 .bufsize = UVSCOM_BULK_BUF_SIZE, 216 .bufsize = 0, /* use wMaxPacketSize */
|
H A D | uchcom.c | 247 .bufsize = UCHCOM_BULK_BUF_SIZE, 256 .bufsize = UCHCOM_BULK_BUF_SIZE, 266 .bufsize = 0, /* use wMaxPacketSize */
|
H A D | ulpt.c | 357 .bufsize = ULPT_BSIZE, 366 .bufsize = ULPT_BSIZE, 375 .bufsize = sizeof(struct usb_device_request) + 1,
|
H A D | umoscom.c | 221 .bufsize = UMOSCOM_BUFSIZE, 230 .bufsize = UMOSCOM_BUFSIZE, 240 .bufsize = 0, /* use wMaxPacketSize */
|
/freebsd-current/sys/netgraph/bluetooth/drivers/ubtbcmfw/ |
H A D | ubtbcmfw.c | 135 .bufsize = UBTBCMFW_BSIZE, 146 .bufsize = UBTBCMFW_BSIZE,
|
/freebsd-current/sys/tests/ |
H A D | ktest.c | 214 .bufsize = KTEST_MAX_BUF, 330 vsnprintf(ctx->buf, ctx->bufsize, fmt, ap);
|
/freebsd-current/lib/libc/iconv/ |
H A D | citrus_esdb.c | 62 _citrus_esdb_alias(const char *esname, char *buf, size_t bufsize) argument 65 return (_lookup_alias(_PATH_ESDB "/" ESDB_ALIAS, esname, buf, bufsize,
|
/freebsd-current/lib/libusb/ |
H A D | libusb01.c | 114 uint32_t bufsize; local 128 bufsize = 256; 130 bufsize = 4096; 132 bufsize = 65536; 134 bufsize = 16384; 142 err = libusb20_tr_open(xfer, bufsize, 1, ep_no);
|
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | interrupt.cc | 208 const size_t bufsize = FILESIZE; local 209 char buf[bufsize]; 213 r = read(fd, buf, bufsize); 584 const size_t bufsize = 80; local 585 char buf[bufsize]; 614 ASSERT_EQ(-1, read(fd, buf, bufsize));
|
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_redact.c | 526 int bufsize = redact_sync_bufsize; local 527 redact_block_phys_t *buf = kmem_alloc(bufsize * sizeof (*buf), 541 if (index == bufsize) { 544 bufsize * sizeof (*buf), buf, tx); 545 rl->rl_phys->rlp_num_entries += bufsize; 555 kmem_free(buf, bufsize * sizeof (*buf));
|
/freebsd-current/sys/dev/usb/ |
H A D | usb_generic.c | 198 f->bufsize = UGEN_BULK_FS_BUFFER_SIZE; 202 f->bufsize = UGEN_BULK_HS_BUFFER_SIZE; 208 f->bufsize = 0; /* use "wMaxPacketSize" */ 261 usb_config[1].bufsize = sizeof(struct usb_device_request); 282 usb_config[0].bufsize = f->bufsize; 292 usb_config[0].bufsize = 0; /* use default */ 330 usb_config[1].bufsize = sizeof(struct usb_device_request); 351 usb_config[0].bufsize = f->bufsize; [all...] |
/freebsd-current/sys/kern/ |
H A D | kern_rctl.c | 1712 size_t bufsize; local 1734 bufsize = uap->outbuflen; 1735 if (bufsize > rctl_maxbufsize) { 1740 buf = malloc(bufsize, M_RCTL, M_WAITOK); 1741 sb = sbuf_new(NULL, buf, bufsize, SBUF_FIXEDLEN); 1797 size_t bufsize; local 1835 bufsize = uap->outbuflen; 1836 if (bufsize > rctl_maxbufsize) { 1842 buf = malloc(bufsize, M_RCTL, M_WAITOK); 1843 sb = sbuf_new(NULL, buf, bufsize, SBUF_FIXEDLE [all...] |
/freebsd-current/contrib/one-true-awk/ |
H A D | run.c | 408 int bufsize = recsize; local 413 if ((buf = (char *) malloc(bufsize)) == NULL) 428 n = readrec(&buf, &bufsize, fp, newflag); 450 n = getrec(&buf, &bufsize, false); 1088 int bufsize = *pbufsize; local 1090 #define BUFSZ(a) (bufsize - ((a) - buf)) 1108 adjbuf(&buf, &bufsize, MAXNUMSIZE+1+p-buf, recsize, &p, "format1"); 1121 adjbuf(&buf, &bufsize, fmtwd+1+p-buf, recsize, &p, "format2"); 1145 adjbuf(&buf, &bufsize, fmtwd+1+p-buf, recsize, &p, "format"); 1153 adjbuf(&buf, &bufsize, fmtw [all...] |
/freebsd-current/usr.sbin/makefs/ |
H A D | ffs.c | 491 int i, bufsize; local 511 bufsize = 8192; 514 image, bufsize); 516 bufsize = sfs.f_iosize; 533 bufsize); 534 buf = ecalloc(1, bufsize); 545 i = write(fsopts->fd, buf, MIN(bufsize, bufrem));
|
/freebsd-current/sbin/ping/ |
H A D | ping6.c | 1819 ssize_t bufsize; local 1823 bufsize = 0; 1830 bufsize = CONTROLLEN - ((caddr_t)CMSG_DATA(cm) - (caddr_t)bufp); 1831 if (bufsize <= 0) 1836 pr_ip6opt(CMSG_DATA(cm), (size_t)bufsize); 1843 pr_ip6opt(CMSG_DATA(cm), (size_t)bufsize); 1847 pr_rthdr(CMSG_DATA(cm), (size_t)bufsize); 1854 pr_ip6opt(void *extbuf, size_t bufsize) argument 1874 if (bufsize < (extlen + CMSG_SPACE(0))) { 1875 extlen = bufsize 1916 pr_rthdr(void *extbuf, size_t bufsize) argument [all...] |
/freebsd-current/lib/libfetch/ |
H A D | http.c | 134 size_t bufsize; /* size of chunk buffer */ member in struct:httpio 196 if (io->bufsize >= len) 202 io->bufsize = len; 498 size_t bufsize; /* buffer size */ member in struct:__anon288 506 buf->bufsize = 0; 542 if (hbuf->bufsize < conn->buflen + 1) { 545 hbuf->bufsize = conn->buflen + 1; 570 if (hbuf->bufsize < len + 1) { 574 hbuf->bufsize = len + 1;
|
/freebsd-current/sys/netinet/ |
H A D | tcp_input.c | 3906 uint32_t bufsize; local 3929 bufsize = metrics.rmx_sendpipe; 3931 bufsize = so->so_snd.sb_hiwat; 3932 if (bufsize < mss) 3933 mss = bufsize; 3935 bufsize = roundup(bufsize, mss); 3936 if (bufsize > sb_max) 3937 bufsize = sb_max; 3938 if (bufsize > s [all...] |