Home
last modified time | relevance | path

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

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