Searched refs:gAuthCmdBuf (Results 1 – 2 of 2) sorted by relevance
33 extern phNci_mfc_auth_cmd_t gAuthCmdBuf;230 gAuthCmdBuf.status = NFCSTATUS_FAILED; in EXTNS_MfcPresenceCheck()231 if (sem_init (&gAuthCmdBuf.semPresenceCheck, 0, 0) == -1) in EXTNS_MfcPresenceCheck()241 sem_destroy (&gAuthCmdBuf.semPresenceCheck); in EXTNS_MfcPresenceCheck()487 pthread_mutex_init (&gAuthCmdBuf.syncmutex, NULL); in phNxpExtns_ProcessSysMessage()488 pthread_mutex_lock (&gAuthCmdBuf.syncmutex); in phNxpExtns_ProcessSysMessage()490 pthread_mutex_unlock (&gAuthCmdBuf.syncmutex); in phNxpExtns_ProcessSysMessage()491 pthread_mutex_destroy (&gAuthCmdBuf.syncmutex); in phNxpExtns_ProcessSysMessage()522 pthread_mutex_init (&gAuthCmdBuf.syncmutex, NULL); in phNxpExtns_ProcessSysMessage()523 pthread_mutex_lock (&gAuthCmdBuf.syncmutex); in phNxpExtns_ProcessSysMessage()[all …]
35 phNci_mfc_auth_cmd_t gAuthCmdBuf; variable162 if (NULL != gAuthCmdBuf.pauth_cmd) in phNxpExtns_MfcModuleDeInit()164 if (NULL != gAuthCmdBuf.pauth_cmd->buffer) in phNxpExtns_MfcModuleDeInit()166 free(gAuthCmdBuf.pauth_cmd->buffer); in phNxpExtns_MfcModuleDeInit()167 gAuthCmdBuf.pauth_cmd->buffer = NULL; in phNxpExtns_MfcModuleDeInit()169 free(gAuthCmdBuf.pauth_cmd); in phNxpExtns_MfcModuleDeInit()170 gAuthCmdBuf.pauth_cmd = NULL; in phNxpExtns_MfcModuleDeInit()281 memset (&gAuthCmdBuf, 0, sizeof(phNci_mfc_auth_cmd_t)); in phNxpExtns_MfcModuleInit()282 gAuthCmdBuf.pauth_cmd = malloc(sizeof(phNfc_sData_t)); in phNxpExtns_MfcModuleInit()283 if (NULL == gAuthCmdBuf.pauth_cmd) in phNxpExtns_MfcModuleInit()[all …]