Searched refs:lFileSize (Results 1 – 2 of 2) sorted by relevance
| /utopia/UTPA2-700.0.x/modules/pq/drv/pq/ |
| H A D | drvbw.c | 231 long lFileSize; in Open_bandwidthtable_Bin() local 249 lFileSize = pFile->f_pos; in Open_bandwidthtable_Bin() 250 if (lFileSize <= 0) in Open_bandwidthtable_Bin() 257 pu8Buffer = (MS_U8*)vmalloc(lFileSize); in Open_bandwidthtable_Bin() 268 u32Rst = vfs_read(pFile, pu8Buffer, lFileSize, &pos); in Open_bandwidthtable_Bin() 270 if(u32Rst != (MS_U32)lFileSize) in Open_bandwidthtable_Bin() 272 printk("Read %s Error %d %ld\n",pName, u32Rst, lFileSize); in Open_bandwidthtable_Bin()
|
| H A D | drvPQ.c | 771 long lFileSize; in Open_PQ_Bin() local 795 lFileSize = fileStat.st_size; in Open_PQ_Bin() 797 if (lFileSize <= 0) in Open_PQ_Bin() 803 pu8Buffer = (MS_U8*) malloc(lFileSize); in Open_PQ_Bin() 811 u32Rst = fread(pu8Buffer, 1, lFileSize, pFile); in Open_PQ_Bin() 812 if(u32Rst != (MS_U32)lFileSize) in Open_PQ_Bin() 814 printf("Read Main.bin Error %d %ld\n", u32Rst, lFileSize); in Open_PQ_Bin() 833 lFileSize = pFile->f_pos; in Open_PQ_Bin() 834 if (lFileSize <= 0) in Open_PQ_Bin() 841 pu8Buffer = (MS_U8*)vmalloc(lFileSize); in Open_PQ_Bin() [all …]
|