Home
last modified time | relevance | path

Searched refs:new_va_block (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dmemory.c524 struct hl_vm_va_block *va_block, *new_va_block = NULL; in get_va_block() local
553 (!new_va_block || valid_size < res_valid_size)) { in get_va_block()
554 new_va_block = va_block; in get_va_block()
561 new_va_block = va_block; in get_va_block()
568 if (!new_va_block) { in get_va_block()
574 if (res_valid_start > new_va_block->start) { in get_va_block()
575 prev_start = new_va_block->start; in get_va_block()
578 new_va_block->start = res_valid_start; in get_va_block()
579 new_va_block->size = res_valid_size; in get_va_block()
584 if (new_va_block->size > size) { in get_va_block()
[all …]