Home
last modified time | relevance | path

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

/hardware/ti/omap4xxx/security/tf_daemon/
Ddelegation_client.c368 static uint32_t g_nSectorSize; variable
616 *pnPartitionSize = ftell(g_pPartitionFiles[nPartitionID]) / g_nSectorSize; in partitionOpen()
620 ((*pnPartitionSize) * g_nSectorSize) / 1024, in partitionOpen()
621 ((*pnPartitionSize) * g_nSectorSize)); in partitionOpen()
667 if (fseek(pFile, nSectorIndex*g_nSectorSize, SEEK_SET) != 0) in partitionRead()
674 g_nSectorSize, 1, in partitionRead()
711 if (fseek(pFile, nSectorIndex*g_nSectorSize, SEEK_SET) != 0) in partitionWrite()
718 g_nSectorSize, 1, in partitionWrite()
753 nCurrentSectorCount = ftell(pFile) / g_nSectorSize; in partitionSetSize()
763 nAddedBytesCount = (nNewSectorCount-nCurrentSectorCount)*g_nSectorSize; in partitionSetSize()
[all …]
/hardware/ti/omap4-aah/security/tf_daemon/
Ddelegation_client.c411 static uint32_t g_nSectorSize; variable
659 *pnPartitionSize = ftell(g_pPartitionFiles[nPartitionID]) / g_nSectorSize; in partitionOpen()
663 ((*pnPartitionSize) * g_nSectorSize) / 1024, in partitionOpen()
664 ((*pnPartitionSize) * g_nSectorSize)); in partitionOpen()
710 if (fseek(pFile, nSectorIndex*g_nSectorSize, SEEK_SET) != 0) in partitionRead()
717 g_nSectorSize, 1, in partitionRead()
738 nNbMsg = g_nSectorSize >> 8; in rpmbRead()
794 if (fseek(pFile, nSectorIndex*g_nSectorSize, SEEK_SET) != 0) in partitionWrite()
801 g_nSectorSize, 1, in partitionWrite()
816 nNbMsg = g_nSectorSize >> 8; in rpmbWrite()
[all …]