Lines Matching defs:newaddr
407 * Inserts newaddr into list. dups indicates whether we allow duplicate
411 insert_addr(saddr_t **list, saddr_t *newaddr, int dups)
417 newaddr->next = *list;
418 *list = newaddr;
423 if ((dups == NODUPS) && (psaddr->addr == newaddr->addr)) {
424 free(newaddr);
432 if ((psaddr->addr > newaddr->addr) ||
433 (psaddr->addr == newaddr->addr &&
434 psaddr->length < newaddr->length))
440 prev->next = newaddr;
441 newaddr->next = psaddr;
557 saddr_t *newaddr;
605 newaddr = malloc(sizeof (saddr_t));
606 (void) memcpy(newaddr, psaddr, sizeof (saddr_t));
607 insert_addr(&merged_list, newaddr, YESDUPS);
617 newaddr->length = pmp->pr_size;
625 newaddr = malloc(sizeof (saddr_t));
626 newaddr->addr = pmp->pr_vaddr;
627 newaddr->length = pmp->pr_size;
628 newaddr->adv = NO_ADVICE;
629 insert_addr(&merged_list, newaddr, YESDUPS);
635 newaddr->adv = generic_adv[i];