Searched refs:startsect (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/fs/fat/ |
D | fat_write.c | 500 __u32 startsect; in set_cluster() local 504 startsect = clust_to_sect(mydata, clustnum); in set_cluster() 506 startsect = mydata->rootdir_sect; in set_cluster() 508 debug("clustnum: %d, startsect: %d\n", clustnum, startsect); in set_cluster() 517 ret = disk_write(startsect++, 1, tmpbuf); in set_cluster() 528 ret = disk_write(startsect, idx, buffer); in set_cluster() 534 startsect += idx; in set_cluster() 544 ret = disk_write(startsect, 1, tmpbuf); in set_cluster() 749 __u32 startsect, sect_num, offset; in check_overflow() local 752 startsect = clust_to_sect(mydata, clustnum); in check_overflow() [all …]
|
D | fat.c | 249 __u32 startsect; in get_cluster() local 253 startsect = clust_to_sect(mydata, clustnum); in get_cluster() 255 startsect = mydata->rootdir_sect; in get_cluster() 258 debug("gc - clustnum: %d, startsect: %d\n", clustnum, startsect); in get_cluster() 266 ret = disk_read(startsect++, 1, tmpbuf); in get_cluster() 278 ret = disk_read(startsect, idx, buffer); in get_cluster() 283 startsect += idx; in get_cluster() 291 ret = disk_read(startsect, 1, tmpbuf); in get_cluster()
|