Lines Matching defs:buflen
1489 * *buflen is not modified if the TLV elt parameter is invalid, or is decremented
1493 bcm_next_tlv(bcm_tlv_t *elt, int *buflen)
1498 if (!bcm_valid_tlv(elt, *buflen))
1504 *buflen -= (TLV_HDR_LEN + len);
1507 if (!bcm_valid_tlv(elt, *buflen))
1519 bcm_parse_tlvs(void *buf, int buflen, uint key)
1525 totlen = buflen;
1550 bcm_parse_ordered_tlvs(void *buf, int buflen, uint key)
1556 totlen = buflen;
1788 bcm_mkiovar(char *name, char *data, uint datalen, char *buf, uint buflen)
1794 if ((len + datalen) > buflen)
1797 strncpy(buf, name, buflen);