Searched refs:nPartitionID (Results 1 – 2 of 2) sorted by relevance
520 static TEEC_Result partitionDestroy(uint32_t nPartitionID) in partitionDestroy() argument524 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() argument556 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 …]
563 static TEEC_Result partitionDestroy(uint32_t nPartitionID) in partitionDestroy() argument567 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() argument599 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 …]