Lines Matching refs:newlist
2958 LIBMTP_devicestorage_t *oldhead, *ptr1, *ptr2, *newlist;
2967 newlist = NULL;
3001 if(newlist == NULL) {
3002 newlist = ptr2;
3003 newlist->prev = NULL;
3005 ptr2->prev = newlist;
3006 newlist->next = ptr2;
3007 newlist = newlist->next;
3011 if (newlist != NULL) {
3012 newlist->next = NULL;
3013 while(newlist->prev != NULL)
3014 newlist = newlist->prev;
3015 device->storage = newlist;