Lines Matching refs:buflen
1384 bcm_next_tlv(bcm_tlv_t *elt, int *buflen) in bcm_next_tlv() argument
1389 if (!bcm_valid_tlv(elt, *buflen)) in bcm_next_tlv()
1395 *buflen -= (2 + len); in bcm_next_tlv()
1398 if (!bcm_valid_tlv(elt, *buflen)) in bcm_next_tlv()
1410 bcm_parse_tlvs(void *buf, int buflen, uint key) in bcm_parse_tlvs() argument
1416 totlen = buflen; in bcm_parse_tlvs()
1440 bcm_parse_ordered_tlvs(void *buf, int buflen, uint key) in bcm_parse_ordered_tlvs() argument
1446 totlen = buflen; in bcm_parse_ordered_tlvs()
1678 bcm_mkiovar(char *name, char *data, uint datalen, char *buf, uint buflen) in bcm_mkiovar() argument
1684 if ((len + datalen) > buflen) in bcm_mkiovar()
1687 strncpy(buf, name, buflen); in bcm_mkiovar()