/freebsd-11.0-release/sys/dev/usb/ |
H A D | usb_dev.h | 125 usb_frlength_t bufsize; /* BULK and INTERRUPT buffer size */ member in struct:usb_fifo
|
H A D | usb_transfer.h | 215 usb_frlength_t bufsize; member in struct:usb_setup_params
|
H A D | usb_transfer.c | 88 .bufsize = USB_EP0_BUFSIZE, /* bytes */ 100 .bufsize = sizeof(struct usb_device_request), 402 parm->bufsize = setup->bufsize; 626 if ((parm->bufsize <= MIN_PKT) && 633 parm->bufsize = 0; /* automatic setup length */ 650 if (parm->bufsize == 0) { 652 parm->bufsize = xfer->max_frame_size; 655 parm->bufsize *= xfer->nframes; 665 /* round bufsize u [all...] |
H A D | usb_generic.c | 191 f->bufsize = UGEN_BULK_FS_BUFFER_SIZE; 195 f->bufsize = UGEN_BULK_HS_BUFFER_SIZE; 201 f->bufsize = 0; /* use "wMaxPacketSize" */ 252 usb_config[1].bufsize = sizeof(struct usb_device_request); 273 usb_config[0].bufsize = f->bufsize; 283 usb_config[0].bufsize = 0; /* use default */ 321 usb_config[1].bufsize = sizeof(struct usb_device_request); 342 usb_config[0].bufsize = f->bufsize; [all...] |
H A D | usb_msctest.c | 201 .bufsize = sizeof(struct bbb_cbw), 210 .bufsize = SCSI_MAX_LEN, 220 .bufsize = sizeof(struct usb_device_request), 229 .bufsize = SCSI_MAX_LEN, 239 .bufsize = sizeof(struct usb_device_request), 248 .bufsize = sizeof(struct bbb_csw), 261 .bufsize = SCSI_MAX_LEN,
|
/freebsd-11.0-release/libexec/rtld-elf/ |
H A D | rtld_printf.c | 432 rtld_snprintf(char *buf, size_t bufsize, const char *fmt, ...) argument 438 retval = rtld_vsnprintf(buf, bufsize, fmt, ap); 444 rtld_vsnprintf(char *buf, size_t bufsize, const char *fmt, va_list ap) argument 451 info.buf_total = info.remain = bufsize;
|
/freebsd-11.0-release/sbin/umount/ |
H A D | umount.c | 566 size_t bufsize; local 572 bufsize = (mntsize + 1) * sizeof(struct statfs); 573 if ((origbuf = malloc(bufsize)) == NULL) 575 mntsize = getfsstat(origbuf, (long)bufsize, MNT_NOWAIT);
|
/freebsd-11.0-release/contrib/sendmail/src/ |
H A D | parseaddr.c | 3097 size_t bufsize; local 3121 bufsize = strlen(p1) + strlen(p2) + 2; 3122 if (bufsize > sizeof(buf0)) 3123 buf = sm_malloc_x(bufsize); 3127 bufsize = sizeof(buf0); 3129 (void) sm_snprintf(buf, bufsize, "%s%c%s", p1, CONDELSE, p2); 3133 bufsize = strlen(p1) + 1; 3134 if (bufsize > sizeof(buf0)) 3135 buf = sm_malloc_x(bufsize); 3139 bufsize 3329 size_t bufsize; local [all...] |
/freebsd-11.0-release/contrib/subversion/subversion/include/ |
H A D | svn_error.h | 66 apr_size_t bufsize); 105 * @note @a buf and @a bufsize are provided in the interface so that 110 apr_size_t bufsize);
|
/freebsd-11.0-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | sysinfo.c | 747 const int bufsize = WideCharToMultiByte(CP_UTF8, 0, wcs, -1, 749 if (bufsize > 0) 751 char *const utf8 = apr_palloc(pool, bufsize + 1); 752 WideCharToMultiByte(CP_UTF8, 0, wcs, -1, utf8, bufsize, NULL, NULL); 1096 CFIndex bufsize; 1111 bufsize = 5 * CFStringGetLength(valref) + 1; 1112 value = apr_palloc(pool, bufsize); 1113 if (!CFStringGetCString(valref, (char*)value, bufsize, 743 const int bufsize = WideCharToMultiByte(CP_UTF8, 0, wcs, -1, local 1091 CFIndex bufsize; local
|
H A D | error.c | 656 svn_err_best_message(const svn_error_t *err, char *buf, apr_size_t bufsize) 664 return svn_strerror(err->apr_err, buf, bufsize); 683 svn_strerror(apr_status_t statcode, char *buf, apr_size_t bufsize) 690 apr_cpystrn(buf, _(defn->errdesc), bufsize); 694 return apr_strerror(statcode, buf, bufsize); 653 svn_err_best_message(const svn_error_t *err, char *buf, apr_size_t bufsize) argument 679 svn_strerror(apr_status_t statcode, char *buf, apr_size_t bufsize) argument
|
/freebsd-11.0-release/contrib/ntp/lib/isc/unix/ |
H A D | ifiter_getifaddrs.c | 41 unsigned int bufsize; /*%< (always 0) */ member in struct:isc_interfaceiter 70 iter->bufsize = 0;
|
/freebsd-11.0-release/contrib/libpcap/ |
H A D | dlpisubs.c | 328 p->bufsize = PKTBUFSIZE; 329 p->buffer = (u_char *)malloc(p->bufsize + p->offset);
|
H A D | pcap-bt-monitor-linux.c | 164 handle->bufsize = handle->snapshot + BT_CONTROL_SIZE + sizeof(pcap_bluetooth_linux_monitor_header); 184 handle->buffer = malloc(handle->bufsize);
|
H A D | pcap-can-linux.c | 151 handle->bufsize = 24; 186 handle->buffer = malloc(handle->bufsize);
|
H A D | sf-pcap-ng.c | 300 if (p->bufsize < bhdr.total_length) { 797 p->bufsize = 2048; 798 if (p->bufsize < total_length) 799 p->bufsize = total_length; 800 p->buffer = malloc(p->bufsize);
|
/freebsd-11.0-release/sys/dev/cxgb/ |
H A D | cxgb_ioctl.h | 200 uint32_t bufsize; member in struct:ch_up_la 217 uint32_t bufsize; member in struct:ch_up_ioqs
|
/freebsd-11.0-release/tools/regression/netinet6/inet6_rth/ |
H A D | inet6_rth-segments.c | 328 init_hdrs(struct msghdr *mhp, struct cmsghdr *cmhp, char *bufp, size_t bufsize) argument 335 memset((void *)bufp, 0, bufsize);
|
/freebsd-11.0-release/usr.bin/indent/ |
H A D | indent.c | 109 combuf = (char *) malloc(bufsize); 112 labbuf = (char *) malloc(bufsize); 115 codebuf = (char *) malloc(bufsize); 118 tokenbuf = (char *) malloc(bufsize); 121 l_com = combuf + bufsize - 5; 122 l_lab = labbuf + bufsize - 5; 123 l_code = codebuf + bufsize - 5; 124 l_token = tokenbuf + bufsize - 5;
|
/freebsd-11.0-release/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_gpio.c | 199 bcm_gpio_func_str(uint32_t nfunc, char *buf, int bufsize) argument 204 strncpy(buf, "input", bufsize); 207 strncpy(buf, "output", bufsize); 210 strncpy(buf, "alt0", bufsize); 213 strncpy(buf, "alt1", bufsize); 216 strncpy(buf, "alt2", bufsize); 219 strncpy(buf, "alt3", bufsize); 222 strncpy(buf, "alt4", bufsize); 225 strncpy(buf, "alt5", bufsize); 228 strncpy(buf, "invalid", bufsize); [all...] |
/freebsd-11.0-release/sys/dev/usb/storage/ |
H A D | umass.c | 498 .bufsize = sizeof(struct usb_device_request), 508 .bufsize = sizeof(struct usb_device_request), 518 .bufsize = sizeof(struct usb_device_request), 528 .bufsize = sizeof(umass_bbb_cbw_t), 537 .bufsize = UMASS_BULK_SIZE, 547 .bufsize = sizeof(struct usb_device_request), 556 .bufsize = UMASS_BULK_SIZE, 566 .bufsize = sizeof(struct usb_device_request), 575 .bufsize = sizeof(umass_bbb_csw_t), 588 .bufsize [all...] |
/freebsd-11.0-release/contrib/tnftp/src/ |
H A D | ftp.c | 575 * Read data from infd & write to outfd, using buf/bufsize as the temporary 584 copy_bytes(int infd, int outfd, char *buf, size_t bufsize, argument 598 bufchunk = bufsize; 609 inc = read(infd, buf, MIN((off_t)bufsize, bufrem)); 672 static size_t bufsize; local 775 if ((size_t)sndbuf_size > bufsize) { 778 bufsize = sndbuf_size; 779 buf = ftp_malloc(bufsize); 790 c = copy_bytes(fileno(fin), fileno(dout), buf, bufsize, 901 static size_t bufsize; local [all...] |
/freebsd-11.0-release/sys/dev/sound/isa/ |
H A D | ess.c | 103 unsigned int bufsize; member in struct:ess_info 341 isa_dmainit(rman_get_start(sc->drq1), sc->bufsize); 345 isa_dmainit(rman_get_start(sc->drq2), sc->bufsize); 571 if (sndbuf_alloc(ch->buffer, sc->parent_dmat, 0, sc->bufsize) != 0) 818 sc->bufsize = pcm_getbuffersize(dev, 4096, ESS_BUFFSIZE, 65536); 861 /*maxsize*/sc->bufsize, /*nsegments*/1, 876 rman_get_start(sc->drq1), buf, sc->bufsize,
|
H A D | sb16.c | 91 unsigned int bufsize; member in struct:sb_info 490 isa_dmainit(rman_get_start(sb->drq1), sb->bufsize); 494 isa_dmainit(rman_get_start(sb->drq2), sb->bufsize); 686 if (sndbuf_alloc(ch->buffer, sb->parent_dmat, 0, sb->bufsize) != 0) 823 sb->bufsize = pcm_getbuffersize(dev, 4096, SB16_BUFFSIZE, 65536); 848 /*maxsize*/sb->bufsize, /*nsegments*/1, 863 rman_get_start(sb->drq1), status2, sb->bufsize,
|
/freebsd-11.0-release/sys/compat/linuxkpi/common/src/ |
H A D | linux_usb.c | 779 struct usb_host_endpoint *uhe, usb_size_t bufsize) 785 if (uhe->fbsd_buf_size == bufsize) { 791 uhe->fbsd_buf_size = bufsize; 793 if (bufsize == 0) { 809 cfg[0].bufsize = 0; /* use wMaxPacketSize */ 833 if (bufsize > (1 << 22)) { 835 bufsize = (1 << 22); 843 cfg[0].bufsize = bufsize; 778 usb_setup_endpoint(struct usb_device *dev, struct usb_host_endpoint *uhe, usb_size_t bufsize) argument
|