Searched refs:newcard (Results 1 – 1 of 1) sorted by relevance
172 struct io_card *newcard; in insert_io_card() local179 newcard = (struct io_card *)malloc(sizeof (struct io_card)); in insert_io_card()180 if (newcard == NULL) { in insert_io_card()184 (void) memcpy(newcard, card, sizeof (struct io_card)); in insert_io_card()185 newcard->next = NULL; in insert_io_card()188 return (newcard); in insert_io_card()192 if (newcard->board < p->board) in insert_io_card()194 if ((newcard->board == p->board) && (newcard->slot < p->slot)) in insert_io_card()200 newcard->next = p; in insert_io_card()201 return (newcard); in insert_io_card()[all …]