Home
last modified time | relevance | path

Searched refs:pulCount (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlotToken.c45 CK_ULONG_PTR pulCount) in C_GetSlotList() argument
52 if (pulCount == NULL) { in C_GetSlotList()
57 *pulCount = slot_count; in C_GetSlotList()
61 if (*pulCount < slot_count) { in C_GetSlotList()
62 *pulCount = slot_count; in C_GetSlotList()
66 *pulCount = slot_count; in C_GetSlotList()
224 CK_ULONG_PTR pulCount) in C_GetMechanismList() argument
246 if (pulCount == NULL) { in C_GetMechanismList()
248 } else if (*pulCount == 0) { in C_GetMechanismList()
252 specified_count = *pulCount; in C_GetMechanismList()
[all …]
/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotToken.c52 CK_ULONG_PTR pulCount) in meta_GetSlotList() argument
56 if (pulCount == NULL) in meta_GetSlotList()
60 *pulCount = 1; in meta_GetSlotList()
64 if (*pulCount < 1) { in meta_GetSlotList()
70 *pulCount = 1; in meta_GetSlotList()
242 CK_ULONG_PTR pulCount) in meta_GetMechanismList() argument
250 if (pulCount == NULL) in meta_GetMechanismList()
253 rv = meta_mechManager_get_mechs(pMechanismList, pulCount); in meta_GetMechanismList()
H A Dpkcs11SlotToken.c52 CK_ULONG_PTR pulCount) in C_GetSlotList() argument
65 pulCount)); in C_GetSlotList()
72 if (pulCount == NULL) { in C_GetSlotList()
109 if (pSlotList && (*pulCount > count)) { in C_GetSlotList()
118 if ((*pulCount < count) && (pSlotList != NULL)) { in C_GetSlotList()
124 *pulCount = count; in C_GetSlotList()
583 CK_ULONG_PTR pulCount) in C_GetMechanismList() argument
602 pMechanismList, pulCount)); in C_GetMechanismList()
606 pulCount)); in C_GetMechanismList()
670 *pulCount = 0; in C_GetMechanismList()
[all …]
H A DmetaGlobal.h704 CK_ULONG_PTR pulCount);
708 CK_MECHANISM_TYPE_PTR pMechanismList, CK_ULONG_PTR pulCount);
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSlotToken.c246 CK_ULONG_PTR pulCount) in C_GetSlotList() argument
254 if (pulCount == NULL) { in C_GetSlotList()
262 *pulCount = 1; in C_GetSlotList()
266 if ((*pulCount < 1) && (pSlotList != NULL)) { in C_GetSlotList()
273 *pulCount = 1; in C_GetSlotList()
383 CK_ULONG_PTR pulCount) in C_GetMechanismList() argument
402 *pulCount = mechnum; in C_GetMechanismList()
406 if (*pulCount < mechnum) { in C_GetMechanismList()
407 *pulCount = mechnum; in C_GetMechanismList()
415 *pulCount = mechnum; in C_GetMechanismList()
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c95 CK_ULONG pulCount; in kmf_create_pk11_session() local
104 rv = C_GetSlotList(0, NULL, &pulCount); in kmf_create_pk11_session()
110 pSlotList = (CK_SLOT_ID_PTR) malloc(pulCount * sizeof (CK_SLOT_ID)); in kmf_create_pk11_session()
116 rv = C_GetSlotList(0, pSlotList, &pulCount); in kmf_create_pk11_session()
122 for (i = 0; i < pulCount; i++) { in kmf_create_pk11_session()
128 if (i < pulCount) { in kmf_create_pk11_session()
/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dapi_interface.c1396 CK_ULONG_PTR pulCount) in C_GetMechanismList() argument
1403 if (! pulCount) in C_GetMechanismList()
1411 pMechanismList, pulCount); in C_GetMechanismList()
1418 for (i = 0; i < *pulCount; i++) { in C_GetMechanismList()
1523 CK_ULONG_PTR pulCount) in C_GetSlotList() argument
1531 if (pulCount == NULL) in C_GetSlotList()
1539 *pulCount = 0; in C_GetSlotList()
1547 *pulCount = count; in C_GetSlotList()
1552 if (*pulCount < count) in C_GetSlotList()
/titanic_41/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h76 CK_ULONG_PTR pulCount /* receives number of slots */
110 CK_ULONG_PTR pulCount /* gets # of mechs. */