/titanic_50/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSlotManager.c | 53 slot_data_t *slots; variable 100 slots = calloc(slot_count, sizeof (slot_data_t)); in meta_slotManager_initialize() 101 if (slots == NULL) { in meta_slotManager_initialize() 111 slots[i].fw_st_id = i + 1; in meta_slotManager_initialize() 113 &(slots[i].tokenobject_list_lock), NULL); in meta_slotManager_initialize() 120 if (slots) { in meta_slotManager_initialize() 121 free(slots); in meta_slotManager_initialize() 122 slots = NULL; in meta_slotManager_initialize() 141 if (slots == NULL) in meta_slotManager_finalize() 159 session = slots[slot].session_pool.idle_list_head; in meta_slotManager_finalize() [all …]
|
H A D | metaMechManager.c | 57 mechinfo_t *slots; member 109 free(mechlist[i].slots); in meta_mechManager_finalize() 171 if (!mechlist[i].slots[j].initialized) in meta_mechManager_get_mechs() 174 if (mechlist[i].slots[j].supported) { in meta_mechManager_get_mechs() 239 if (!mechlist[index].slots[i].initialized || in meta_mechManager_get_slots() 240 !mechlist[index].slots[i].supported) in meta_mechManager_get_slots() 244 info = mechlist[index].slots[i].mechanism_info; in meta_mechManager_get_slots() 252 = &mechlist[index].slots[i]; in meta_mechManager_get_slots() 309 if (force_refresh || !mechlist[index].slots[slot].initialized) { in meta_mechManager_update_mech() 452 mechlist[index].slots[slotnum].slotnum = slotnum; in update_slotmech() [all …]
|
H A D | metaSlotToken.c | 277 mechinfo_t **slots = NULL; in meta_GetMechanismInfo() local 304 slots = mech_support_info.supporting_slots; in meta_GetMechanismInfo() 307 (void) memcpy(pInfo, &(slots[0]->mechanism_info), in meta_GetMechanismInfo() 315 thisValue = slots[i]->mechanism_info.ulMinKeySize; in meta_GetMechanismInfo() 321 thisValue = slots[i]->mechanism_info.ulMaxKeySize; in meta_GetMechanismInfo() 326 pInfo->flags |= slots[i]->mechanism_info.flags; in meta_GetMechanismInfo()
|
H A D | metaUtil.c | 859 mechinfo_t ***slots, unsigned long *slot_count, boolean_t token_only, in get_slotlist_for_mech() argument 884 *slots = mech_support_info->supporting_slots; in get_slotlist_for_mech() 906 *slots = mech_support_info->supporting_slots; in get_slotlist_for_mech() 926 mechinfo_t **slots = NULL; in meta_generate_keys() local 1017 &(session->mech_support_info), &slots, &slotCount, token_only, in meta_generate_keys() 1037 slotnum = slots[i]->slotnum; in meta_generate_keys() 1194 mechinfo_t **slots = NULL; in meta_wrap_key() local 1205 &(session->mech_support_info), &slots, &slotCount, in meta_wrap_key() 1215 slotnum = slots[i]->slotnum; in meta_wrap_key() 1310 mechinfo_t **slots = NULL; in meta_unwrap_key() local [all …]
|
H A D | metaObjectManager.c | 642 extern slot_data_t *slots; in meta_slot_object_activate() 645 slot = &(slots[object->creator_session->slotnum]); in meta_slot_object_activate() 681 extern slot_data_t *slots; in meta_slot_object_deactivate() 684 slot = &(slots[object->creator_session->slotnum]); in meta_slot_object_deactivate()
|
/titanic_50/usr/src/cmd/cmd-crypto/pktool/ |
H A D | tokens.c | 46 CK_SLOT_ID_PTR slots = NULL; in pk_tokens() local 64 if ((rv = get_token_slots(&slots, &slot_count)) != CKR_OK) { in pk_tokens() 82 if ((rv = C_GetTokenInfo(slots[i], &token_info)) != CKR_OK) { in pk_tokens() 96 free(slots); in pk_tokens()
|
/titanic_50/usr/src/uts/common/tnf/ |
H A D | tnf_types.h | 148 #define TNF_ARRAY_TAG(type, eltag, props, slots, kind) \ argument 160 slots } 192 #define TNF_STRUCT_TAG(type, props, slots, names, size) \ argument 204 slots, \ 207 #define TNF_STD_STRUCT_TAG(type, slots, names, size) \ argument 208 TNF_STRUCT_TAG(type, tnf_struct_properties, slots, names, size) 216 #define TNF_METATAG(type, props, slots, desc) \ argument 223 (sizeof (slots) - sizeof (slots[0])) * \ 229 slots, \
|
/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devinfo_prop_decode.c | 969 int slots; in di_slot_names_decode() local 974 if (rawlen < sizeof (slots)) in di_slot_names_decode() 977 slots = impl_di_prop_int_from_prom(rawdata, sizeof (slots)); in di_slot_names_decode() 978 if (slots == 0) { in di_slot_names_decode() 983 maxslots = sizeof (slots) * 8; in di_slot_names_decode() 986 if (slots & (1 << i)) in di_slot_names_decode() 995 sp = (char *)(rawdata + sizeof (slots)); in di_slot_names_decode() 996 maxsp = sp + (rawlen - sizeof (slots)); in di_slot_names_decode() 999 if (slots & (1 << i)) { in di_slot_names_decode()
|
/titanic_50/usr/src/lib/libtnf/ |
H A D | struct.c | 85 return (&slotinfo->slots[index]); in get_slot_indexed() 96 if (strcmp(name, slotinfo->slots[i].slot_name) == 0) in get_slot_named() 97 return (&slotinfo->slots[i]); in get_slot_named() 160 return (((char *)slot - (char *)&slotinfo->slots[0]) in tnf_get_slot_index()
|
H A D | info.c | 378 slotinfo->slots[i].slot_type = elt_info; in init_slots() 379 slotinfo->slots[i].slot_name = in init_slots() 393 slotinfo->slots[i].slot_offset = offset; in init_slots()
|
H A D | libtnf.h | 85 } slots[1]; member
|
/titanic_50/usr/src/cmd/mdb/common/modules/mpt_sas/ |
H A D | mpt_sas.c | 453 struct mptsas_cmd c, *q, *slots; in display_slotinfo() local 483 slots = mdb_alloc(sizeof (mptsas_cmd_t) * nslots, UM_SLEEP); in display_slotinfo() 488 if (mdb_vread(&slots[i], sizeof (mptsas_cmd_t), in display_slotinfo() 493 if ((slots[i].cmd_flags & CFLAG_CMDIOC) == 0) in display_slotinfo() 495 if (i != slots[i].cmd_slot) in display_slotinfo() 555 (i == slots[i].cmd_slot?" ":"BAD"), in display_slotinfo() 556 slots[i].cmd_slot, in display_slotinfo() 557 slots[i].cmd_flags, in display_slotinfo() 558 slots[i].cmd_pkt_flags, in display_slotinfo() 559 slots[i].cmd_pkt); in display_slotinfo() [all …]
|
/titanic_50/usr/src/uts/common/io/nxge/ |
H A D | nxge_hio_guest.c | 449 uint8_t slots, mask, slot; in res_map_parse() local 456 slots = (uint8_t)(res_map & 0xff); in res_map_parse() 460 if (slots & mask) in res_map_parse() 486 tdc_grp->map = slots; in res_map_parse() 488 group->map = slots; in res_map_parse() 495 port->tx_dma_map = slots; in res_map_parse() 497 nxge->tx_set.owned.map |= slots; in res_map_parse() 508 rdc_grp->map = slots; in res_map_parse() 509 group->map = slots; in res_map_parse() 511 nxge->rx_set.owned.map |= slots; in res_map_parse()
|
/titanic_50/usr/src/cmd/tnf/tnfxtract/ |
H A D | tnfxtract.c | 208 read_tnf_fwzone(tnf_ref32_t *dest, int start, int slots) in read_tnf_fwzone() argument 219 len = slots * sizeof (tnf_ref32_t); in read_tnf_fwzone() 230 ioctl_arg.slots = slots; in read_tnf_fwzone()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | tnf.h | 79 int slots; member
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_raid.c | 574 mptsas_slots_t *slots = mpt->m_active; in mptsas_raid_action_system_shutdown() local 608 if (slots->m_slot[MPTSAS_TM_SLOT(mpt)] != NULL) { in mptsas_raid_action_system_shutdown() 621 slots->m_slot[MPTSAS_TM_SLOT(mpt)] = cmd; in mptsas_raid_action_system_shutdown() 754 slots->m_slot[MPTSAS_TM_SLOT(mpt)] = NULL; in mptsas_raid_action_system_shutdown()
|
H A D | mptsas.c | 3551 mptsas_slots_t *slots = mpt->m_active; in mptsas_save_cmd() local 3560 ASSERT(slots->m_n_normal == (mpt->m_max_requests - 2)); in mptsas_save_cmd() 3570 start_rotor = slots->m_rotor; in mptsas_save_cmd() 3572 slot = slots->m_rotor++; in mptsas_save_cmd() 3573 if (slots->m_rotor > slots->m_n_normal) in mptsas_save_cmd() 3574 slots->m_rotor = 1; in mptsas_save_cmd() 3576 if (slots->m_rotor == start_rotor) in mptsas_save_cmd() 3578 } while (slots->m_slot[slot] != NULL); in mptsas_save_cmd() 3580 if (slots->m_slot[slot] != NULL) in mptsas_save_cmd() 3583 ASSERT(slot != 0 && slot <= slots->m_n_normal); in mptsas_save_cmd() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 1285 int slots, start_slot; in tazmo_physical_slot() local 1311 slots = 20; in tazmo_physical_slot() 1314 slots = 2; in tazmo_physical_slot() 1322 slots = slots - 1; in tazmo_physical_slot() 1323 for (slot = start_slot; slot <= slots; slot++) { in tazmo_physical_slot()
|
/titanic_50/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_mca.c | 1000 int slots; in gcpu_errorq_init() local 1015 slots = MAX(GCPU_MCA_ERRS_PERCPU * max_ncpus, GCPU_MCA_MIN_ERRORS); in gcpu_errorq_init() 1016 slots = MIN(slots, GCPU_MCA_MAX_ERRORS); in gcpu_errorq_init() 1019 NULL, slots, datasz, 1, ERRORQ_VITAL); in gcpu_errorq_init()
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 1492 int slots, start_slot; in tazmo_physical_slot() local 1518 slots = 20; in tazmo_physical_slot() 1521 slots = 2; in tazmo_physical_slot() 1525 for (slot = start_slot; slot <= slots; slot++) { in tazmo_physical_slot()
|
/titanic_50/usr/src/uts/common/sys/rsm/ |
H A D | rsm_in.h | 377 rsmipc_slot_t slots[RSMIPC_SZ]; member
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/grover/frutree/ |
H A D | system-board.info | 71 * set the SlotType for the cpu slots 153 * Populate PCI slots
|
H A D | piclfrutree.info | 99 * set the SlotType for the disk slots
|
/titanic_50/usr/src/uts/intel/io/intel_nb5000/ |
H A D | nb5000_init.c | 644 int slots; member 666 (rp->slots == nb_dimm_slots || in dimm_label() 701 rp->slots++; in check_memdevice() 718 r.slots = 0; in nb_smbios()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/excalibur/frutree/ |
H A D | piclfrutree.info | 114 * set the SlotType for the disk slots
|