Searched defs:slots (Results 1 - 25 of 29) 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:__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/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/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/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/uts/intel/io/drm/
H A Dradeon_cp.c898 int slots = (RADEON_READ(RADEON_RBBM_STATUS) & local
900 if (slots >= entries)
/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.c1102 mptsas_slots_t *slots = mpt->m_active; local
1109 if (slots->m_slot[MPTSAS_TM_SLOT(mpt)] != NULL) {
1133 slots->m_slot[MPTSAS_TM_SLOT(mpt)] = cmd;
1196 slots->m_slot[MPTSAS_TM_SLOT(mpt)] = NULL;
/illumos-gate/usr/src/lib/libtnf/
H A Dlibtnf.h85 } slots[1]; member in struct:taginfo::slotinfo
/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/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/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/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/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);
/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/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/fs/zfs/
H A Dmetaslab.c3231 * Reserve some allocation slots. The reservation system must be called
3232 * before we call into the allocator. If there aren't any available slots
3233 * then the I/O will be throttled until an I/O completes and its slots are
3238 metaslab_class_throttle_reserve(metaslab_class_t *mc, int slots, zio_t *zio, argument
3251 if (slots <= available_slots || GANG_ALLOCATION(flags)) {
3253 * We reserve the slots individually so that we can unreserve
3256 for (int d = 0; d < slots; d++) {
3268 metaslab_class_throttle_unreserve(metaslab_class_t *mc, int slots, zio_t *zio) argument
3272 for (int d = 0; d < slots; d++) {
/illumos-gate/usr/src/lib/libraidcfg/common/
H A Draidcfg.c93 size_t slots; /* How many lists linked by *table */ member in struct:__anon3825
152 ((tab)->table + ((id)%(tab)->slots))
4331 tab->slots = hash_slots;
4347 for (i = 0; i < tab->slots; i++) {
4360 tab->slots = 0;
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_pagelist.c116 * - all large page 'slots' will be searched over time
3466 * The high bit in pfnflag specifies the number of 'slots' in the
3469 * the pfn range that has been divided into 8 slots.
3472 int slots = 1 << (highbit(pfnflag) - 1); local
3473 int slotid = pfnflag & (slots - 1);
3479 slotlen = howmany(szcpages, slots);
/illumos-gate/usr/src/uts/common/io/iwh/
H A Diwh.c1554 int slots, int qid)
1568 ring->window = slots;
1633 "tx data slots\n"));
1553 iwh_alloc_tx_ring(iwh_sc_t *sc, iwh_tx_ring_t *ring, int slots, int qid) argument

Completed in 160 milliseconds

12