Home | History | Annotate | Download | only in e2fsck

Lines Matching defs:new

1082 	struct profile_node *new;
1084 new = malloc(sizeof(struct profile_node));
1085 if (!new)
1087 memset(new, 0, sizeof(struct profile_node));
1088 new->name = strdup(name);
1089 if (new->name == 0) {
1090 profile_free_node(new);
1094 new->value = strdup(value);
1095 if (new->value == 0) {
1096 profile_free_node(new);
1100 new->magic = PROF_MAGIC_NODE;
1102 *ret_node = new;
1147 struct profile_node *p, *last, *new;
1155 * Find the place to insert the new node. We look for the
1165 retval = profile_create_node(name, value, &new);
1168 new->group_level = section->group_level+1;
1169 new->deleted = 0;
1170 new->parent = section;
1171 new->prev = last;
1172 new->next = p;
1174 p->prev = new;
1176 last->next = new;
1178 section->first_child = new;
1180 *ret_node = new;