Home
last modified time | relevance | path

Searched refs:slotnum (Results 1 – 19 of 19) sorted by relevance

/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaMechManager.c132 CK_ULONG slotnum, num_slots; in meta_mechManager_get_mechs() local
147 for (slotnum = 0; slotnum < num_slots; slotnum++) { in meta_mechManager_get_mechs()
148 (void) meta_mechManager_update_slot(slotnum); in meta_mechManager_get_mechs()
335 meta_mechManager_update_slot(CK_ULONG slotnum) in meta_mechManager_update_slot() argument
345 fw_st_id = meta_slotManager_get_framework_table_id(slotnum); in meta_mechManager_update_slot()
412 rv = update_slotmech(slot_mechlist[mechnum], slotnum, index); in meta_mechManager_update_slot()
445 update_slotmech(CK_MECHANISM_TYPE mech, CK_ULONG slotnum, in update_slotmech() argument
452 mechlist[index].slots[slotnum].slotnum = slotnum; in update_slotmech()
453 fw_st_id = meta_slotManager_get_framework_table_id(slotnum); in update_slotmech()
466 mechlist[index].slots[slotnum].initialized = B_TRUE; in update_slotmech()
[all …]
H A DmetaObject.c353 CK_ULONG slotnum, num_slots; in meta_CopyObject() local
415 slotnum = get_keystore_slotnum(); in meta_CopyObject()
419 slotnum = src_object->master_clone_slotnum; in meta_CopyObject()
426 rv = meta_get_slot_session(slotnum, &slot_session, in meta_CopyObject()
431 rv = meta_object_get_clone(src_object, slotnum, in meta_CopyObject()
436 dst_object->tried_create_clone[slotnum] = B_TRUE; in meta_CopyObject()
468 for (slotnum = 0; slotnum < num_slots; slotnum++) { in meta_CopyObject()
470 if (slotnum == src_object->master_clone_slotnum) { in meta_CopyObject()
475 rv = meta_get_slot_session(slotnum, &slot_session, in meta_CopyObject()
481 rv = meta_object_get_clone(src_object, slotnum, in meta_CopyObject()
[all …]
H A DmetaUtil.c115 CK_ULONG slotnum; in meta_operation_init() local
193 slotnum = supporting_slots[i]->slotnum; in meta_operation_init()
208 if ((session->op1.session)->slotnum == slotnum) { in meta_operation_init()
222 rv = meta_get_slot_session(slotnum, &init_session, in meta_operation_init()
231 rv = meta_object_get_clone(key, slotnum, init_session, in meta_operation_init()
312 session->init.slotnum = slotnum; in meta_operation_init()
381 if ((session->op1.session)->slotnum == in meta_operation_init_softtoken()
466 session->init.slotnum = softtoken_slot_num; in meta_operation_init_softtoken()
650 slot_session->slotnum, slot_session, &slot_object); in meta_do_operation()
929 CK_ULONG slotnum; in meta_generate_keys() local
[all …]
H A DmetaSlotManager.c373 meta_slotManager_get_framework_table_id(CK_ULONG slotnum) in meta_slotManager_get_framework_table_id() argument
379 return (slots[slotnum].fw_st_id); in meta_slotManager_get_framework_table_id()
440 meta_get_slot_session(CK_ULONG slotnum, slot_session_t **session, in meta_get_slot_session() argument
447 if (slotnum >= num_slots) { in meta_get_slot_session()
451 pool = &slots[slotnum].session_pool; in meta_get_slot_session()
483 fw_st_id = slots[slotnum].fw_st_id; in meta_get_slot_session()
492 new_session->slotnum = slotnum; in meta_get_slot_session()
534 pool = &slots[session->slotnum].session_pool; in meta_release_slot_session()
H A DmetaObjectManager.c551 CK_ULONG slotnum, num_slots; in meta_object_dealloc() local
556 for (slotnum = 0; slotnum < num_slots; slotnum++) { in meta_object_dealloc()
560 clone = object->clones[slotnum]; in meta_object_dealloc()
565 get_keystore_slotnum() == slotnum))) { in meta_object_dealloc()
567 rv = meta_get_slot_session(slotnum, &obj_session, in meta_object_dealloc()
588 object->clones[slotnum] = NULL; in meta_object_dealloc()
645 slot = &(slots[object->creator_session->slotnum]); in meta_slot_object_activate()
684 slot = &(slots[object->creator_session->slotnum]); in meta_slot_object_deactivate()
987 if (dst_slot_session->slotnum == get_keystore_slotnum()) in clone_by_create()
1289 rv = get_wrap_mechanism(obj_class, key_type, src_slot_session->slotnum, in clone_by_wrap()
[all …]
H A DmetaGlobal.h242 CK_ULONG slotnum; member
285 CK_ULONG slotnum; member
323 CK_ULONG slotnum; /* slot where the init operation took place */ member
572 CK_RV meta_get_slot_session(CK_ULONG slotnum, slot_session_t **session,
582 CK_ULONG slotnum, boolean_t *supports, mechinfo_t **slot_info,
652 CK_ULONG slotnum, boolean_t token_only);
689 CK_SLOT_ID meta_slotManager_get_framework_table_id(CK_ULONG slotnum);
H A DmetaSession.c311 opstate.state[0].op_slotnum = slot_session->slotnum; in meta_GetOperationState()
363 rv = meta_object_get_clone(meta_enc_key, slot_session->slotnum, in meta_set_opstate()
370 rv = meta_object_get_clone(meta_auth_key, slot_session->slotnum, in meta_set_opstate()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/
H A Dpiclfrutree.c425 int i, err, slotnum; in do_fcal_init() local
434 slotnum = i - FCAL0; in do_fcal_init()
435 err = add_slot_prop(fcalsloth, slotnum); in do_fcal_init()
508 int i, err, slotnum; in do_power_supplies_init() local
540 slotnum = i - PS0; in do_power_supplies_init()
541 err = add_slot_prop(powersloth, slotnum); in do_power_supplies_init()
591 int i, err, slotnum; in do_motherboard_init() local
624 slotnum = i - CPUMOD0; in do_motherboard_init()
625 err = add_slot_prop(cpumemsloth, slotnum); in do_motherboard_init()
663 err = do_cpu_module_init(cpumemmodh, slotnum); in do_motherboard_init()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/
H A Dpiclfrutree.c347 int i, err, slotnum; in do_mem_init() local
355 slotnum = i - DIMM0; in do_mem_init()
356 err = add_slot_prop(memsloth, slotnum); in do_mem_init()
403 int i, err, slotnum; in do_power_supplies_init() local
435 slotnum = i - PS0; in do_power_supplies_init()
436 err = add_slot_prop(powersloth, slotnum); in do_power_supplies_init()
572 add_slot_prop(picl_nodehdl_t nodeh, int slotnum) in add_slot_prop() argument
583 err = ptree_create_and_add_prop(nodeh, &propinfo, &slotnum, &proph); in add_slot_prop()
769 int i, err, slotnum; in add_hotplug_fru_device() local
774 slotnum = i - PS0; in add_hotplug_fru_device()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/
H A Dpiclfrutree.c414 int i, err, slotnum; in do_power_supplies_init() local
446 slotnum = i - PS0; in do_power_supplies_init()
447 err = add_slot_prop(powersloth, slotnum); in do_power_supplies_init()
497 int i, err, slotnum; in do_centerplane_init() local
530 slotnum = i - CPUMOD0; in do_centerplane_init()
531 err = add_slot_prop(cpumemsloth, slotnum); in do_centerplane_init()
569 err = do_cpu_module_init(cpumemmodh, slotnum); in do_centerplane_init()
700 add_slot_prop(picl_nodehdl_t nodeh, int slotnum) in add_slot_prop() argument
711 err = ptree_create_and_add_prop(nodeh, &propinfo, &slotnum, &proph); in add_slot_prop()
886 int i, err, slotnum; in add_hotplug_fru_device() local
[all …]
/titanic_41/usr/src/uts/sun4u/montecarlo/io/
H A Dscsb.c266 static int tonga_psl_to_ssl(scsb_state_t *scsb, int slotnum);
2353 tonga_psl_to_ssl(scsb_state_t *scsb, int slotnum) in tonga_psl_to_ssl() argument
2357 return (slotnum); in tonga_psl_to_ssl()
2359 if (slotnum < 1 || slotnum > TG_MAX_SLOTS) { in tonga_psl_to_ssl()
2360 return (slotnum); in tonga_psl_to_ssl()
2365 slotnum, psl2ssl[slotnum]); in tonga_psl_to_ssl()
2368 return (psl2ssl[slotnum]); in tonga_psl_to_ssl()
2375 tonga_ssl_to_psl(scsb_state_t *scsb, int slotnum) in tonga_ssl_to_psl() argument
2379 return (slotnum); in tonga_ssl_to_psl()
2381 if (slotnum < 1 || slotnum > TG_MAX_SLOTS) { in tonga_ssl_to_psl()
[all …]
H A Dhsc.c677 int slotnum; in hsc_autoconfig() local
679 slotnum = hsc->slot_table_prop[i].pslotnum; in hsc_autoconfig()
680 thsp = hsc_find_slot(slotnum); in hsc_autoconfig()
686 slotnum); in hsc_autoconfig()
/titanic_41/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.c129 di_physlotinfo_get(topo_mod_t *mp, di_node_t src, int *slotnum, char **slotname) in di_physlotinfo_get() argument
137 *slotnum = -1; in di_physlotinfo_get()
139 (void) di_uintprop_get(mp, src, DI_PHYSPROP, (uint_t *)slotnum); in di_physlotinfo_get()
154 (void) sscanf((char *)&buf[4], "Slot%d", slotnum); in di_physlotinfo_get()
157 if (*slotnum == -1) in di_physlotinfo_get()
179 cbdata.cb_slotnum = *slotnum; in di_physlotinfo_get()
196 (void) snprintf(slotbuf, 16, "SLOT %d", *slotnum); in di_physlotinfo_get()
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Daxq.c310 if (softsp->slotnum && softsp->paused && use_axq_iopause && in axq_attach()
343 softsp->slotnum = softsp->portid & 0x1; in axq_attach()
398 ASSERT(axq_array[softsp->expid][softsp->slotnum] == NULL); in axq_attach()
399 axq_array[softsp->expid][softsp->slotnum] = softsp; in axq_attach()
423 if (softsp->slotnum == 0) { in axq_init()
489 if (softsp->slotnum == 0) { in axq_init()
546 if (softsp->slotnum && use_axq_iopause && axq_suspend_iopause) { in axq_detach()
554 softsp->slotnum, i); in axq_detach()
581 ASSERT(axq_array[softsp->expid][softsp->slotnum] in axq_detach()
583 axq_array[softsp->expid][softsp->slotnum] = NULL; in axq_detach()
[all …]
/titanic_41/usr/src/tools/ctf/cvt/
H A Dctfmerge.c302 int slotnum = i % wq->wq_nwipslots; in finalize_phase_one() local
303 wip_t *wipslot = &wq->wq_wip[slotnum]; in finalize_phase_one()
307 slotnum, i, wipslot->wip_nmerged); in finalize_phase_one()
309 debug(2, "clearing slot %d (%d)\n", slotnum, i); in finalize_phase_one()
313 wq->wq_wip[slotnum].wip_td = NULL; in finalize_phase_one()
352 wip_save_work(workqueue_t *wq, wip_t *slot, int slotnum) in wip_save_work() argument
362 pthread_cond_signal(&wq->wq_wip[(slotnum + 1) % in wip_save_work()
/titanic_41/usr/src/uts/sun4u/starcat/sys/
H A Daxq.h291 uchar_t slotnum; /* slot 0 or 1 */ member
/titanic_41/usr/src/uts/common/io/nge/
H A Dnge_tx.c310 nge_tx_start(nge_t *ngep, uint32_t slotnum) in nge_tx_start() argument
325 srp->tx_flow -= slotnum; in nge_tx_start()
/titanic_41/usr/src/uts/common/io/pciex/hotplug/
H A Dpcishpc.c1885 int *slotnum; in pcishpc_set_slot_name() local
1895 DDI_PROP_DONTPASS, "physical-slot#", &slotnum, &count) == in pcishpc_set_slot_name()
1897 slot_p->hs_phy_slot_num = slotnum[0]; in pcishpc_set_slot_name()
1898 ddi_prop_free(slotnum); in pcishpc_set_slot_name()
H A Dpciehpc.c563 int *slotnum; in pciehpc_set_slot_name() local
570 DDI_PROP_DONTPASS, "physical-slot#", &slotnum, &count) == in pciehpc_set_slot_name()
572 slot_p->hs_phy_slot_num = slotnum[0]; in pciehpc_set_slot_name()
573 ddi_prop_free(slotnum); in pciehpc_set_slot_name()