Home
last modified time | relevance | path

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

/system/ulib/ftl/ftln/
A Dftln_rd.c307 int FtlnRdSects(void* buffer, ui32 sect, int count, void* vol) { in FtlnRdSects() argument
311 if (sect + count > ftl->num_vsects) in FtlnRdSects()
325 if (sect >= ftl->frst_clust_sect) in FtlnRdSects()
326 sect += ftl->clust_off; in FtlnRdSects()
330 return read_sectors(ftl, sect, count, buffer); in FtlnRdSects()
A Dftln_intrnl.c1374 int FtlnWrSects(const void* buf, ui32 sect, int count, void* vol) { in FtlnWrSects() argument
1379 if (sect + count > ftl->num_vsects) in FtlnWrSects()
1388 if (sect >= ftl->frst_clust_sect) in FtlnWrSects()
1389 sect += ftl->clust_off; in FtlnWrSects()
1393 if (sect == 0) { in FtlnWrSects()
1406 status = write_sectors(ftl, sect, count, buf); in FtlnWrSects()
1412 if (FLAG_IS_SET(ftl->flags, FTLN_FAT_VOL) && sect == ftl->vol_frst_sect) in FtlnWrSects()

Completed in 5 milliseconds