Home
last modified time | relevance | path

Searched refs:clust_size (Results 1 – 3 of 3) sorted by relevance

/u-boot/include/
A Dfat.h25 #define DIRENTSPERCLUST ((mydata->clust_size * mydata->sect_size) / \
178 __u16 clust_size; /* Size of clusters in sectors */ member
192 return fsdata->data_begin + clust * fsdata->clust_size; in clust_to_sect()
197 return (sect - fsdata->data_begin) / fsdata->clust_size; in sect_to_clust()
/u-boot/fs/fat/
A Dfat_write.c658 mydata->clust_size * mydata->sect_size); in flush_dir()
665 nsects = min_t(u32, mydata->clust_size, in flush_dir()
711 if (ret != mydata->clust_size) { in get_set_cluster()
718 if (ret != mydata->clust_size) { in get_set_cluster()
727 startsect += mydata->clust_size; in get_set_cluster()
740 clustcount * mydata->clust_size, in get_set_cluster()
756 mydata->clust_size, in get_set_cluster()
758 if (ret != mydata->clust_size) { in get_set_cluster()
768 startsect += mydata->clust_size; in get_set_cluster()
777 if (ret != mydata->clust_size) { in get_set_cluster()
[all …]
A Dfat.c590 mydata->clust_size = bs.cluster_size; in get_fs_info()
596 if (mydata->clust_size == 0) { in get_fs_info()
600 if ((unsigned int)mydata->clust_size * mydata->sect_size > in get_fs_info()
603 (unsigned int)mydata->clust_size * mydata->sect_size, in get_fs_info()
610 (mydata->clust_size * 2); in get_fs_info()
619 (mydata->clust_size * 2); in get_fs_info()
645 mydata->clust_size); in get_fs_info()
833 read_size = min_t(u32, itr->fsdata->clust_size, in fat_next_cluster()
837 read_size = itr->fsdata->clust_size; in fat_next_cluster()
841 sect, itr->fsdata->clust_size, read_size); in fat_next_cluster()
[all …]

Completed in 9 milliseconds