Searched refs:fatsize (Results 1 - 4 of 4) sorted by relevance

/u-boot/include/
H A Dfat.h77 + (mydata->fatsize != 32 ? 0 : \
79 #define IS_LAST_CLUST(x, fatsize) ((x) >= ((fatsize) != 32 ? \
80 ((fatsize) != 16 ? 0xff8 : 0xfff8) : \
82 #define CHECK_CLUST(x, fatsize) ((x) <= 1 || \
83 (x) >= ((fatsize) != 32 ? \
84 ((fatsize) != 16 ? 0xff0 : 0xfff0) : \
166 int fatsize; /* Size of FAT in bits */ member in struct:__anon151
/u-boot/fs/fat/
H A Dfat.c175 if (CHECK_CLUST(entry, mydata->fatsize)) {
180 switch (mydata->fatsize) {
200 mydata->fatsize, entry, entry, offset, offset);
227 switch (mydata->fatsize) {
244 mydata->fatsize, ret, entry, offset);
354 if (CHECK_CLUST(curclust, mydata->fatsize)) {
393 if (CHECK_CLUST(curclust, mydata->fatsize)) {
409 if (CHECK_CLUST(newclust, mydata->fatsize)) {
436 if (CHECK_CLUST(curclust, mydata->fatsize)) {
562 read_bootsectandvi(boot_sector *bs, volume_info *volinfo, int *fatsize) argument
1200 int fatsize; local
1431 int fatsize; local
[all...]
H A Dfat_write.c301 (!itr->is_root || itr->fsdata->fatsize == 32) &&
447 switch (mydata->fatsize) {
492 switch (mydata->fatsize) {
563 mydata->fatsize, entry, next_entry);
662 if (!itr->is_root || mydata->fatsize == 32) {
846 if (mydata->fatsize == 32)
848 else if (mydata->fatsize == 16)
850 else if (mydata->fatsize == 12)
870 while (!CHECK_CLUST(entry, mydata->fatsize)) {
893 if (mydata->fatsize
[all...]
/u-boot/cmd/
H A Dfat.c24 fatsize, 4, 0, do_fat_size,

Completed in 59 milliseconds