Searched refs:nbuf (Results 26 - 50 of 110) sorted by relevance

12345

/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_descdma.c240 const char *name, int ds_size, int nbuf, int ndesc)
252 nbuf * ndesc);
262 bsize = sizeof(struct ath_buf) * nbuf;
273 for (i = 0; i < nbuf; i++, bf++, ds += (ndesc * dd->dd_descsize)) {
329 const char *name, int nbuf, int rx_status_len)
335 __func__, name, nbuf);
346 dd->dd_desc_len = rx_status_len * nbuf;
350 bsize = sizeof(struct ath_buf) * nbuf;
362 for (i = 0; i < nbuf; i++, bf++) {
238 ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, ath_bufhead *head, const char *name, int ds_size, int nbuf, int ndesc) argument
327 ath_descdma_setup_rx_edma(struct ath_softc *sc, struct ath_descdma *dd, ath_bufhead *head, const char *name, int nbuf, int rx_status_len) argument
/freebsd-11-stable/sys/kern/
H A Dsubr_param.c94 int nbuf; variable
112 SYSCTL_INT(_kern, OID_AUTO, nbuf, CTLFLAG_RDTUN | CTLFLAG_NOFETCH, &nbuf, 0,
283 nbuf = NBUF;
284 TUNABLE_INT_FETCH("kern.nbuf", &nbuf);
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipmon_y.y988 char nbuf[80];
1013 snprintf(nbuf, sizeof(nbuf), "%sdup", name);
1014 is->ims_dup = (ims_dup_func_t)dlsym(isi->imsi_handle, nbuf);
1016 snprintf(nbuf, sizeof(nbuf), "%sdestroy", name);
1017 is->ims_destroy = (ims_destroy_func_t)dlsym(isi->imsi_handle, nbuf);
1021 snprintf(nbuf, sizeof(nbuf), "%smatch", name);
1022 is->ims_match = (ims_match_func_t)dlsym(isi->imsi_handle, nbuf);
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_select.c90 char obuf[sizeof(oset) + 3], nbuf[sizeof(nset) + 3]; local
128 prmask(&nset, nbuf, sizeof(nbuf)),
/freebsd-11-stable/usr.sbin/config/
H A Dmkoptions.c294 char nbuf[MAXPATHLEN]; local
298 (void)strlcpy(nbuf, "options.h", sizeof(nbuf));
302 strlcpy(nbuf, po->o_file, sizeof(nbuf));
307 (void)strlcpy(hbuf, path(nbuf), sizeof(hbuf));
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dutil.c64 char *nbuf = sm_pmalloc_x(l); local
69 buf = nbuf;
/freebsd-11-stable/lib/libprocstat/
H A Dcore.c179 char nbuf[8]; local
208 if (!core_read(core, nbuf, sizeof(nbuf)))
210 if (strcmp(nbuf, "FreeBSD") != 0)
431 char nbuf[8]; local
458 if (!core_read(core, nbuf, sizeof(nbuf)))
460 if (strcmp(nbuf, "FreeBSD") != 0)
/freebsd-11-stable/usr.bin/login/
H A Dlogin.c824 char *nbuf, *p; local
827 nbuf = malloc(MAXLOGNAME);
828 if (nbuf == NULL)
832 for (p = nbuf; (ch = getchar()) != '\n'; ) {
837 if (p < nbuf + MAXLOGNAME - 1)
840 } while (p == nbuf);
843 if (nbuf[0] == '-') {
845 memmove(nbuf, nbuf + 1, strlen(nbuf));
[all...]
/freebsd-11-stable/stand/sparc64/boot1/
H A Dboot1.c597 char *nbuf; local
607 nbuf = &buf[sizeof buf - 1];
636 s = __uitoa(nbuf, ui, 10);
643 s = __ultoa(nbuf, ul, 10);
653 s = __uitoa(nbuf, ui, 8);
656 s = __ultoa(nbuf, ul, 8);
662 s = __ultoa(nbuf, ul, 16);
673 s = __uitoa(nbuf, ui, 10);
676 s = __ultoa(nbuf, ul, 10);
683 s = __uitoa(nbuf, u
[all...]
/freebsd-11-stable/stand/powerpc/boot1.chrp/
H A Dboot1.c622 char *nbuf; local
632 nbuf = &buf[sizeof buf - 1];
661 s = __uitoa(nbuf, ui, 10);
668 s = __ultoa(nbuf, ul, 10);
678 s = __uitoa(nbuf, ui, 8);
681 s = __ultoa(nbuf, ul, 8);
687 s = __ultoa(nbuf, ul, 16);
698 s = __uitoa(nbuf, ui, 10);
701 s = __ultoa(nbuf, ul, 10);
708 s = __uitoa(nbuf, u
[all...]
/freebsd-11-stable/contrib/libexecinfo/
H A Dbacktrace.c82 char *nbuf; local
98 nbuf = realloc(*buf, nbufsiz);
99 if (nbuf == NULL)
101 *buf = nbuf;
/freebsd-11-stable/contrib/file/src/
H A Dencoding.c76 unsigned char *nbuf = NULL; local
95 mlen = (nbytes + 1) * sizeof(nbuf[0]);
96 if ((nbuf = CAST(unsigned char *,
147 from_ebcdic(buf, nbytes, nbuf);
149 if (looks_ascii(nbuf, nbytes, *ubuf, ulen)) {
153 } else if (looks_latin1(nbuf, nbytes, *ubuf, ulen)) {
166 free(nbuf);
/freebsd-11-stable/lib/libc/resolv/
H A Dres_query.c413 char nbuf[MAXDNAME]; local
414 const char *longname = nbuf;
434 strncpy(nbuf, name, n);
435 nbuf[n] = '\0';
445 sprintf(nbuf, "%s.%s", name, domain);
/freebsd-11-stable/libexec/rtld-elf/
H A Drtld_printf.c105 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument
109 p = nbuf;
117 *lenp = p - nbuf;
125 char nbuf[MAXNBUF]; local
204 for (q = ksprintn(nbuf, num, *p++, NULL, 0); *q;)
376 p = ksprintn(nbuf, num, base, &n, upper);
/freebsd-11-stable/sys/cddl/dev/dtrace/
H A Ddtrace_debug.c209 * The buffer pointed to by `nbuf' must have length >= MAXNBUF.
212 dtrace_debug_ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument
216 p = nbuf;
223 *lenp = p - nbuf;
232 char nbuf[MAXNBUF]; local
311 for (q = dtrace_debug_ksprintn(nbuf, num, *p++, NULL, 0); *q;)
483 p = dtrace_debug_ksprintn(nbuf, num, base, &tmp, upper);
/freebsd-11-stable/stand/libsa/
H A Dprintf.c203 * The buffer pointed to by `nbuf' must have length >= MAXNBUF.
206 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument
210 p = nbuf;
217 *lenp = p - nbuf;
251 char nbuf[MAXNBUF]; local
336 for (q = ksprintn(nbuf, num, *p++, NULL, 0); *q;)
512 p = ksprintn(nbuf, num, base, &n, upper);
/freebsd-11-stable/contrib/sendmail/src/
H A Ddomain.c252 char nbuf[MAXDNAME]; local
331 (void) sm_snprintf(nbuf, sizeof(nbuf), "_%u._tcp.%s", port, host);
332 dr = dns_lookup_int(nbuf, C_IN, T_TLSA, 0, 0,
1266 char nbuf[SM_MAX(MAXPACKET, MAXDNAME*2+2)]; local
1505 (RES_UNC_T) nbuf, sizeof(nbuf));
1584 eom, ap, (RES_UNC_T) nbuf,
1585 sizeof(nbuf))) < 0)
1587 (void) sm_strlcpy(host, nbuf, hbsiz
[all...]
/freebsd-11-stable/secure/usr.bin/bdes/
H A Dbdes.c358 int nbuf[64]; /* used for hex/key translation */ local
377 if ((nbuf[i] = tobinhex(ibuf[i], 16)) == -1)
380 nbuf[i++] = 0;
383 ((nbuf[2*i]&0xf)<<4) | (nbuf[2*i+1]&0xf);
397 if ((nbuf[i] = tobinhex(ibuf[i], 2)) == -1)
400 nbuf[i++] = 0;
403 obuf[i] = (obuf[i]<<1)|nbuf[8*i+j];
/freebsd-11-stable/sys/rpc/
H A Drpc_generic.c277 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) argument
283 return __rpc_taddr2uaddr_af(si.si_af, nbuf);
297 __rpc_taddr2uaddr_af(int af, const struct netbuf *nbuf) argument
314 if (nbuf->len < sizeof(*sin))
316 sin = nbuf->buf;
328 if (nbuf->len < sizeof(*sin6))
330 sin6 = nbuf->buf;
342 sun = nbuf->buf;
/freebsd-11-stable/sys/vm/
H A Dvm_init.c222 size = (long)nbuf * BKVASIZE + (long)nswbuf * MAXPHYS +
233 size = (long)nbuf * BKVASIZE;
/freebsd-11-stable/lib/libc/rpc/
H A Drpc_generic.c578 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) argument
584 return __rpc_taddr2uaddr_af(si.si_af, nbuf);
598 __rpc_taddr2uaddr_af(int af, const struct netbuf *nbuf) argument
612 if (nbuf->len < sizeof(*sin))
614 sin = nbuf->buf;
625 if (nbuf->len < sizeof(*sin6))
627 sin6 = nbuf->buf;
638 sun = nbuf->buf;
/freebsd-11-stable/contrib/nvi/vi/
H A Dvs_line.c495 char nbuf[10]; local
533 len = snprintf(nbuf, sizeof(nbuf), O_NUMBER_FMT, (u_long)smp->lno);
534 (void)gp->scr_addstr(sp, nbuf, len);
/freebsd-11-stable/usr.sbin/ofwdump/
H A Dofwdump.c214 static void *nbuf = NULL; local
222 plen = ofw_getprop_alloc(fd, n, "name", &nbuf, &nblen, 1);
224 printf(": %.*s\n", (int)plen, (char *)nbuf);
/freebsd-11-stable/usr.bin/mail/
H A Dsend.c292 char *nbuf; local
376 if ((nbuf = malloc(strlen(detract(nsto, 0)) + 1)) == NULL)
378 if ((cp = yanklogin(detract(nsto, 0), nbuf)) != NULL)
379 (void)savemail(expand(nbuf), mtf);
380 free(nbuf);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_loopfilter.c197 char obuf[256], nbuf[256], tbuf[1024]; local
200 snprintb(nbuf, sizeof(nbuf), STA_FMT, nstatus);
203 snprintf(nbuf, sizeof(nbuf), "%04x", nstatus);
205 snprintf(tbuf, sizeof(tbuf), "%s status: %s -> %s", what, obuf, nbuf);

Completed in 321 milliseconds

12345