Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/habanalabs/common/
Dmemory.c906 va_range = ctx->host_huge_va_range; in map_device_va()
1078 va_range = ctx->host_huge_va_range; in unmap_device_va()
1586 ctx->host_huge_va_range = kzalloc(sizeof(*ctx->host_huge_va_range), in vm_ctx_init_with_ranges()
1588 if (!ctx->host_huge_va_range) { in vm_ctx_init_with_ranges()
1618 mutex_init(&ctx->host_huge_va_range->lock); in vm_ctx_init_with_ranges()
1620 rc = va_range_init(hdev, ctx->host_huge_va_range, in vm_ctx_init_with_ranges()
1629 kfree(ctx->host_huge_va_range); in vm_ctx_init_with_ranges()
1630 ctx->host_huge_va_range = ctx->host_va_range; in vm_ctx_init_with_ranges()
1650 mutex_lock(&ctx->host_huge_va_range->lock); in vm_ctx_init_with_ranges()
1651 clear_va_list_locked(hdev, &ctx->host_huge_va_range->list); in vm_ctx_init_with_ranges()
[all …]
Dhabanalabs.h887 struct hl_va_range *host_huge_va_range; member