Lines Matching refs:bytes
90 memlist_free_block(caddr_t base, size_t bytes) in memlist_free_block() argument
95 count = bytes / sizeof (struct memlist); in memlist_free_block()
203 uint64_t bytes, in memlist_add_span() argument
220 dst->ml_size = bytes; in memlist_add_span()
247 if ((address + bytes) == next->ml_address) { in memlist_add_span()
251 next->ml_size += bytes; in memlist_add_span()
266 if ((address + bytes) > in memlist_add_span()
273 if ((address + bytes) == in memlist_add_span()
282 mlp->ml_size += bytes; in memlist_add_span()
293 next->ml_size += bytes; in memlist_add_span()
299 if ((address + bytes) > next->ml_address) { in memlist_add_span()
338 uint64_t bytes, in memlist_delete_span() argument
362 if (address + bytes > next->ml_address + next->ml_size) { in memlist_delete_span()
373 if (bytes == next->ml_size) { in memlist_delete_span()
386 next->ml_address += bytes; in memlist_delete_span()
387 next->ml_size -= bytes; in memlist_delete_span()
395 if (address + bytes == next->ml_address + next->ml_size) { in memlist_delete_span()
399 next->ml_size -= bytes; in memlist_delete_span()
420 dst->ml_address = address + bytes; in memlist_delete_span()