Home
last modified time | relevance | path

Searched refs:sectorPos (Results 1 - 1 of 1) sorted by relevance

/kernel/liteos_a/fs/vfs/bcache/src/
H A Dbcache.c268 UINT32 i, n, f, sectorPos, val, start, pos, currentSize; in BcacheGetFlag() local
290 for (i = 0, sectorPos = 0; i < flagUse; i++) { in BcacheGetFlag()
299 sectorPos += n; in BcacheGetFlag()
303 if (sectorPos > ((i + 1) << UNINT_LOG2_SHIFT)) { in BcacheGetFlag()
304 start = sectorPos - n; in BcacheGetFlag()
307 start = sectorPos - n; in BcacheGetFlag()
315 if (sectorPos > ((i + 1) << UNINT_LOG2_SHIFT)) { in BcacheGetFlag()
316 sectorPos = (i + 1) << UNINT_LOG2_SHIFT; in BcacheGetFlag()

Completed in 2 milliseconds