Searched refs:fatsize (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/include/ |
H A D | fat.h | 81 + (mydata->fatsize != 32 ? 0 : \ 83 #define IS_LAST_CLUST(x, fatsize) ((x) >= ((fatsize) != 32 ? \ argument 84 ((fatsize) != 16 ? 0xff8 : 0xfff8) : \ 86 #define CHECK_CLUST(x, fatsize) ((x) <= 1 || \ argument 87 (x) >= ((fatsize) != 32 ? \ 88 ((fatsize) != 16 ? 0xff0 : 0xfff0) : \ 165 int fatsize; /* Size of FAT in bits */ member
|
/openbmc/u-boot/fs/fat/ |
H A D | fat_write.c | 269 switch (mydata->fatsize) { in set_fatent_value() 314 switch (mydata->fatsize) { in set_fatent_value() 385 mydata->fatsize, entry, next_entry); in determine_fatent() 607 if (mydata->fatsize == 32) in flush_dir_table() 609 else if (mydata->fatsize == 16) in flush_dir_table() 611 else if (mydata->fatsize == 12) in flush_dir_table() 636 while (!CHECK_CLUST(entry, mydata->fatsize)) { in clear_fatent() 659 if (mydata->fatsize == 32) in set_start_cluster() 713 if (!CHECK_CLUST(curclust, mydata->fatsize) || in set_contents() 714 IS_LAST_CLUST(curclust, mydata->fatsize)) { in set_contents() [all …]
|
H A D | fat.c | 168 if (CHECK_CLUST(entry, mydata->fatsize)) { in get_fatent() 173 switch (mydata->fatsize) { in get_fatent() 193 mydata->fatsize, entry, entry, offset, offset); in get_fatent() 220 switch (mydata->fatsize) { in get_fatent() 237 mydata->fatsize, ret, entry, offset); in get_fatent() 336 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_contents() 375 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_contents() 391 if (CHECK_CLUST(newclust, mydata->fatsize)) { in get_contents() 418 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_contents() 478 read_bootsectandvi(boot_sector *bs, volume_info *volinfo, int *fatsize) in read_bootsectandvi() argument [all …]
|
/openbmc/u-boot/cmd/ |
H A D | fat.c | 27 fatsize, 4, 0, do_fat_size,
|