Searched refs:pdevlist (Results 1 - 4 of 4) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef_ioctl.c288 crypto_get_dev_list_t *pdevlist; local
292 pdevlist = malloc(sizeof (crypto_get_dev_list_t) +
294 if (pdevlist == NULL) {
305 pdevlist->dl_dev_count = count;
306 if (ioctl(fd, CRYPTO_GET_DEV_LIST, pdevlist) == -1) {
309 free(pdevlist);
315 if (pdevlist->dl_return_value == CRYPTO_BUFFER_TOO_SMALL) {
316 count = pdevlist->dl_dev_count;
317 free(pdevlist);
318 pdevlist
[all...]
H A Dcryptoadm.h106 entrylist_t *pdevlist, entrylist_t *psoftlist);
110 crypto_get_dev_list_t *pdevlist, boolean_t *in_kernel);
154 crypto_get_dev_list_t *pdevlist);
H A Dadm_kef_util.c1369 * pdevlist Optional Hardware Crypto Device List. If NULL, it will be
1375 crypto_get_dev_list_t *pdevlist, boolean_t *in_kernel)
1391 if (pdevlist == NULL) {
1392 if (get_dev_list(&pdevlist) == FAILURE) {
1400 for (i = 0; i < pdevlist->dl_dev_count; i++) {
1401 if ((strcmp(pdevlist->dl_devs[i].le_dev_name, devname) == 0) &&
1402 (pdevlist->dl_devs[i].le_dev_instance == inst_num)) {
1409 free(pdevlist);
1374 check_kernel_for_hard(char *provname, crypto_get_dev_list_t *pdevlist, boolean_t *in_kernel) argument
H A Dadm_kef.c175 * Parameter pdevlist is supplied by check_kernel_for_hard().
182 crypto_get_dev_list_t *pdevlist)
234 if (check_kernel_for_hard(provname, pdevlist,
1060 entrylist_t *pdevlist = NULL; local
1067 if (get_kcfconf_info(&pdevlist, &psoftlist) == FAILURE) {
1079 free(pdevlist);
1168 for (ptr = pdevlist; ptr != NULL; ptr = ptr->next) {
180 list_policy_for_hard(char *provname, entrylist_t *phardlist, entrylist_t *psoftlist, crypto_get_dev_list_t *pdevlist) argument

Completed in 307 milliseconds