Lines Matching defs:curr
683 struct ucm_value *curr;
687 curr = list_entry(pos, struct ucm_value, list);
688 if (strcmp(curr->name, name) == 0) {
692 free(curr->data);
693 curr->data = val2;
698 curr = calloc(1, sizeof(struct ucm_value));
699 if (curr == NULL)
701 curr->name = strdup(name);
702 if (curr->name == NULL) {
703 free(curr);
706 curr->data = strdup(val);
707 if (curr->data == NULL) {
708 free(curr->name);
709 free(curr);
712 list_add_tail(&curr->list, &uc_mgr->variable_list);
719 struct ucm_value *curr;
722 curr = list_entry(pos, struct ucm_value, list);
723 if (strcmp(curr->name, name) == 0) {
724 uc_mgr_free_value1(curr);