Searched refs:global_shm (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobj_mgr.c407 if (global_shm->num_priv_tok_obj >=
414 if (global_shm->num_publ_tok_obj >=
592 if (global_shm->num_priv_tok_obj >=
599 if (global_shm->num_publ_tok_obj >=
783 if (global_shm->num_priv_tok_obj >=
790 if (global_shm->num_publ_tok_obj >=
1000 global_shm->num_priv_tok_obj = 0;
1001 global_shm->num_publ_tok_obj = 0;
1003 (void) memset(&global_shm->publ_tok_objs, 0x0,
1005 (void) memset(&global_shm
[all...]
H A Dutility.c596 if (global_shm != NULL)
599 global_shm = (LW_SHM_TYPE *)calloc(1, sizeof (LW_SHM_TYPE));
600 if (global_shm == NULL) {
603 CreateXProcLock(&global_shm->mutex);
605 xproclock = (void *)&global_shm->mutex;
613 if (global_shm != NULL) {
614 free(global_shm);
615 global_shm = NULL;
H A Dapiutil.c452 return (Anchor != NULL && global_shm != NULL);
H A Dapi_interface.c405 if (!global_shm->token_available || (slotID > NUMBER_SLOTS_MANAGED))
1383 if (!global_shm->token_available || (slotID > NUMBER_SLOTS_MANAGED))
1407 if (!global_shm->token_available || (slotID > NUMBER_SLOTS_MANAGED))
1513 if (!global_shm->token_available || (slotID > NUMBER_SLOTS_MANAGED))
1539 if (!global_shm->token_available) {
1572 if (!global_shm->token_available || (slotID > NUMBER_SLOTS_MANAGED))
1703 if (!global_shm->token_available)
1772 if (!global_shm->token_available || (slotID > NUMBER_SLOTS_MANAGED))
H A Dglobals.c25 LW_SHM_TYPE *global_shm; variable
H A Dnew_host.c152 nv_token_data = &global_shm->nv_token_data;
173 global_shm->token_available = TRUE;
188 global_shm->publ_loaded = TRUE;
H A Dtpmtok_int.h526 extern LW_SHM_TYPE *global_shm;
H A Dtpm_specific.c1647 global_shm->priv_loaded = TRUE;

Completed in 103 milliseconds