Searched refs:slot_count (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dtokens.c47 CK_ULONG slot_count = 0; local
64 if ((rv = get_token_slots(&slots, &slot_count)) != CKR_OK) {
72 if (slot_count == 0) {
81 for (i = 0; i < slot_count; i++) {
H A Dcommon.h101 CK_ULONG *slot_count);
H A Dcommon.c327 get_token_slots(CK_SLOT_ID_PTR *slot_list, CK_ULONG *slot_count) argument
350 *slot_count = 0;
363 *slot_count = tmp_count;
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlot.h90 extern CK_ULONG slot_count;
H A DkernelSlottable.c32 CK_ULONG slot_count = 0; variable
62 slot_count = pl->pl_count;
181 if (rv != CKR_OK || slot_count == 0) {
186 slot_table = malloc(sizeof (kernel_slot_t *) * slot_count);
192 for (i = 0; i < slot_count; i++) {
217 pl = malloc(slot_count * sizeof (crypto_get_provider_list_t));
223 pl->pl_count = slot_count;
240 for (i = 0; i < slot_count; i++) {
248 for (i = 0; i < slot_count; i++) {
H A DkernelSlotToken.c57 *pulCount = slot_count;
61 if (*pulCount < slot_count) {
62 *pulCount = slot_count;
66 *pulCount = slot_count;
73 for (i = 0; i < slot_count; i++) {
91 if (slotID >= slot_count) {
145 if (slotID >= slot_count)
239 if (slotID >= slot_count)
373 if (slotID >= slot_count)
H A DkernelGeneral.c282 for (i = 0; i < slot_count; i++) {
307 * slot_count to 0.
309 if (slot_count > 0) {
310 for (i = 0; i < slot_count; i++) {
315 slot_count = 0;
375 for (i = 0; i < slot_count; i++) {
H A DkernelSessionUtil.c486 for (slotID = 0; slotID < slot_count; slotID++) {
517 for (slotID = 0; slotID < slot_count; slotID++) {
H A DkernelSession.c55 if (slotID >= slot_count) {
/illumos-gate/usr/src/lib/libtnf/
H A Dstruct.c81 count = slotinfo->slot_count;
93 count = slotinfo->slot_count;
138 return (slotinfo->slot_count);
H A Dlibtnf.h79 unsigned slot_count; member in struct:taginfo::slotinfo
H A Dinfo.c364 slotinfo->slot_count = count;
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotManager.c72 CK_ULONG slot_count = 0; local
88 slot_count++;
95 if (slot_count < 1) {
100 slots = calloc(slot_count, sizeof (slot_data_t));
110 for (i = 0; i < slot_count; i++) {
115 num_slots = slot_count;
H A Dpkcs11Conf.c270 uint_t slot_count = 0; local
571 slot_count++;
621 if (slot_count == 0) {
H A DmetaUtil.c859 mechinfo_t ***slots, unsigned long *slot_count, boolean_t token_only,
885 *slot_count = 1;
907 *slot_count = mech_support_info->num_supporting_slots;
1468 unsigned long i, slot_count = 0; local
1510 &(session->mech_support_info), &slots, &slot_count,
1537 for (i = 0; i < slot_count; i++) {
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
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11tokens.c96 CK_ULONG *slot_count)
125 *slot_count = 0;
139 *slot_count = tmp_count;
297 CK_ULONG slot_count = 0; local
338 kmf_rv = kmf_get_token_slots(handle, &slot_list, &slot_count);
345 if (slot_count == 0) {
351 for (i = 0; i < slot_count; i++) {
394 if (i < slot_count) {
95 kmf_get_token_slots(KMF_HANDLE *handle, CK_SLOT_ID_PTR *slot_list, CK_ULONG *slot_count) argument
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_uef.c194 CK_ULONG slot_count; local
285 rv = prov_funcs->C_GetSlotList(FALSE, NULL_PTR, &slot_count);
290 } else if (slot_count == 0) {
299 prov_slots = malloc(slot_count * sizeof (CK_SLOT_ID));
307 rv = prov_funcs->C_GetSlotList(FALSE, prov_slots, &slot_count);
316 (void) printf(gettext("Number of slots: %d\n"), slot_count);
320 for (i = 0; i < slot_count; i++) {

Completed in 119 milliseconds