Home
last modified time | relevance | path

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

/external/u-boot/include/
Dfat.h81 + (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
/external/u-boot/fs/fat/
Dfat_write.c253 (!itr->is_root || itr->fsdata->fatsize == 32) && in fill_dir_slot()
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()
477 if (!itr->is_root || mydata->fatsize == 32) in flush_dir()
634 if (mydata->fatsize == 32) in new_dir_table()
636 else if (mydata->fatsize == 16) in new_dir_table()
638 else if (mydata->fatsize == 12) in new_dir_table()
663 while (!CHECK_CLUST(entry, mydata->fatsize)) { in clear_fatent()
686 if (mydata->fatsize == 32) in set_start_cluster()
[all …]
Dfat.c168 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()
346 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_contents()
385 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_contents()
401 if (CHECK_CLUST(newclust, mydata->fatsize)) { in get_contents()
428 if (CHECK_CLUST(curclust, mydata->fatsize)) { in get_contents()
488 read_bootsectandvi(boot_sector *bs, volume_info *volinfo, int *fatsize) in read_bootsectandvi() argument
[all …]
/external/fsck_msdos/
Dfat.c178 size_t fatsize; member
353 return (fat->fatsize & ((off_t)fat32_cache_chunk_size - 1)); in fat_get_iosize()
706 fat->fatsize = boot->FATsecs * boot->bpbBytesPerSec; in _readfat()
716 fat->fatbuf = mmap(NULL, fat->fatsize, in _readfat()
735 fat->fatsize >= fat32_cache_size) { in _readfat()
740 fat->fat32_lastaddr = fat->fatsize & ~(fat32_cache_chunk_size); in _readfat()
742 readsize = fat->fatsize; in _readfat()
792 munmap(fat->fatbuf, fat->fatsize); in releasefat()
1153 blobs = howmany(fat->fatsize, fat32_cache_size); in copyfat()
1154 tailsize = fat->fatsize % fat32_cache_size; in copyfat()
[all …]
/external/u-boot/cmd/
Dfat.c27 fatsize, 4, 0, do_fat_size,