Home
last modified time | relevance | path

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

/openbmc/u-boot/fs/fat/
H A Dfat_write.c405 u32 startsect; in set_cluster() local
411 startsect = mydata->rootdir_sect; in set_cluster()
439 startsect += idx; in set_cluster()
470 __u32 startsect; in get_set_cluster() local
482 clustnum, startsect, pos); in get_set_cluster()
504 startsect += mydata->clust_size; in get_set_cluster()
516 ret = disk_write(startsect, in get_set_cluster()
532 ret = disk_write(startsect, in get_set_cluster()
545 startsect += mydata->clust_size; in get_set_cluster()
672 __u32 startsect, sect_num, offset; in check_overflow() local
[all …]
H A Dfat.c250 __u32 startsect; in get_cluster() local
254 startsect = clust_to_sect(mydata, clustnum); in get_cluster()
256 startsect = mydata->rootdir_sect; in get_cluster()
259 debug("gc - clustnum: %d, startsect: %d\n", clustnum, startsect); in get_cluster()
267 ret = disk_read(startsect++, 1, tmpbuf); in get_cluster()
279 ret = disk_read(startsect, idx, buffer); in get_cluster()
284 startsect += idx; in get_cluster()
292 ret = disk_read(startsect, 1, tmpbuf); in get_cluster()