Lines Matching defs:base
288 dr_memlist_add_span(struct memlist *mlist, uint64_t base, uint64_t len)
297 mlist->ml_address = base;
305 if (base < ml->ml_address) {
306 if ((base + len) < ml->ml_address) {
308 nl->ml_address = base;
317 ml->ml_size = MAX((base + len),
318 (ml->ml_address + ml->ml_size)) - base;
319 ml->ml_address = base;
323 } else if (base <= (ml->ml_address + ml->ml_size)) {
324 ml->ml_size = MAX((base + len),
326 MIN(ml->ml_address, base);
327 ml->ml_address = MIN(ml->ml_address, base);
333 nl->ml_address = base;
346 dr_memlist_del_span(struct memlist *mlist, uint64_t base, uint64_t len)
354 end = base + len;
355 if ((end <= mlist->ml_address) || (base == end))
367 if (base < mend) {
368 if (base <= ml->ml_address) {
375 ml->ml_size = base - ml->ml_address;
416 dr_memlist_cat_span(struct memlist *mlist, uint64_t base, uint64_t len)
425 mlist->ml_address = base;
433 if (base < ml->ml_address) {
435 nl->ml_address = base;
449 nl->ml_address = base;