Searched defs:slots (Results 1 - 25 of 35) sorted by relevance

12

/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/lib/pkcs11/libpkcs11/common/
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 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 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 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/uts/common/sys/
H A Dtnf.h79 int slots; member in struct:__anon9111
/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.c206 read_tnf_fwzone(tnf_ref32_t *dest, int start, int slots) argument
217 len = slots * sizeof (tnf_ref32_t);
228 ioctl_arg.slots = slots;
/illumos-gate/usr/src/uts/common/os/
H A Dddi_ufm.c126 nvlist_t **images = NULL, **slots = NULL; local
223 slots = kmem_zalloc(sizeof (nvlist_t *) * img->ufmi_nslots,
228 slots[s] = fnvlist_alloc();
229 fnvlist_add_uint32(slots[s], DDI_UFM_NV_SLOT_ATTR,
234 fnvlist_add_string(slots[s], DDI_UFM_NV_SLOT_VERSION,
237 fnvlist_add_nvlist(slots[s],
242 slots, img->ufmi_nslots);
243 free_nvlist_array(slots, img->ufmi_nslots);
/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;
H A Dmptsas_impl.c1105 mptsas_slots_t *slots = mpt->m_active; local
1112 if (slots->m_slot[MPTSAS_TM_SLOT(mpt)] != NULL) {
1136 slots->m_slot[MPTSAS_TM_SLOT(mpt)] = cmd;
1199 slots->m_slot[MPTSAS_TM_SLOT(mpt)] = NULL;
/illumos-gate/usr/src/test/os-tests/tests/ddi_ufm/
H A Dufm-test.c70 * - 2 slots (1st active)
71 * - 3 slots (1st active, 3rd empty)
148 nvlist_t *nvl = NULL, **images = NULL, **slots = NULL; local
160 if ((slots = calloc(sizeof (nvlist_t *),
166 if (nvlist_alloc(&slots[s], NV_UNIQUE_NAME, 0) != 0 ||
167 nvlist_add_string(slots[s], DDI_UFM_NV_SLOT_VERSION,
169 nvlist_add_uint32(slots[s], DDI_UFM_NV_SLOT_ATTR,
172 free_nvlist_arr(slots,
179 slots, fwdata->ud_images[i].ui_nslots) != 0) {
180 free_nvlist_arr(slots, fwdat
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dufmtest.c348 nvlist_t **images, *misc, *miscdup = NULL, **slots; local
364 &slots, &ns) != 0)
386 nvlist_t **images, *misc, *miscdup = NULL, **slots; local
401 &slots, &ns) != 0)
407 if (nvlist_lookup_uint32(slots[slotno], DDI_UFM_NV_SLOT_ATTR,
415 if (nvlist_lookup_string(slots[slotno], DDI_UFM_NV_SLOT_VERSION,
421 if (nvlist_lookup_nvlist(slots[slotno], DDI_UFM_NV_SLOT_MISC, &misc) ==
/illumos-gate/usr/src/lib/libtnf/
H A Dlibtnf.h85 } slots[1]; member in struct:taginfo::slotinfo
/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/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c281 nvlist_t **slots; local
286 DDI_UFM_NV_IMAGE_SLOTS, &slots, &nslots) != 0) {
301 if (nvlist_lookup_string(slots[s],
304 nvlist_lookup_uint32(slots[s],
311 (void) nvlist_lookup_nvlist(slots[s],
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c1280 int slots, start_slot; local
1306 slots = 20;
1309 slots = 2;
1314 * numbering for slots.
1317 slots = slots - 1;
1318 for (slot = start_slot; slot <= slots; slot++) {
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c1488 int slots, start_slot; local
1514 slots = 20;
1517 slots = 2;
1521 for (slot = start_slot; slot <= slots; slot++) {
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c856 int slots = 0; /* char * slots allocated in files */ local
899 if (nfiles > slots - 2) {
900 /* allocate ten more slots */
901 slots += 10;
903 slots * sizeof (char *));
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Dnb5000_init.c644 int slots; member in struct:smb_dimm_rec
666 (rp->slots == nb_dimm_slots ||
674 * physical slots than the controller supports
675 * so skip empty slots to find the slot this
701 rp->slots++;
718 r.slots = 0;
/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsm_in.h377 rsmipc_slot_t slots[RSMIPC_SZ]; member in struct:__anon8872
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnf.c584 * Get `wanted' slots in the transmit ring, waiting for at least that
588 * Return the number of slots available.
608 * are able to take our slots before anyone else runs.
694 * The request consumed two slots in the ring,
1356 * 1. Acquire two slots in the ring.
1357 * 2. Fill in the slots.
1490 * more free slots than txids. Because of this
1680 * Note: the format of a tx packet that spans multiple slots is similar to
1697 * The caller has already checked that we have enough slots to proceed.
1912 int pages, chunks, slots, slots_fre local
[all...]
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_mca.c1008 int slots; local
1023 slots = MAX(GCPU_MCA_ERRS_PERCPU * max_ncpus, GCPU_MCA_MIN_ERRORS);
1024 slots = MIN(slots, GCPU_MCA_MAX_ERRORS);
1027 NULL, slots, datasz, 1, ERRORQ_VITAL);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddnode.c358 int slots = dnp->dn_extra_slots + 1; local
359 size_t len = DN_SLOTS_TO_BONUSLEN(slots) - off;
1044 dnode_slots_hold(dnode_children_t *children, int idx, int slots) argument
1046 ASSERT3S(idx + slots, <=, DNODES_PER_BLOCK);
1048 for (int i = idx; i < idx + slots; i++) {
1055 dnode_slots_rele(dnode_children_t *children, int idx, int slots) argument
1057 ASSERT3S(idx + slots, <=, DNODES_PER_BLOCK);
1059 for (int i = idx; i < idx + slots; i++) {
1070 dnode_slots_tryenter(dnode_children_t *children, int idx, int slots) argument
1072 ASSERT3S(idx + slots, <
1091 dnode_set_slots(dnode_children_t *children, int idx, int slots, void *ptr) argument
1102 dnode_check_slots_free(dnode_children_t *children, int idx, int slots) argument
1136 dnode_reclaim_slots(dnode_children_t *children, int idx, int slots) argument
1159 int slots = dn->dn_num_slots - 1; local
1275 dnode_hold_impl(objset_t *os, uint64_t object, int flag, int slots, void *tag, dnode_t **dnp) argument
[all...]

Completed in 221 milliseconds

12