Home | History | Annotate | Download | only in src

Lines Matching refs:newc

2630 	ocontext_t *l, *c, *newc = NULL;
2680 newc = calloc(1, sizeof(ocontext_t));
2681 if (!newc) {
2688 newc->u.name = malloc(len + 1);
2689 if (!newc->u.name) {
2692 rc = next_entry(newc->u.name, fp, len);
2695 newc->u.name[len] = 0;
2699 newc->v.sclass = le32_to_cpu(buf[0]);
2700 if (context_read_and_validate(&newc->context[0], p, fp))
2704 if (!strcmp(newc->u.name, c->u.name) &&
2705 (!c->v.sclass || !newc->v.sclass ||
2706 newc->v.sclass == c->v.sclass)) {
2712 len = strlen(newc->u.name);
2717 newc->next = c;
2719 l->next = newc;
2721 newgenfs->head = newc;
2728 if (newc) {
2729 context_destroy(&newc->context[0]);
2730 context_destroy(&newc->context[1]);
2731 free(newc->u.name);
2732 free(newc);