Home
last modified time | relevance | path

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

/hardware/ti/omap4xxx/security/tf_daemon/
Ddelegation_client.c520 static TEEC_Result partitionDestroy(uint32_t nPartitionID) in partitionDestroy() argument
524 if (g_pPartitionFiles[nPartitionID] != NULL) in partitionDestroy()
533 if (unlink(g_pPartitionNames[nPartitionID]) != 0) in partitionDestroy()
536 if (_unlink(g_pPartitionNames[nPartitionID]) != 0) in partitionDestroy()
552 static TEEC_Result partitionCreate(uint32_t nPartitionID) in partitionCreate() argument
556 if (g_pPartitionFiles[nPartitionID] != NULL) in partitionCreate()
564 LogInfo("Create storage file \"%s\"", g_pPartitionNames[nPartitionID]); in partitionCreate()
565 g_pPartitionFiles[nPartitionID] = fopen(g_pPartitionNames[nPartitionID], "w+b"); in partitionCreate()
567 if (g_pPartitionFiles[nPartitionID] == NULL) in partitionCreate()
569 LogError("Cannot create storage file \"%s\"", g_pPartitionNames[nPartitionID]); in partitionCreate()
[all …]
/hardware/ti/omap4-aah/security/tf_daemon/
Ddelegation_client.c563 static TEEC_Result partitionDestroy(uint32_t nPartitionID) in partitionDestroy() argument
567 if (g_pPartitionFiles[nPartitionID] != NULL) in partitionDestroy()
576 if (unlink(g_pPartitionNames[nPartitionID]) != 0) in partitionDestroy()
579 if (_unlink(g_pPartitionNames[nPartitionID]) != 0) in partitionDestroy()
595 static TEEC_Result partitionCreate(uint32_t nPartitionID) in partitionCreate() argument
599 if (g_pPartitionFiles[nPartitionID] != NULL) in partitionCreate()
607 LogInfo("Create storage file \"%s\"", g_pPartitionNames[nPartitionID]); in partitionCreate()
608 g_pPartitionFiles[nPartitionID] = fopen(g_pPartitionNames[nPartitionID], "w+b"); in partitionCreate()
610 if (g_pPartitionFiles[nPartitionID] == NULL) in partitionCreate()
612 LogError("Cannot create storage file \"%s\"", g_pPartitionNames[nPartitionID]); in partitionCreate()
[all …]