Searched refs:newcard (Results 1 – 1 of 1) sorted by relevance
174 struct io_card *newcard; in insert_io_card() local181 newcard = (struct io_card *)malloc(sizeof (struct io_card)); in insert_io_card()182 if (newcard == NULL) { in insert_io_card()186 (void) memcpy(newcard, card, sizeof (struct io_card)); in insert_io_card()187 newcard->next = NULL; in insert_io_card()190 return (newcard); in insert_io_card()194 if (newcard->board < p->board) in insert_io_card()196 if ((newcard->board == p->board) && (newcard->slot < p->slot)) in insert_io_card()202 newcard->next = p; in insert_io_card()203 return (newcard); in insert_io_card()[all …]