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

/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_policy.c244 kcf_policy_desc_t *new_desc, *policy_desc = NULL; local
252 new_desc = kcf_policy_alloc_desc(KM_SLEEP);
253 new_desc->pd_prov_type = CRYPTO_SW_PROVIDER;
254 new_desc->pd_name = kmem_alloc(strlen(module_name) + 1, KM_SLEEP);
255 (void) strcpy(new_desc->pd_name, module_name);
274 rv = kcf_policy_add_entry(new_desc);
277 kcf_policy_free_desc(new_desc);
280 policy_desc = new_desc;
282 kcf_policy_free_desc(new_desc);
307 kcf_policy_desc_t *new_desc, *policy_des local
[all...]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_ctrl.c87 audio_ctrl_desc_t *new_desc; local
151 new_desc = &ctrl->ctrl_des;
154 new_desc->acd_type = desc->acd_type;
155 new_desc->acd_flags = desc->acd_flags;
156 new_desc->acd_maxvalue = desc->acd_maxvalue;
157 new_desc->acd_minvalue = desc->acd_minvalue;
158 new_desc->acd_name = strdup(name);
178 new_desc->acd_enum[bit] = strdup(name);
188 if (new_desc->acd_flags & AUDIO_CTRL_FLAG_READABLE) {
193 if (new_desc
[all...]

Completed in 65 milliseconds