Home
last modified time | relevance | path

Searched refs:pload_soft_dis (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef.c391 crypto_load_soft_disabled_t *pload_soft_dis = NULL; in disable_kef_software() local
481 if ((pload_soft_dis = setup_soft_dis(pent)) == NULL) { in disable_kef_software()
495 if (ioctl(fd, CRYPTO_LOAD_SOFT_DISABLED, pload_soft_dis) == -1) { in disable_kef_software()
502 if (pload_soft_dis->sd_return_value != CRYPTO_SUCCESS) { in disable_kef_software()
504 "%d", pload_soft_dis->sd_return_value); in disable_kef_software()
514 free(pload_soft_dis); in disable_kef_software()
529 crypto_load_soft_disabled_t *pload_soft_dis = NULL; in enable_kef() local
657 if ((pload_soft_dis = setup_soft_dis(pent)) == NULL) { in enable_kef()
662 if (ioctl(fd, CRYPTO_LOAD_SOFT_DISABLED, pload_soft_dis) in enable_kef()
667 free(pload_soft_dis); in enable_kef()
[all …]
H A Dadm_kef_ioctl.c98 crypto_load_soft_disabled_t *pload_soft_dis = NULL; in setup_soft_dis() local
114 pload_soft_dis = malloc(sizeof (crypto_load_soft_disabled_t) + in setup_soft_dis()
116 if (pload_soft_dis == NULL) { in setup_soft_dis()
121 (void) strlcpy(pload_soft_dis->sd_name, pent->name, MAXNAMELEN); in setup_soft_dis()
122 pload_soft_dis->sd_count = dis_count; in setup_soft_dis()
127 (void) strlcpy(pload_soft_dis->sd_list[i++], in setup_soft_dis()
132 return (pload_soft_dis); in setup_soft_dis()