Home
last modified time | relevance | path

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

/hardware/ti/omap4xxx/security/tf_daemon/
Ddelegation_client.c389 static FILE* g_pPartitionFiles[16]; variable
524 if (g_pPartitionFiles[nPartitionID] != NULL) in partitionDestroy()
556 if (g_pPartitionFiles[nPartitionID] != NULL) in partitionCreate()
565 g_pPartitionFiles[nPartitionID] = fopen(g_pPartitionNames[nPartitionID], "w+b"); in partitionCreate()
567 if (g_pPartitionFiles[nPartitionID] == NULL) in partitionCreate()
589 if (g_pPartitionFiles[nPartitionID] != NULL) in partitionOpen()
597 g_pPartitionFiles[nPartitionID] = fopen(g_pPartitionNames[nPartitionID], "r+b"); in partitionOpen()
598 if (g_pPartitionFiles[nPartitionID] == NULL) in partitionOpen()
615 fseek(g_pPartitionFiles[nPartitionID], 0L, SEEK_END); in partitionOpen()
616 *pnPartitionSize = ftell(g_pPartitionFiles[nPartitionID]) / g_nSectorSize; in partitionOpen()
[all …]
/hardware/ti/omap4-aah/security/tf_daemon/
Ddelegation_client.c432 static FILE* g_pPartitionFiles[16]; variable
567 if (g_pPartitionFiles[nPartitionID] != NULL) in partitionDestroy()
599 if (g_pPartitionFiles[nPartitionID] != NULL) in partitionCreate()
608 g_pPartitionFiles[nPartitionID] = fopen(g_pPartitionNames[nPartitionID], "w+b"); in partitionCreate()
610 if (g_pPartitionFiles[nPartitionID] == NULL) in partitionCreate()
632 if (g_pPartitionFiles[nPartitionID] != NULL) in partitionOpen()
640 g_pPartitionFiles[nPartitionID] = fopen(g_pPartitionNames[nPartitionID], "r+b"); in partitionOpen()
641 if (g_pPartitionFiles[nPartitionID] == NULL) in partitionOpen()
658 fseek(g_pPartitionFiles[nPartitionID], 0L, SEEK_END); in partitionOpen()
659 *pnPartitionSize = ftell(g_pPartitionFiles[nPartitionID]) / g_nSectorSize; in partitionOpen()
[all …]