Searched refs:pulCount (Results 1 – 8 of 8) sorted by relevance
45 CK_ULONG_PTR pulCount) in C_GetSlotList() argument52 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() argument246 if (pulCount == NULL) { in C_GetMechanismList()248 } else if (*pulCount == 0) { in C_GetMechanismList()252 specified_count = *pulCount; in C_GetMechanismList()[all …]
52 CK_ULONG_PTR pulCount) in meta_GetSlotList() argument56 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() argument250 if (pulCount == NULL) in meta_GetMechanismList()253 rv = meta_mechManager_get_mechs(pMechanismList, pulCount); in meta_GetMechanismList()
52 CK_ULONG_PTR pulCount) in C_GetSlotList() argument65 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() argument602 pMechanismList, pulCount)); in C_GetMechanismList()606 pulCount)); in C_GetMechanismList()670 *pulCount = 0; in C_GetMechanismList()[all …]
704 CK_ULONG_PTR pulCount);708 CK_MECHANISM_TYPE_PTR pMechanismList, CK_ULONG_PTR pulCount);
246 CK_ULONG_PTR pulCount) in C_GetSlotList() argument254 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() argument402 *pulCount = mechnum; in C_GetMechanismList()406 if (*pulCount < mechnum) { in C_GetMechanismList()407 *pulCount = mechnum; in C_GetMechanismList()415 *pulCount = mechnum; in C_GetMechanismList()
95 CK_ULONG pulCount; in kmf_create_pk11_session() local104 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()
1396 CK_ULONG_PTR pulCount) in C_GetMechanismList() argument1403 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() argument1531 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()
76 CK_ULONG_PTR pulCount /* receives number of slots */110 CK_ULONG_PTR pulCount /* gets # of mechs. */