Searched refs:gAuthCmdBuf (Results 1 – 2 of 2) sorted by relevance
31 extern phNci_mfc_auth_cmd_t gAuthCmdBuf;211 gAuthCmdBuf.status = NFCSTATUS_FAILED; in EXTNS_MfcPresenceCheck()212 if (sem_init(&gAuthCmdBuf.semPresenceCheck, 0, 0) == -1) { in EXTNS_MfcPresenceCheck()221 sem_destroy(&gAuthCmdBuf.semPresenceCheck); in EXTNS_MfcPresenceCheck()454 pthread_mutex_init(&gAuthCmdBuf.syncmutex, NULL); in phNxpExtns_ProcessSysMessage()455 pthread_mutex_lock(&gAuthCmdBuf.syncmutex); in phNxpExtns_ProcessSysMessage()457 pthread_mutex_unlock(&gAuthCmdBuf.syncmutex); in phNxpExtns_ProcessSysMessage()458 pthread_mutex_destroy(&gAuthCmdBuf.syncmutex); in phNxpExtns_ProcessSysMessage()489 pthread_mutex_init(&gAuthCmdBuf.syncmutex, NULL); in phNxpExtns_ProcessSysMessage()490 pthread_mutex_lock(&gAuthCmdBuf.syncmutex); in phNxpExtns_ProcessSysMessage()[all …]
39 phNci_mfc_auth_cmd_t gAuthCmdBuf; variable154 if (NULL != gAuthCmdBuf.pauth_cmd) { in phNxpExtns_MfcModuleDeInit()155 if (NULL != gAuthCmdBuf.pauth_cmd->buffer) { in phNxpExtns_MfcModuleDeInit()156 free(gAuthCmdBuf.pauth_cmd->buffer); in phNxpExtns_MfcModuleDeInit()157 gAuthCmdBuf.pauth_cmd->buffer = NULL; in phNxpExtns_MfcModuleDeInit()159 free(gAuthCmdBuf.pauth_cmd); in phNxpExtns_MfcModuleDeInit()160 gAuthCmdBuf.pauth_cmd = NULL; in phNxpExtns_MfcModuleDeInit()265 memset(&gAuthCmdBuf, 0, sizeof(phNci_mfc_auth_cmd_t)); in phNxpExtns_MfcModuleInit()266 gAuthCmdBuf.pauth_cmd = (phNfc_sData_t*)malloc(sizeof(phNfc_sData_t)); in phNxpExtns_MfcModuleInit()267 if (NULL == gAuthCmdBuf.pauth_cmd) { in phNxpExtns_MfcModuleInit()[all …]