Lines Matching refs:newcard
174 struct io_card *newcard;
181 newcard = (struct io_card *)malloc(sizeof (struct io_card));
182 if (newcard == NULL) {
186 (void) memcpy(newcard, card, sizeof (struct io_card));
187 newcard->next = NULL;
190 return (newcard);
194 if (newcard->board < p->board)
196 if ((newcard->board == p->board) && (newcard->slot < p->slot))
202 newcard->next = p;
203 return (newcard);
205 newcard->next = p;
206 q->next = newcard;