Home
last modified time | relevance | path

Searched refs:clustnum (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/fs/fat/
Dfat.c247 get_cluster(fsdata *mydata, __u32 clustnum, __u8 *buffer, unsigned long size) in get_cluster() argument
253 if (clustnum > 0) { in get_cluster()
254 startsect = clust_to_sect(mydata, clustnum); in get_cluster()
259 debug("gc - clustnum: %d, startsect: %d\n", clustnum, startsect); in get_cluster()
731 unsigned clustnum = START(parent->dent); in fat_itr_child() local
736 itr->start_clust = clustnum; in fat_itr_child()
737 if (clustnum > 0) { in fat_itr_child()
738 itr->clust = clustnum; in fat_itr_child()
739 itr->next_clust = clustnum; in fat_itr_child()
Dfat_write.c465 set_cluster(fsdata *mydata, u32 clustnum, u8 *buffer, u32 size) in set_cluster() argument
467 return set_sectors(mydata, clust_to_sect(mydata, clustnum), in set_cluster()
497 get_set_cluster(fsdata *mydata, __u32 clustnum, loff_t pos, __u8 *buffer, in get_set_cluster() argument
510 startsect = clust_to_sect(mydata, clustnum); in get_set_cluster()
513 clustnum, startsect, pos); in get_set_cluster()
697 static int check_overflow(fsdata *mydata, __u32 clustnum, loff_t size) in check_overflow() argument
701 if (clustnum > 0) in check_overflow()
702 startsect = clust_to_sect(mydata, clustnum); in check_overflow()