Lines Matching refs:new_param
567 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()
603 new_param->phase = param->phase; in iscsi_copy_param_list()
604 new_param->scope = param->scope; in iscsi_copy_param_list()
605 new_param->sender = param->sender; in iscsi_copy_param_list()
606 new_param->type = param->type; in iscsi_copy_param_list()
607 new_param->use = param->use; in iscsi_copy_param_list()
608 new_param->type_range = param->type_range; in iscsi_copy_param_list()
610 list_add_tail(&new_param->p_list, ¶m_list->param_list); in iscsi_copy_param_list()