Lines Matching refs:ra_base
78 uint64_t ra_base; member
387 mapend = mapp->ra_base + mapp->ra_len; in ndi_ra_free()
390 if ((base <= mapp->ra_base && newend > mapp->ra_base) || in ndi_ra_free()
391 (base > mapp->ra_base && base < mapend)) { in ndi_ra_free()
396 (newend > mapp->ra_next->ra_base)) { in ndi_ra_free()
402 if (newend == mapp->ra_base) { in ndi_ra_free()
404 mapp->ra_base = base; in ndi_ra_free()
415 (newend == mapp->ra_next->ra_base)) { in ndi_ra_free()
423 } else if (base < mapp->ra_base) { in ndi_ra_free()
427 newmap->ra_base = base; in ndi_ra_free()
437 newmap->ra_base = base; in ndi_ra_free()
462 ", len 0x%" PRIx64 "\n", base, len, overlapmap->ra_base, in ndi_ra_free()
496 if (base != mapp->ra_base) { in adjust_link()
498 newlen = base - mapp->ra_base; in adjust_link()
506 newmap->ra_base = base + len; in adjust_link()
513 mapp->ra_base += len; in adjust_link()
580 "\n", mapp->ra_len, len, mapp->ra_base, mask); in ndi_ra_alloc()
581 for (; mapp != NULL && (mapp->ra_base + mapp->ra_len) < lower; in ndi_ra_alloc()
583 if (((mapp->ra_len + mapp->ra_base) == 0) || in ndi_ra_alloc()
584 ((mapp->ra_len + mapp->ra_base) < mapp->ra_len)) in ndi_ra_alloc()
593 PRIx64 "\n", mapp->ra_len, mapp->ra_base); in ndi_ra_alloc()
602 for (; mapp != NULL && mapp->ra_base <= upper; in ndi_ra_alloc()
607 base = mapp->ra_base; in ndi_ra_alloc()
612 base, mapp->ra_base, mask); in ndi_ra_alloc()
636 if ((upper - mapp->ra_base) < mapp->ra_len) in ndi_ra_alloc()
640 (base - mapp->ra_base); in ndi_ra_alloc()
654 (base - mapp->ra_base))) || in ndi_ra_alloc()
673 for (; mapp != NULL && mapp->ra_base <= upper; in ndi_ra_alloc()
675 if (base >= mapp->ra_base && in ndi_ra_alloc()
676 ((base - mapp->ra_base) < mapp->ra_len)) { in ndi_ra_alloc()
682 (base - mapp->ra_base > in ndi_ra_alloc()
687 if ((upper - mapp->ra_base) in ndi_ra_alloc()
694 mapp->ra_base); in ndi_ra_alloc()
906 " %" PRIx64 "\n", res->ra_base, in ra_dump_all()