Searched refs:num_mech_infos (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_miscapi.c643 crypto_mechanism_info_t **mech_infos, uint_t *num_mech_infos,
699 *num_mech_infos = ninfos;
642 crypto_get_all_mech_info(crypto_mech_type_t mech_type, crypto_mechanism_info_t **mech_infos, uint_t *num_mech_infos, int km_flag) argument
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcrypto.c1089 uint_t num_mech_infos = 0; local
1113 rv = crypto_get_all_mech_info(mech_type, &mech_infos, &num_mech_infos,
1123 STRUCT_FSET(get_all_mech, mi_count, num_mech_infos);
1126 if (num_mech_infos > req_count) {
1144 if (req_count == 0 || num_mech_infos == 0 || rv != CRYPTO_SUCCESS ||
1153 u_minfos = kmem_alloc(num_mech_infos * STRUCT_SIZE(mi), KM_SLEEP);
1154 error = copyout_mechinfos(mode, arg + offset, num_mech_infos,
1156 kmem_free(u_minfos, num_mech_infos * STRUCT_SIZE(mi));
1159 crypto_free_all_mech_info(mech_infos, num_mech_infos);

Completed in 89 milliseconds