Home
last modified time | relevance | path

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

/freebsd/sys/dev/hwt/
H A Dhwt_backend.c57 struct hwt_backend *backend;
72 error = ctx->hwt_backend->ops->hwt_backend_init(ctx); in hwt_backend_init()
83 ctx->hwt_backend->ops->hwt_backend_deinit(ctx); in hwt_backend_deinit()
93 error = ctx->hwt_backend->ops->hwt_backend_configure(ctx, cpu_id, in hwt_backend_configure()
105 ctx->hwt_backend->ops->hwt_backend_enable(ctx, cpu_id); in hwt_backend_enable()
114 ctx->hwt_backend->ops->hwt_backend_disable(ctx, cpu_id); in hwt_backend_disable()
123 ctx->hwt_backend->ops->hwt_backend_enable_smp(ctx); in hwt_backend_enable_smp()
132 ctx->hwt_backend->ops->hwt_backend_disable_smp(ctx); in hwt_backend_disable_smp()
141 ctx->hwt_backend->ops->hwt_backend_dump(cpu_id); in hwt_backend_dump()
152 error = ctx->hwt_backend->ops->hwt_backend_read(vm, ident, in hwt_backend_read()
[all …]
H A Dhwt_backend.h54 struct hwt_backend { struct
71 int hwt_backend_register(struct hwt_backend *); argument
72 int hwt_backend_unregister(struct hwt_backend *);
76 struct hwt_backend * hwt_backend_lookup(const char *name);
H A Dhwt_ioctl.c131 struct hwt_backend *backend, struct hwt_alloc *halloc) in hwt_ioctl_alloc_mode_thread()
155 ctx->hwt_backend = backend; in hwt_ioctl_alloc_mode_thread()
223 ctx->hwt_backend->kva_req); in hwt_ioctl_alloc_mode_thread()
250 thr->backend = ctx->hwt_backend; in hwt_ioctl_alloc_mode_thread()
288 struct hwt_backend *backend, struct hwt_alloc *halloc) in hwt_ioctl_alloc_mode_cpu()
330 ctx->hwt_backend = backend; in hwt_ioctl_alloc_mode_cpu()
345 error = hwt_vm_alloc(ctx->bufsize, ctx->hwt_backend->kva_req, in hwt_ioctl_alloc_mode_cpu()
386 struct hwt_backend *backend; in hwt_ioctl_alloc()
H A Dhwt_context.h67 struct hwt_backend *hwt_backend; member
H A Dhwt_hook.c225 kva_req = ctx->hwt_backend->kva_req; in hwt_hook_thread_create()
259 thr->backend = ctx->hwt_backend; in hwt_hook_thread_create()
H A Dhwt_thread.h37 struct hwt_backend *backend;
H A Dhwt_vm.c227 if (ctx->hwt_backend->ops->hwt_backend_enable_smp == NULL) { in hwt_vm_start_cpu_mode()
444 if (vm->ctx->hwt_backend->kva_req && vm->kvaddr != 0) { in hwt_vm_destroy_buffers()
/freebsd/sys/modules/hwt/
H A DMakefile8 hwt_backend.c \
/freebsd/sys/amd64/pt/
H A Dpt.c753 static struct hwt_backend backend = {
/freebsd/sys/conf/
H A Dfiles1764 dev/hwt/hwt_backend.c optional hwt