Lines Matching defs:base
287 dr_memlist_add_span(struct memlist *mlist, uint64_t base, uint64_t len)
296 mlist->ml_address = base;
304 if (base < ml->ml_address) {
305 if ((base + len) < ml->ml_address) {
307 nl->ml_address = base;
316 ml->ml_size = MAX((base + len),
317 (ml->ml_address + ml->ml_size)) - base;
318 ml->ml_address = base;
322 } else if (base <= (ml->ml_address + ml->ml_size)) {
323 ml->ml_size = MAX((base + len),
325 MIN(ml->ml_address, base);
326 ml->ml_address = MIN(ml->ml_address, base);
332 nl->ml_address = base;
345 dr_memlist_del_span(struct memlist *mlist, uint64_t base, uint64_t len)
353 end = base + len;
354 if ((end <= mlist->ml_address) || (base == end))
366 if (base < mend) {
367 if (base <= ml->ml_address) {
374 ml->ml_size = base - ml->ml_address;
415 dr_memlist_cat_span(struct memlist *mlist, uint64_t base, uint64_t len)
424 mlist->ml_address = base;
432 if (base < ml->ml_address) {
434 nl->ml_address = base;
448 nl->ml_address = base;