Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/include/
H A Dfat.h83 + (mydata->fatsize != 32 ? 0 : \
85 #define IS_LAST_CLUST(x, fatsize) ((x) >= ((fatsize) != 32 ? \ argument
86 ((fatsize) != 16 ? 0xff8 : 0xfff8) : \
88 #define CHECK_CLUST(x, fatsize) ((x) <= 1 || \ argument
89 (x) >= ((fatsize) != 32 ? \
90 ((fatsize) != 16 ? 0xff0 : 0xfff0) : \
167 int fatsize; /* Size of FAT in bits */ member
/OK3568_Linux_fs/u-boot/fs/fat/
H A Dfat.c174 if (CHECK_CLUST(entry, mydata->fatsize)) { in get_fatent()
179 switch (mydata->fatsize) { in get_fatent()
199 mydata->fatsize, entry, entry, offset, offset); in get_fatent()
226 switch (mydata->fatsize) { in get_fatent()
243 mydata->fatsize, ret, entry, offset); in get_fatent()
345 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()
487 read_bootsectandvi(boot_sector *bs, volume_info *volinfo, int *fatsize) in read_bootsectandvi() argument
[all …]
H A Dfat_write.c303 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_long_file_name()
371 switch (mydata->fatsize) { in set_fatent_value()
416 switch (mydata->fatsize) { in set_fatent_value()
487 mydata->fatsize, entry, next_entry); in determine_fatent()
587 if (mydata->fatsize == 32) in flush_dir_table()
589 else if (mydata->fatsize == 16) in flush_dir_table()
591 else if (mydata->fatsize == 12) in flush_dir_table()
612 while (!CHECK_CLUST(entry, mydata->fatsize)) { in clear_fatent()
671 if (CHECK_CLUST(newclust, mydata->fatsize)) { in set_contents()
689 if (mydata->fatsize == 12) in set_contents()
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Dfat.c28 fatsize, 4, 0, do_fat_size,