Searched refs:bufsize (Results 126 - 150 of 412) sorted by relevance

1234567891011>>

/freebsd-10.0-release/contrib/unbound/util/
H A Dnetevent.h383 * @param bufsize: size of buffer to create for handlers.
392 int fd, int num, size_t bufsize,
398 * @param bufsize: size of buffer to create for handlers.
404 size_t bufsize, comm_point_callback_t* callback, void* callback_arg);
410 * @param bufsize: size of buffer to create for handlers.
416 int fd, size_t bufsize,
/freebsd-10.0-release/sys/fs/fuse/
H A Dfuse_internal.c299 size_t bufsize,
311 if (bufsize < FUSE_NAME_OFFSET) {
316 if (bufsize < FUSE_NAME_OFFSET) {
325 if (bufsize < freclen) {
365 bufsize -= freclen;
452 size_t bufsize,
457 fdip->iosize = bufsize + cnp->cn_namelen + 1;
460 memcpy(fdip->indata, buf, bufsize);
461 memcpy((char *)fdip->indata + bufsize, cnp->cn_nameptr, cnp->cn_namelen);
462 ((char *)fdip->indata)[bufsize
296 fuse_internal_readdir_processdata(struct uio *uio, size_t reqsize, void *buf, size_t bufsize, void *param) argument
447 fuse_internal_newentry_makerequest(struct mount *mp, uint64_t dnid, struct componentname *cnp, enum fuse_opcode op, void *buf, size_t bufsize, struct fuse_dispatcher *fdip) argument
496 fuse_internal_newentry(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, enum fuse_opcode op, void *buf, size_t bufsize, enum vtype vtype) argument
[all...]
/freebsd-10.0-release/usr.bin/sockstat/
H A Dsockstat.c261 size_t len, bufsize; local
289 bufsize = 8192;
293 if ((buf = realloc(buf, bufsize)) == NULL)
295 len = bufsize;
300 if (errno != ENOMEM || len != bufsize)
302 bufsize *= 2;
403 size_t len, bufsize; local
420 bufsize = 8192;
424 if ((buf = realloc(buf, bufsize)) == NULL)
426 len = bufsize;
[all...]
/freebsd-10.0-release/usr.sbin/uathload/
H A Duathload.c118 int bufsize = 512, verbose = 0; local
170 if (ioctl(msg, USB_SET_RX_BUFFER_SIZE, &bufsize) < 0)
171 err(-1, "%s: USB_SET_RX_BUFFER_SIZE(%u)", msgdev, bufsize);
/freebsd-10.0-release/contrib/ntp/util/
H A Dansi2knr.c238 #define bufsize 5000 /* arbitrary size */ macro
302 buf = malloc(bufsize);
309 while ( fgets(line, (unsigned)(buf + bufsize - line), in) != NULL )
320 f: if ( line >= buf + (bufsize - 1) ) /* overflow check */
322 if ( fgets(line, (unsigned)(buf + bufsize - line), in) == NULL )
346 if ( line != buf + (bufsize - 1) ) /* overflow check */
/freebsd-10.0-release/sys/dev/ieee488/
H A Dupd7210.c201 u->buf_wp &= (u->bufsize - 1);
202 i = (u->buf_rp + u->bufsize - u->buf_wp) & (u->bufsize - 1);
232 u->bufsize = PAGE_SIZE;
306 z = u->bufsize - u->buf_rp;
317 u->buf_rp &= (u->bufsize - 1);
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Bin/
H A Dj_classflow.d51 /* increasing bufsize can reduce drops */
52 #pragma D option bufsize=16m
H A Dj_flow.d51 /* increasing bufsize can reduce drops */
52 #pragma D option bufsize=16m
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Java/
H A Dj_classflow.d51 /* increasing bufsize can reduce drops */
52 #pragma D option bufsize=16m
H A Dj_flow.d51 /* increasing bufsize can reduce drops */
52 #pragma D option bufsize=16m
/freebsd-10.0-release/contrib/apr-util/include/private/
H A Dapr_dbd_odbc_v2.h55 #define SQLGetDiagRec(type, h, i, state, native, buffer, bufsize, reslen) \
59 state, native, buffer, bufsize, reslen)
/freebsd-10.0-release/contrib/dtc/libfdt/
H A Dfdt.c213 int fdt_move(const void *fdt, void *buf, int bufsize) argument
217 if (fdt_totalsize(fdt) > bufsize)
/freebsd-10.0-release/contrib/serf/buckets/
H A Dsocket_buckets.c35 static apr_status_t socket_reader(void *baton, apr_size_t bufsize, argument
41 *len = bufsize;
/freebsd-10.0-release/crypto/openssh/
H A Dsshlogin.c73 char *buf, size_t bufsize)
78 strlcpy(buf, li.hostname, bufsize);
72 get_last_login_time(uid_t uid, const char *logname, char *buf, size_t bufsize) argument
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspace_map.c341 uint64_t bufsize, size, offset, end, space; local
361 bufsize = 1ULL << SPACE_MAP_BLOCKSHIFT;
362 entry_map = zio_buf_alloc(bufsize);
365 if (end > bufsize)
366 dmu_prefetch(os, smo->smo_object, bufsize, end - bufsize);
369 for (offset = 0; offset < end; offset += bufsize) {
370 size = MIN(end - offset, bufsize);
409 zio_buf_free(entry_map, bufsize);
474 uint64_t bufsize, star local
[all...]
/freebsd-10.0-release/sys/contrib/libfdt/
H A Dfdt.c213 int fdt_move(const void *fdt, void *buf, int bufsize) argument
217 if (fdt_totalsize(fdt) > bufsize)
/freebsd-10.0-release/bin/sh/
H A Doutput.h45 int bufsize; member in struct:output
/freebsd-10.0-release/contrib/apr/include/
H A Dapr_lib.h182 * @param bufsize The length of the password buffer.
185 * Note that the bufsize paramater is passed by reference for no
190 apr_size_t *bufsize);
/freebsd-10.0-release/usr.sbin/rpc.umntall/
H A Drpc.umntall.c230 size_t bufsize; local
239 bufsize = (mntsize + 1) * sizeof(struct statfs);
240 if ((mntbuf = malloc(bufsize)) == NULL)
242 mntsize = getfsstat(mntbuf, (long)bufsize, MNT_NOWAIT);
/freebsd-10.0-release/contrib/libpcap/
H A Dsf-pcap.c273 p->bufsize = p->snapshot;
274 if (p->bufsize <= 0) {
278 p->bufsize = 65536;
280 p->buffer = malloc(p->bufsize);
364 if (hdr->caplen > p->bufsize) {
406 * We can only keep up to p->bufsize bytes. Since
407 * caplen > p->bufsize is exactly how we got here,
408 * we know we can only keep the first p->bufsize bytes
413 hdr->caplen = p->bufsize;
414 memcpy(p->buffer, (char *)tp, p->bufsize);
[all...]
/freebsd-10.0-release/lib/libc/stdlib/
H A Dstrfmon.c531 size_t bufsize; local
577 bufsize = strlen(avalue)*2+1;
578 rslt = calloc(1, bufsize);
583 bufend = rslt + bufsize - 1; /* reserve space for trailing '\0' */
639 bufsize = bufsize - (bufend - rslt) + 1;
640 memmove(rslt, bufend, bufsize);
/freebsd-10.0-release/contrib/one-true-awk/
H A Dlib.c114 int bufsize = *pbufsize, savebufsize = bufsize; local
149 c = readrec(&buf, &bufsize, infile);
164 *pbufsize = bufsize;
191 int bufsize = *pbufsize; local
206 if (rr-buf+1 > bufsize)
207 if (!adjbuf(&buf, &bufsize, 1+rr-buf, recsize, &rr, "readrec 1"))
215 if (!adjbuf(&buf, &bufsize, 2+rr-buf, recsize, &rr, "readrec 2"))
220 if (!adjbuf(&buf, &bufsize, 1+rr-buf, recsize, &rr, "readrec 3"))
225 *pbufsize = bufsize;
[all...]
/freebsd-10.0-release/crypto/openssl/apps/
H A Denc.c109 unsigned char *buff=NULL,*bufsize=NULL; local
220 else if (strcmp(*argv,"-bufsize") == 0)
223 bufsize=(unsigned char *)*(++argv);
314 BIO_printf(bio_err,"%-14s buffer size\n","-bufsize <n>");
359 if (bufsize != NULL)
363 for (n=0; *bufsize; bufsize++)
365 i= *bufsize;
371 bufsize++;
375 if (*bufsize !
[all...]
/freebsd-10.0-release/sbin/hastd/
H A Dparse.y734 size_t bufsize;
758 bufsize = sizeof(buf);
759 if (sysctlbyname("kern.hostuuid", buf, &bufsize, NULL, 0) < 0) {
769 bufsize = sizeof(hostid);
770 if (sysctlbyname("kern.hostid", &hostid, &bufsize, NULL, 0) < 0) {
804 size_t bufsize;
824 bufsize = sizeof(buf);
825 if (sysctlbyname("kern.hostuuid", buf, &bufsize, NULL, 0) < 0) {
833 bufsize = sizeof(hostid);
834 if (sysctlbyname("kern.hostid", &hostid, &bufsize, NUL
[all...]
/freebsd-10.0-release/sys/arm/broadcom/bcm2835/
H A Dbcm2835_gpio.c142 bcm_gpio_func_str(uint32_t nfunc, char *buf, int bufsize) argument
147 strncpy(buf, "input", bufsize);
150 strncpy(buf, "output", bufsize);
153 strncpy(buf, "alt0", bufsize);
156 strncpy(buf, "alt1", bufsize);
159 strncpy(buf, "alt2", bufsize);
162 strncpy(buf, "alt3", bufsize);
165 strncpy(buf, "alt4", bufsize);
168 strncpy(buf, "alt5", bufsize);
171 strncpy(buf, "invalid", bufsize);
[all...]

Completed in 402 milliseconds

1234567891011>>