kernel_ctx 371 drivers/misc/habanalabs/debugfs.c ctx = hdev->kernel_ctx; kernel_ctx 902 drivers/misc/habanalabs/device.c if ((hard_reset) && (hl_ctx_put(hdev->kernel_ctx) == 1)) kernel_ctx 903 drivers/misc/habanalabs/device.c hdev->kernel_ctx = NULL; kernel_ctx 943 drivers/misc/habanalabs/device.c if (hdev->kernel_ctx) { kernel_ctx 958 drivers/misc/habanalabs/device.c hdev->kernel_ctx = kzalloc(sizeof(*hdev->kernel_ctx), kernel_ctx 960 drivers/misc/habanalabs/device.c if (!hdev->kernel_ctx) { kernel_ctx 967 drivers/misc/habanalabs/device.c rc = hl_ctx_init(hdev, hdev->kernel_ctx, true); kernel_ctx 971 drivers/misc/habanalabs/device.c kfree(hdev->kernel_ctx); kernel_ctx 972 drivers/misc/habanalabs/device.c hdev->kernel_ctx = NULL; kernel_ctx 1164 drivers/misc/habanalabs/device.c hdev->kernel_ctx = kzalloc(sizeof(*hdev->kernel_ctx), GFP_KERNEL); kernel_ctx 1165 drivers/misc/habanalabs/device.c if (!hdev->kernel_ctx) { kernel_ctx 1172 drivers/misc/habanalabs/device.c rc = hl_ctx_init(hdev, hdev->kernel_ctx, true); kernel_ctx 1175 drivers/misc/habanalabs/device.c kfree(hdev->kernel_ctx); kernel_ctx 1270 drivers/misc/habanalabs/device.c if (hl_ctx_put(hdev->kernel_ctx) != 1) kernel_ctx 1379 drivers/misc/habanalabs/device.c if ((hdev->kernel_ctx) && (hl_ctx_put(hdev->kernel_ctx) != 1)) kernel_ctx 4754 drivers/misc/habanalabs/goya/goya.c rc = hl_mmu_map(hdev->kernel_ctx, prop->dram_base_address + off, kernel_ctx 4764 drivers/misc/habanalabs/goya/goya.c rc = hl_mmu_map(hdev->kernel_ctx, VA_CPU_ACCESSIBLE_MEM_ADDR, kernel_ctx 4775 drivers/misc/habanalabs/goya/goya.c rc = hl_mmu_map(hdev->kernel_ctx, kernel_ctx 4802 drivers/misc/habanalabs/goya/goya.c if (hl_mmu_unmap(hdev->kernel_ctx, kernel_ctx 4810 drivers/misc/habanalabs/goya/goya.c if (hl_mmu_unmap(hdev->kernel_ctx, kernel_ctx 4835 drivers/misc/habanalabs/goya/goya.c if (hl_mmu_unmap(hdev->kernel_ctx, VA_CPU_ACCESSIBLE_MEM_ADDR, kernel_ctx 4841 drivers/misc/habanalabs/goya/goya.c if (hl_mmu_unmap(hdev->kernel_ctx, kernel_ctx 4850 drivers/misc/habanalabs/goya/goya.c if (hl_mmu_unmap(hdev->kernel_ctx, kernel_ctx 1269 drivers/misc/habanalabs/habanalabs.h struct hl_ctx *kernel_ctx;