Searched refs:hwt_backend (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/dev/hwt/ |
H A D | hwt_backend.c | 57 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 D | hwt_backend.h | 54 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 D | hwt_ioctl.c | 131 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 D | hwt_context.h | 67 struct hwt_backend *hwt_backend; member
|
H A D | hwt_hook.c | 225 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 D | hwt_thread.h | 37 struct hwt_backend *backend;
|
H A D | hwt_vm.c | 227 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 D | Makefile | 8 hwt_backend.c \
|
/freebsd/sys/amd64/pt/ |
H A D | pt.c | 753 static struct hwt_backend backend = {
|
/freebsd/sys/conf/ |
H A D | files | 1764 dev/hwt/hwt_backend.c optional hwt
|