Lines Matching refs:ra_base
80 uint64_t ra_base; member
388 mapend = mapp->ra_base + mapp->ra_len; in ndi_ra_free()
391 if ((base <= mapp->ra_base && newend > mapp->ra_base) || in ndi_ra_free()
392 (base > mapp->ra_base && base < mapend)) { in ndi_ra_free()
397 (newend > mapp->ra_next->ra_base)) { in ndi_ra_free()
403 if (newend == mapp->ra_base) { in ndi_ra_free()
405 mapp->ra_base = base; in ndi_ra_free()
416 (newend == mapp->ra_next->ra_base)) { in ndi_ra_free()
424 } else if (base < mapp->ra_base) { in ndi_ra_free()
428 newmap->ra_base = base; in ndi_ra_free()
438 newmap->ra_base = base; in ndi_ra_free()
463 ", len 0x%" PRIx64 "\n", base, len, overlapmap->ra_base, in ndi_ra_free()
497 if (base != mapp->ra_base) { in adjust_link()
499 newlen = base - mapp->ra_base; in adjust_link()
507 newmap->ra_base = base + len; in adjust_link()
514 mapp->ra_base += len; in adjust_link()
581 "\n", mapp->ra_len, len, mapp->ra_base, mask); in ndi_ra_alloc()
582 for (; mapp != NULL && (mapp->ra_base + mapp->ra_len) < lower; in ndi_ra_alloc()
584 if (((mapp->ra_len + mapp->ra_base) == 0) || in ndi_ra_alloc()
585 ((mapp->ra_len + mapp->ra_base) < mapp->ra_len)) in ndi_ra_alloc()
594 PRIx64 "\n", mapp->ra_len, mapp->ra_base); in ndi_ra_alloc()
603 for (; mapp != NULL && mapp->ra_base <= upper; in ndi_ra_alloc()
608 base = mapp->ra_base; in ndi_ra_alloc()
613 base, mapp->ra_base, mask); in ndi_ra_alloc()
637 if ((upper - mapp->ra_base) < mapp->ra_len) in ndi_ra_alloc()
641 (base - mapp->ra_base); in ndi_ra_alloc()
655 (base - mapp->ra_base))) || in ndi_ra_alloc()
674 for (; mapp != NULL && mapp->ra_base <= upper; in ndi_ra_alloc()
676 if (base >= mapp->ra_base && in ndi_ra_alloc()
677 ((base - mapp->ra_base) < mapp->ra_len)) { in ndi_ra_alloc()
683 (base - mapp->ra_base > in ndi_ra_alloc()
688 if ((upper - mapp->ra_base) in ndi_ra_alloc()
695 mapp->ra_base); in ndi_ra_alloc()
915 " %" PRIx64 "\n", res->ra_base, in ra_dump_all()