Searched refs:slots (Results 1 - 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotManager.c53 slot_data_t *slots; variable
81 * Count the number of slots in the framework.
100 slots = calloc(slot_count, sizeof (slot_data_t));
101 if (slots == NULL) {
111 slots[i].fw_st_id = i + 1;
113 &(slots[i].tokenobject_list_lock), NULL);
120 if (slots) {
121 free(slots);
122 slots = NULL;
140 /* If no slots t
[all...]
H A DmetaMechManager.c57 mechinfo_t *slots; member in struct:mechliststruct
109 free(mechlist[i].slots);
135 /* get number of slots */
171 if (!mechlist[i].slots[j].initialized)
174 if (mechlist[i].slots[j].supported) {
202 * Get list of all slots supporting the specified mechanism.
205 * space to accomodate the list of slots that supports the
208 * many slots are found to support the mechanism.
239 if (!mechlist[index].slots[i].initialized ||
240 !mechlist[index].slots[
[all...]
H A DmetaSlotToken.c277 mechinfo_t **slots = NULL; local
304 slots = mech_support_info.supporting_slots;
306 /* Merge mechanism info from all slots. */
307 (void) memcpy(pInfo, &(slots[0]->mechanism_info),
314 /* MinKeySize should be smallest of all slots. */
315 thisValue = slots[i]->mechanism_info.ulMinKeySize;
320 /* MaxKeySize should be largest of all slots. */
321 thisValue = slots[i]->mechanism_info.ulMaxKeySize;
326 pInfo->flags |= slots[i]->mechanism_info.flags;
H A DmetaUtil.c164 * Get a list of capable slots.
167 * the list of capable slots is already retrieved. We can save
168 * some processing, and just use that list of slots.
186 /* Attempt to initialize operation on slots until one succeeds. */
848 * Gets the list of slots that supports the specified mechanism.
853 * Otherwise, get list of all slots that support the mech.
859 mechinfo_t ***slots, unsigned long *slot_count, boolean_t token_only,
881 * keystore slot, we will look at other slots
884 *slots = mech_support_info->supporting_slots;
891 * Get a list of slots tha
857 get_slotlist_for_mech(CK_MECHANISM_TYPE mech_type, mech_support_info_t *mech_support_info, mechinfo_t ***slots, unsigned long *slot_count, boolean_t token_only, CK_MECHANISM_INFO *mech_info) argument
926 mechinfo_t **slots = NULL; local
1194 mechinfo_t **slots = NULL; local
1310 mechinfo_t **slots = NULL; local
1467 mechinfo_t **slots = NULL; local
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dtokens.c30 * It loads the PKCS#11 modules, gets the list of slots with
41 * Lists all slots with tokens in them.
46 CK_SLOT_ID_PTR slots = NULL; local
63 /* Get the list of slots with tokens in them. */
64 if ((rv = get_token_slots(&slots, &slot_count)) != CKR_OK) {
73 cryptoerror(LOG_STDERR, gettext("No slots with tokens found."));
82 if ((rv = C_GetTokenInfo(slots[i], &token_info)) != CKR_OK) {
96 free(slots);
/illumos-gate/usr/src/uts/intel/io/heci/
H A Dheci_intr.c73 int32_t *slots);
76 int32_t *slots);
229 int32_t slots; local
284 /* check slots avalable for reading */
285 slots = count_full_read_slots(dev);
286 DBG("slots =%08x extra_write_index =%08x.\n",
287 slots, dev->extra_write_index);
288 while ((slots > 0) && (!dev->extra_write_index)) {
289 DBG("slots =%08x extra_write_index =%08x.\n", slots,
361 heci_bh_read_handler(struct io_heci_list *cmpl_list, struct iamt_heci_device *dev, int32_t *slots) argument
753 _heci_bh_iamthif_read(struct iamt_heci_device *dev, int32_t *slots) argument
789 _heci_bh_close(struct iamt_heci_device *dev, int32_t *slots, struct heci_cb_private *priv_cb_pos, struct heci_file_private *file_ext, struct io_heci_list *cmpl_list) argument
833 _heci_bh_read(struct iamt_heci_device *dev, int32_t *slots, struct heci_cb_private *priv_cb_pos, struct heci_file_private *file_ext, struct io_heci_list *cmpl_list) argument
874 _heci_bh_ioctl(struct iamt_heci_device *dev, int32_t *slots, struct heci_cb_private *priv_cb_pos, struct heci_file_private *file_ext, struct io_heci_list *cmpl_list) argument
917 _heci_bh_cmpl(struct iamt_heci_device *dev, int32_t *slots, struct heci_cb_private *priv_cb_pos, struct heci_file_private *file_ext, struct io_heci_list *cmpl_list) argument
1010 _heci_bh_cmpl_iamthif(struct iamt_heci_device *dev, int32_t *slots, struct heci_cb_private *priv_cb_pos, struct heci_file_private *file_ext, struct io_heci_list *cmpl_list) argument
1095 heci_bh_write_handler(struct io_heci_list *cmpl_list, struct iamt_heci_device *dev, int32_t *slots) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Dexynos5420-arndale-octa.dts52 num-slots = <1>;
H A Dexynos5420-peach-pit.dts74 num-slots = <1>;
H A Dsocfpga-sockit.dts73 num-slots = <1>;
H A Drk3188.dtsi237 num-slots = <1>;
249 num-slots = <1>;
H A Dsocfpga-sockit-beri.dts76 num-slots = <1>;
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf_types.h148 #define TNF_ARRAY_TAG(type, eltag, props, slots, kind) \
160 slots }
192 #define TNF_STRUCT_TAG(type, props, slots, names, size) \
204 slots, \
207 #define TNF_STD_STRUCT_TAG(type, slots, names, size) \
208 TNF_STRUCT_TAG(type, tnf_struct_properties, slots, names, size)
216 #define TNF_METATAG(type, props, slots, desc) \
223 (sizeof (slots) - sizeof (slots[0])) * \
229 slots, \
[all...]
/illumos-gate/usr/src/lib/libtnf/
H A Dstruct.c85 return (&slotinfo->slots[index]);
96 if (strcmp(name, slotinfo->slots[i].slot_name) == 0)
97 return (&slotinfo->slots[i]);
117 /* NULL slots are allowed */
160 return (((char *)slot - (char *)&slotinfo->slots[0])
H A Dinfo.c348 /* abstract tags have no slots */
378 slotinfo->slots[i].slot_type = elt_info;
379 slotinfo->slots[i].slot_name =
393 slotinfo->slots[i].slot_offset = offset;
H A Dlibtnf.h85 } slots[1]; member in struct:taginfo::slotinfo
/illumos-gate/usr/src/uts/common/sys/
H A Dtnf.h79 int slots; member in struct:__anon9112
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_prop_decode.c969 int slots; local
974 if (rawlen < sizeof (slots))
977 slots = impl_di_prop_int_from_prom(rawdata, sizeof (slots));
978 if (slots == 0) {
983 maxslots = sizeof (slots) * 8;
986 if (slots & (1 << i))
995 sp = (char *)(rawdata + sizeof (slots));
996 maxsp = sp + (rawlen - sizeof (slots));
999 if (slots
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_hio_guest.c387 * each one of which will be using the same slots, or
449 uint8_t slots, mask, slot; local
456 slots = (uint8_t)(res_map & 0xff);
460 if (slots & mask)
486 tdc_grp->map = slots;
488 group->map = slots;
495 port->tx_dma_map = slots;
497 nxge->tx_set.owned.map |= slots;
508 rdc_grp->map = slots;
509 group->map = slots;
[all...]
/illumos-gate/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c208 read_tnf_fwzone(tnf_ref32_t *dest, int start, int slots) argument
219 len = slots * sizeof (tnf_ref32_t);
230 ioctl_arg.slots = slots;
/illumos-gate/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c453 struct mptsas_cmd c, *q, *slots; local
483 slots = mdb_alloc(sizeof (mptsas_cmd_t) * nslots, UM_SLEEP);
488 if (mdb_vread(&slots[i], sizeof (mptsas_cmd_t),
493 if ((slots[i].cmd_flags & CFLAG_CMDIOC) == 0)
495 if (i != slots[i].cmd_slot)
555 (i == slots[i].cmd_slot?" ":"BAD"),
556 slots[i].cmd_slot,
557 slots[i].cmd_flags,
558 slots[i].cmd_pkt_flags,
559 slots[
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_raid.c574 mptsas_slots_t *slots = mpt->m_active; local
608 if (slots->m_slot[MPTSAS_TM_SLOT(mpt)] != NULL) {
621 slots->m_slot[MPTSAS_TM_SLOT(mpt)] = cmd;
754 slots->m_slot[MPTSAS_TM_SLOT(mpt)] = NULL;
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c1285 int slots, start_slot; local
1311 slots = 20;
1314 slots = 2;
1319 * numbering for slots.
1322 slots = slots - 1;
1323 for (slot = start_slot; slot <= slots; slot++) {
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c1492 int slots, start_slot; local
1518 slots = 20;
1521 slots = 2;
1525 for (slot = start_slot; slot <= slots; slot++) {
/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsm_in.h377 rsmipc_slot_t slots[RSMIPC_SZ]; member in struct:__anon8876
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_mca.c1000 int slots; local
1015 slots = MAX(GCPU_MCA_ERRS_PERCPU * max_ncpus, GCPU_MCA_MIN_ERRORS);
1016 slots = MIN(slots, GCPU_MCA_MAX_ERRORS);
1019 NULL, slots, datasz, 1, ERRORQ_VITAL);

Completed in 125 milliseconds

12