Searched refs:newclust (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/fs/fat/ |
H A D | fat_write.c | 701 __u32 endclust = 0, newclust = 0; in set_contents() local 737 newclust = get_fatent(mydata, curclust); in set_contents() 738 if (!IS_LAST_CLUST(newclust, mydata->fatsize) && in set_contents() 739 CHECK_CLUST(newclust, mydata->fatsize)) { in set_contents() 746 curclust = newclust; in set_contents() 768 newclust = get_fatent(mydata, endclust); in set_contents() 770 if (IS_LAST_CLUST(newclust, mydata->fatsize)) in set_contents() 772 if (CHECK_CLUST(newclust, mydata->fatsize)) { in set_contents() 779 endclust = newclust; in set_contents() 802 if (IS_LAST_CLUST(newclust, mydata->fatsize)) in set_contents() [all …]
|
H A D | fat.c | 315 __u32 endclust, newclust; in get_contents() local 388 newclust = get_fatent(mydata, endclust); in get_contents() 389 if ((newclust - 1) != endclust) in get_contents() 391 if (CHECK_CLUST(newclust, mydata->fatsize)) { in get_contents() 392 debug("curclust: 0x%x\n", newclust); in get_contents() 396 endclust = newclust; in get_contents()
|