Lines Matching defs:psaddr
420 saddr_t *psaddr;
428 for (psaddr = (*list)->next; psaddr != NULL; psaddr = psaddr->next) {
429 if ((dups == NODUPS) && (psaddr->addr == newaddr->addr)) {
438 if ((psaddr->addr > newaddr->addr) ||
439 (psaddr->addr == newaddr->addr &&
440 psaddr->length < newaddr->length))
443 prev = psaddr;
447 newaddr->next = psaddr;
480 saddr_t *psaddr = *list;
482 while (psaddr != NULL) {
483 saddr_t *temp = psaddr;
485 psaddr = psaddr->next;
495 saddr_t *psaddr = malloc(sizeof (saddr_t));
500 psaddr->addr =
509 if ((psaddr->addr == 0) || (*endptr != ':' && *endptr != '=')) {
510 free(psaddr);
517 psaddr->length = 0;
518 psaddr->adv = NO_ADVICE;
519 psaddr->next = NULL;
528 psaddr->length = atosz(value, &endptr);
539 free(psaddr);
545 psaddr->adv =
549 return (psaddr);
564 saddr_t *psaddr;
601 psaddr = rawadv_list;
605 while (psaddr && psaddr->addr < pmp->pr_vaddr)
606 psaddr = psaddr->next;
610 while (psaddr && psaddr->addr < (pmp->pr_vaddr + pmp->pr_size)) {
612 (void) memcpy(newaddr, psaddr, sizeof (saddr_t));
622 if ((pmp->pr_vaddr == psaddr->addr) && (psaddr->length == 0))
624 psaddr = psaddr->next;
666 saddr_t *psaddr = *advicelist;
671 while (!interrupt && psaddr != NULL) {
674 * we get a chance to advance psaddr.
676 next = psaddr->next;
684 if (psaddr->adv != NO_ADVICE) {
686 if ((psaddr->adv & (1 << i)) &&
687 (pr_madvise(Pr, (caddr_t)psaddr->addr,
688 psaddr->length, i) < 0)) {
698 advicestr[i], (ulong_t)psaddr->addr,
699 (ulong_t)psaddr->addr +
700 psaddr->length);
708 psaddr->adv &= ~(1 << i);
709 if (psaddr->adv == 0) {
710 delete_addr(advicelist, psaddr);
716 psaddr = next;
816 saddr_t *psaddr = advlist;
822 while (psaddr) {
828 if (psaddr->adv == -1) {
829 psaddr = psaddr->next;
834 pmapnode->pmp->pr_size <= psaddr->addr))
837 advice = advtostr(psaddr->adv);
845 addr_width, (ulong_t)psaddr->addr, size_width - 1,
846 (int)ROUNDUP_KB(psaddr->length),
851 addr_width, (ulong_t)psaddr->addr, size_width - 1,
852 (int)ROUNDUP_KB(psaddr->length),
855 psaddr = psaddr->next;
943 saddr_t *psaddr;
997 psaddr = parse_suboptions(value);
998 if (psaddr == NULL) {
1002 psaddr, YESDUPS);