Lines Matching refs:new_va_block
599 struct hl_vm_va_block *va_block, *new_va_block = NULL; in get_va_block() local
672 if (!new_va_block || (valid_size < reserved_valid_size)) { in get_va_block()
673 new_va_block = va_block; in get_va_block()
680 new_va_block = va_block; in get_va_block()
687 if (!new_va_block) { in get_va_block()
708 if (reserved_valid_start > new_va_block->start) { in get_va_block()
709 prev_start = new_va_block->start; in get_va_block()
712 new_va_block->start = reserved_valid_start; in get_va_block()
713 new_va_block->size = reserved_valid_size; in get_va_block()
718 if (new_va_block->size > size) { in get_va_block()
719 new_va_block->start += size; in get_va_block()
720 new_va_block->size = new_va_block->end - new_va_block->start + 1; in get_va_block()
722 list_del(&new_va_block->node); in get_va_block()
723 kfree(new_va_block); in get_va_block()