Lines Matching refs:fsize
1550 dhd_load_file_bytes(void *dhd, cmd_t *cmd, FILE *fp, int fsize, int start, uint blk_sz, bool verify) in dhd_load_file_bytes() argument
1562 if (!fsize || !fp) in dhd_load_file_bytes()
1567 while (tot_len < fsize) { in dhd_load_file_bytes()
1568 read_len = fsize - tot_len; in dhd_load_file_bytes()
1709 int fsize; in dhd_download()
1790 if ((fsize = file_size(fname)) < 0) { in dhd_download()
1835 fsize = (int)(trx_hdr.offsets[0]); in dhd_download()
1870 fsize = (int)(trx_hdr.offsets[0] + sizeof(struct trx_header)); in dhd_download()
1877 if ((ret = dhd_load_file_bytes(dhd, cmd, fp, fsize, start, memblock_sz, verify))) { in dhd_download()
1960 int fsize; in dhd_dldn()
2016 if ((fsize = file_size(fname)) < 0) { in dhd_dldn()
2023 if (ramsize && ((uint32)fsize > ramsize)) { in dhd_dldn()
2025 __FUNCTION__, fname, fsize, ramsize); in dhd_dldn()