Lines Matching refs:pl
39 crypto_get_provider_list_t *pl;
42 pl = malloc(sizeof (crypto_get_provider_list_t));
43 if (pl == NULL)
46 pl->pl_count = 0;
47 while ((r = ioctl(kernel_fd, CRYPTO_GET_PROVIDER_LIST, pl)) < 0) {
54 if (pl->pl_return_value != CRYPTO_SUCCESS) {
55 rv = crypto2pkcs11_error_number(pl->pl_return_value);
62 slot_count = pl->pl_count;
65 (void) free(pl);
173 crypto_get_provider_list_t *pl = NULL;
220 pl = malloc(slot_count * sizeof (crypto_get_provider_list_t));
221 if (pl == NULL) {
226 pl->pl_count = slot_count;
227 while ((r = ioctl(kernel_fd, CRYPTO_GET_PROVIDER_LIST, pl)) < 0) {
235 if (pl->pl_return_value != CRYPTO_SUCCESS) {
236 rv = crypto2pkcs11_error_number(pl->pl_return_value);
244 slot_table[i]->sl_provider_id = pl->pl_list[i].pe_provider_id;
258 (void) free(pl);
268 (void) free(pl);