Searched refs:max_buf_len (Results 1 – 2 of 2) sorted by relevance
390 uint32 max_buf_len = MIN(buflen, DHD_STATLOG_STATSTR_BUF_LEN); in dhd_statlog_stat_name() local665 strncpy(buf, stat_str, max_buf_len); in dhd_statlog_stat_name()666 buf[max_buf_len - 1] = '\0'; in dhd_statlog_stat_name()