Searched refs:newl2 (Results 1 – 1 of 1) sorted by relevance
2485 struct lock *newl2 = NULL; in locks_insert() local2489 newl2 = malloc(sizeof(struct lock)); in locks_insert()2491 if (!newl1 || !newl2) { in locks_insert()2493 free(newl2); in locks_insert()2530 *newl2 = *l; in locks_insert()2531 newl2->start = lock->end + 1; in locks_insert()2533 insert_lock(&l->next, newl2); in locks_insert()2534 newl2 = NULL; in locks_insert()2550 free(newl2); in locks_insert()