Home
last modified time | relevance | path

Searched refs:maxlen (Results 1 – 4 of 4) sorted by relevance

/hardware/intel/bootstub/
Dbootstub.c98 static size_t strnlen(const char *s, size_t maxlen) in strnlen() argument
101 while (*es && maxlen) { in strnlen()
103 maxlen--; in strnlen()
109 static const char *strnchr(const char *s, int c, size_t maxlen) in strnchr() argument
112 for (i = 0; i < maxlen && *s != c; s++, i++) in strnchr()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Ddhdioctl.h98 uint maxlen; /* Maximum length of packets to send */ member
Dbcmutils.h226 uint16 maxlen; member
260 extern int pktpool_setmaxlen(pktpool_t *pktp, uint16 maxlen);
261 extern int pktpool_setmaxlen_strict(osl_t *osh, pktpool_t *pktp, uint16 maxlen);
268 #define pktpool_maxlen(pp) (POOLPTR(pp)->maxlen)
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c655 pktgen.maxlen = opts.uval; in dhd_pktgen()
658 pktgen.minlen = pktgen.maxlen = opts.uval; in dhd_pktgen()
684 if (pktgen.maxlen < pktgen.minlen) { in dhd_pktgen()
685 fprintf(stderr, "min/max error (%d/%d)\n", pktgen.minlen, pktgen.maxlen); in dhd_pktgen()
707 str, pktgen.count, pktgen.minlen, pktgen.maxlen, pktgen.freq); in dhd_pktgen()