Searched refs:tmpslot (Results 1 – 2 of 2) sorted by relevance
125 pkcs11_slot_t *tmpslot; in pkcs11_slot_allocate() local127 tmpslot = malloc(sizeof (pkcs11_slot_t)); in pkcs11_slot_allocate()129 if (tmpslot == NULL) in pkcs11_slot_allocate()132 bzero(tmpslot, sizeof (pkcs11_slot_t)); in pkcs11_slot_allocate()134 tmpslot->sl_wfse_state = WFSE_CLEAR; in pkcs11_slot_allocate()135 tmpslot->sl_enabledpol = B_FALSE; in pkcs11_slot_allocate()136 tmpslot->sl_no_wfse = B_FALSE; in pkcs11_slot_allocate()139 if (pthread_mutex_init(&tmpslot->sl_mutex, NULL) != 0) { in pkcs11_slot_allocate()140 free(tmpslot); in pkcs11_slot_allocate()150 slottable->st_slots[*pslot_id] = tmpslot; in pkcs11_slot_allocate()
1378 int tmpslot; in si_mop_commands() local1411 tmpslot = ddi_ffs(finished_tags) - 1; in si_mop_commands()1412 if (tmpslot == -1) { in si_mop_commands()1416 satapkt = si_portp->siport_slot_pkts[tmpslot]; in si_mop_commands()1421 port, tmpslot); in si_mop_commands()1428 CLEAR_BIT(si_portp->siport_pending_tags, tmpslot); in si_mop_commands()1429 CLEAR_BIT(finished_tags, tmpslot); in si_mop_commands()1437 tmpslot = ddi_ffs(failed_tags) - 1; in si_mop_commands()1438 if (tmpslot == -1) { in si_mop_commands()1442 "handling failed slot: 0x%x", tmpslot); in si_mop_commands()[all …]