Home
last modified time | relevance | path

Searched refs:UNINT_LOG2_SHIFT (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/fs/vfs/bcache/src/
Dbcache.c224 *start = (i << UNINT_LOG2_SHIFT) + j; in FindFlagPos()
230 *end = (i << UNINT_LOG2_SHIFT) + j; in FindFlagPos()
240 *end = len << UNINT_LOG2_SHIFT; in FindFlagPos()
269 UINT32 flagUse = bc->sectorPerBlock >> UNINT_LOG2_SHIFT; in BcacheGetFlag()
303 if (sectorPos > ((i + 1) << UNINT_LOG2_SHIFT)) { in BcacheGetFlag()
305 currentSize = (((i + 1) << UNINT_LOG2_SHIFT) - start) * bc->sectorSize; in BcacheGetFlag()
315 if (sectorPos > ((i + 1) << UNINT_LOG2_SHIFT)) { in BcacheGetFlag()
316 sectorPos = (i + 1) << UNINT_LOG2_SHIFT; in BcacheGetFlag()
356 ret = FindFlagPos(block->flag, bc->sectorPerBlock >> UNINT_LOG2_SHIFT, &start, &end); in BcacheSyncBlock()
418 UINT32 len = bc->sectorPerBlock >> UNINT_LOG2_SHIFT; in BlockAllDirty()
/kernel/liteos_a/fs/vfs/include/bcache/
Dbcache.h51 #define UNINT_LOG2_SHIFT 5 macro
/kernel/liteos_a/drivers/block/disk/src/
Ddisk.c96 ((sectorsPerBlock >> UNINT_LOG2_SHIFT) <= BCACHE_BLOCK_FLAGS)) { in SetFatSectorsPerBlock()
1573 ((sectorPerBlock >> UNINT_LOG2_SHIFT) > BCACHE_BLOCK_FLAGS)) { in los_disk_set_bcache()