Searched refs:curclust (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/u-boot/fs/fat/ |
| H A D | fat_write.c | 273 get_long_file_name(fsdata *mydata, int curclust, __u8 *cluster, in get_long_file_name() argument 279 __u8 *buflimit = cluster + mydata->sect_size * ((curclust == 0) ? in get_long_file_name() 300 if (curclust == 0) in get_long_file_name() 302 curclust = get_fatent(mydata, dir_curclust); in get_long_file_name() 303 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_long_file_name() 304 debug("curclust: 0x%x\n", curclust); in get_long_file_name() 309 dir_curclust = curclust; in get_long_file_name() 311 if (get_cluster(mydata, curclust, get_contents_vfatname_block, in get_long_file_name() 641 __u32 curclust = START(dentptr); in set_contents() local 653 if (!curclust) { in set_contents() [all …]
|
| H A D | fat.c | 323 __u32 curclust = START(dentptr); in get_contents() local 344 curclust = get_fatent(mydata, curclust); in get_contents() 345 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_contents() 346 debug("curclust: 0x%x\n", curclust); in get_contents() 361 if (get_cluster(mydata, curclust, get_contents_vfatname_block, in get_contents() 374 curclust = get_fatent(mydata, curclust); in get_contents() 375 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_contents() 376 debug("curclust: 0x%x\n", curclust); in get_contents() 383 endclust = curclust; in get_contents() 402 if (get_cluster(mydata, curclust, buffer, (int)actsize) != 0) { in get_contents() [all …]
|