Lines Matching refs:file_len
5524 int file_len; in dhd_get_download_buffer() local
5531 file_len = *length; in dhd_get_download_buffer()
5541 buf = MALLOCZ(dhd->osh, file_len); in dhd_get_download_buffer()
5544 __FUNCTION__, file_len)); in dhd_get_download_buffer()
5549 len = dhd_os_get_image_block((char *)buf, file_len, image); in dhd_get_download_buffer()
5550 if ((len <= 0 || len > file_len)) { in dhd_get_download_buffer()
5551 MFREE(dhd->osh, buf, file_len); in dhd_get_download_buffer()
5822 int file_len = 0; in dhd_parse_logstrs_file() local
5861 file_len = dhd_os_get_image_size(file); in dhd_parse_logstrs_file()
5862 if (file_len <= 0) { in dhd_parse_logstrs_file()
5867 if (dhd_os_seek_file(file, file_len - (sizeof(fwid_str) - 1)) < 0) { in dhd_parse_logstrs_file()