Searched refs:startsect (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/fs/fat/ |
D | fat_write.c | 402 set_sectors(fsdata *mydata, u32 startsect, u8 *buffer, u32 size) in set_sectors() argument 407 debug("startsect: %d\n", startsect); in set_sectors() 416 ret = disk_write(startsect++, 1, tmpbuf); in set_sectors() 427 ret = disk_write(startsect, nsects, buffer); in set_sectors() 433 startsect += nsects; in set_sectors() 443 ret = disk_write(startsect, 1, tmpbuf); in set_sectors() 475 u32 startsect, sect_offset, nsects; in flush_dir() local 482 startsect = mydata->rootdir_sect + sect_offset; in flush_dir() 487 return set_sectors(mydata, startsect, itr->block, in flush_dir() 501 __u32 startsect; in get_set_cluster() local [all …]
|
D | fat.c | 250 __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()
|