Lines Matching refs:newc
2183 ocontext_t *c, *newc, *l; in genfs_copy() local
2203 newc = malloc(sizeof(ocontext_t)); in genfs_copy()
2204 if (!newc) { in genfs_copy()
2210 memset(newc, 0, sizeof(ocontext_t)); in genfs_copy()
2211 newc->u.name = strdup(c->u.name); in genfs_copy()
2212 if (!newc->u.name) { in genfs_copy()
2214 free(newc); in genfs_copy()
2219 newc->v.sclass = c->v.sclass; in genfs_copy()
2220 context_copy(&newc->context[0], &c->context[0], state); in genfs_copy()
2222 l->next = newc; in genfs_copy()
2224 newgenfs->head = newc; in genfs_copy()
2225 l = newc; in genfs_copy()