Searched refs:va_range (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/misc/habanalabs/common/ |
D | memory.c | 541 struct hl_va_range *va_range, u64 start, u64 end) in add_va_block() argument 545 mutex_lock(&va_range->lock); in add_va_block() 546 rc = add_va_block_locked(hdev, &va_range->list, start, end); in add_va_block() 547 mutex_unlock(&va_range->lock); in add_va_block() 600 struct hl_va_range *va_range, in get_va_block() argument 611 bool is_align_pow_2 = is_power_of_2(va_range->page_size); in get_va_block() 623 size = DIV_ROUND_UP_ULL(size, va_range->page_size) * in get_va_block() 624 va_range->page_size; in get_va_block() 631 do_div(tmp_hint_addr, va_range->page_size))) { in get_va_block() 647 mutex_lock(&va_range->lock); in get_va_block() [all …]
|
D | debugfs.c | 251 struct hl_va_range *va_range; in vm_show() local 338 va_range = ctx->va_range[i]; in vm_show() 341 mutex_lock(&va_range->lock); in vm_show() 342 list_for_each_entry(va_block, &va_range->list, node) { in vm_show() 347 mutex_unlock(&va_range->lock); in vm_show()
|
D | habanalabs.h | 1831 struct hl_va_range *va_range[HL_VA_RANGE_TYPE_MAX]; member
|