Home
last modified time | relevance | path

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

/linux/drivers/target/iscsi/
H A Discsi_target_parameters.c567 struct iscsi_param *new_param = NULL; in iscsi_copy_param_list() local
586 new_param = kzalloc(sizeof(struct iscsi_param), GFP_KERNEL); in iscsi_copy_param_list()
587 if (!new_param) { in iscsi_copy_param_list()
592 new_param->name = kstrdup(param->name, GFP_KERNEL); in iscsi_copy_param_list()
593 new_param->value = kstrdup(param->value, GFP_KERNEL); in iscsi_copy_param_list()
594 if (!new_param->value || !new_param->name) { in iscsi_copy_param_list()
595 kfree(new_param->value); in iscsi_copy_param_list()
596 kfree(new_param->name); in iscsi_copy_param_list()
597 kfree(new_param); in iscsi_copy_param_list()
602 new_param->set_param = param->set_param; in iscsi_copy_param_list()
[all …]