Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/habanalabs/common/
Dmemory.c496 struct hl_va_range *va_range, u64 start, u64 end) in add_va_block() argument
500 mutex_lock(&va_range->lock); in add_va_block()
501 rc = add_va_block_locked(hdev, &va_range->list, start, end); in add_va_block()
502 mutex_unlock(&va_range->lock); in add_va_block()
521 static u64 get_va_block(struct hl_device *hdev, struct hl_va_range *va_range, in get_va_block() argument
535 mutex_lock(&va_range->lock); in get_va_block()
537 print_va_list_locked(hdev, &va_range->list); in get_va_block()
539 list_for_each_entry(va_block, &va_range->list, node) { in get_va_block()
593 add_va_block_locked(hdev, &va_range->list, prev_start, in get_va_block()
596 print_va_list_locked(hdev, &va_range->list); in get_va_block()
[all …]