Symbol: hwt_context
sys/amd64/pt/pt.c
125
struct hwt_context *hwt_ctx;
sys/amd64/pt/pt.c
424
pt_backend_configure(struct hwt_context *ctx, int cpu_id, int thread_id)
sys/amd64/pt/pt.c
514
pt_backend_enable(struct hwt_context *ctx, int cpu_id)
sys/amd64/pt/pt.c
529
pt_backend_disable(struct hwt_context *ctx, int cpu_id)
sys/amd64/pt/pt.c
555
pt_backend_enable_smp(struct hwt_context *ctx)
sys/amd64/pt/pt.c
574
pt_backend_disable_smp(struct hwt_context *ctx)
sys/amd64/pt/pt.c
607
pt_backend_init(struct hwt_context *ctx)
sys/amd64/pt/pt.c
632
pt_backend_deinit(struct hwt_context *ctx)
sys/arm64/spe/arm_spe_backend.c
118
int spe_backend_disable_smp(struct hwt_context *ctx);
sys/arm64/spe/arm_spe_backend.c
136
spe_backend_init_cpu(struct hwt_context *ctx)
sys/arm64/spe/arm_spe_backend.c
164
spe_backend_init(struct hwt_context *ctx)
sys/arm64/spe/arm_spe_backend.c
221
spe_backend_deinit(struct hwt_context *ctx)
sys/arm64/spe/arm_spe_backend.c
297
spe_backend_configure(struct hwt_context *ctx, int cpu_id, int thread_id)
sys/arm64/spe/arm_spe_backend.c
364
struct hwt_context *ctx = info->sc->ctx;
sys/arm64/spe/arm_spe_backend.c
420
spe_backend_enable_smp(struct hwt_context *ctx)
sys/arm64/spe/arm_spe_backend.c
460
struct hwt_context *ctx = info->sc->ctx;
sys/arm64/spe/arm_spe_backend.c
503
spe_backend_disable_smp(struct hwt_context *ctx)
sys/arm64/spe/arm_spe_backend.c
538
spe_backend_enable(struct hwt_context *ctx, int cpu_id)
sys/arm64/spe/arm_spe_backend.c
559
spe_backend_disable(struct hwt_context *ctx, int cpu_id)
sys/arm64/spe/arm_spe_backend.c
586
spe_backend_stop(struct hwt_context *ctx)
sys/arm64/spe/arm_spe_backend.c
634
spe_backend_svc_buf(struct hwt_context *ctx, void *data, size_t data_size,
sys/arm64/spe/arm_spe_dev.c
310
struct hwt_context *ctx = arg;
sys/arm64/spe/arm_spe_dev.h
62
int spe_backend_disable_smp(struct hwt_context *ctx);
sys/arm64/spe/arm_spe_dev.h
84
struct hwt_context *ctx;
sys/dev/hwt/hwt_backend.c
100
hwt_backend_enable(struct hwt_context *ctx, int cpu_id)
sys/dev/hwt/hwt_backend.c
109
hwt_backend_disable(struct hwt_context *ctx, int cpu_id)
sys/dev/hwt/hwt_backend.c
118
hwt_backend_enable_smp(struct hwt_context *ctx)
sys/dev/hwt/hwt_backend.c
127
hwt_backend_disable_smp(struct hwt_context *ctx)
sys/dev/hwt/hwt_backend.c
136
hwt_backend_dump(struct hwt_context *ctx, int cpu_id)
sys/dev/hwt/hwt_backend.c
145
hwt_backend_read(struct hwt_context *ctx, struct hwt_vm *vm, int *ident,
sys/dev/hwt/hwt_backend.c
240
hwt_backend_stop(struct hwt_context *ctx)
sys/dev/hwt/hwt_backend.c
248
hwt_backend_svc_buf(struct hwt_context *ctx, void *data, size_t data_size,
sys/dev/hwt/hwt_backend.c
262
hwt_backend_thread_alloc(struct hwt_context *ctx, struct hwt_thread *thr)
sys/dev/hwt/hwt_backend.c
66
hwt_backend_init(struct hwt_context *ctx)
sys/dev/hwt/hwt_backend.c
78
hwt_backend_deinit(struct hwt_context *ctx)
sys/dev/hwt/hwt_backend.c
87
hwt_backend_configure(struct hwt_context *ctx, int cpu_id, int thread_id)
sys/dev/hwt/hwt_backend.h
33
int (*hwt_backend_init)(struct hwt_context *);
sys/dev/hwt/hwt_backend.h
34
int (*hwt_backend_deinit)(struct hwt_context *);
sys/dev/hwt/hwt_backend.h
35
int (*hwt_backend_configure)(struct hwt_context *, int cpu_id,
sys/dev/hwt/hwt_backend.h
37
int (*hwt_backend_svc_buf)(struct hwt_context *, void *data,
sys/dev/hwt/hwt_backend.h
39
void (*hwt_backend_enable)(struct hwt_context *, int cpu_id);
sys/dev/hwt/hwt_backend.h
40
void (*hwt_backend_disable)(struct hwt_context *, int cpu_id);
sys/dev/hwt/hwt_backend.h
43
void (*hwt_backend_stop)(struct hwt_context *);
sys/dev/hwt/hwt_backend.h
45
int (*hwt_backend_enable_smp)(struct hwt_context *);
sys/dev/hwt/hwt_backend.h
46
int (*hwt_backend_disable_smp)(struct hwt_context *);
sys/dev/hwt/hwt_backend.h
61
int hwt_backend_init(struct hwt_context *ctx);
sys/dev/hwt/hwt_backend.h
62
void hwt_backend_deinit(struct hwt_context *ctx);
sys/dev/hwt/hwt_backend.h
63
int hwt_backend_configure(struct hwt_context *ctx, int cpu_id, int thread_id);
sys/dev/hwt/hwt_backend.h
64
void hwt_backend_enable(struct hwt_context *ctx, int cpu_id);
sys/dev/hwt/hwt_backend.h
65
void hwt_backend_disable(struct hwt_context *ctx, int cpu_id);
sys/dev/hwt/hwt_backend.h
66
void hwt_backend_enable_smp(struct hwt_context *ctx);
sys/dev/hwt/hwt_backend.h
67
void hwt_backend_disable_smp(struct hwt_context *ctx);
sys/dev/hwt/hwt_backend.h
68
void hwt_backend_dump(struct hwt_context *ctx, int cpu_id);
sys/dev/hwt/hwt_backend.h
69
int hwt_backend_read(struct hwt_context *ctx, struct hwt_vm *vm, int *ident,
sys/dev/hwt/hwt_backend.h
73
void hwt_backend_stop(struct hwt_context *);
sys/dev/hwt/hwt_backend.h
74
int hwt_backend_svc_buf(struct hwt_context *ctx, void *data, size_t data_size,
sys/dev/hwt/hwt_backend.h
77
int hwt_backend_thread_alloc(struct hwt_context *ctx, struct hwt_thread *);
sys/dev/hwt/hwt_config.c
62
hwt_config_set(struct thread *td, struct hwt_context *ctx,
sys/dev/hwt/hwt_config.c
99
hwt_config_free(struct hwt_context *ctx)
sys/dev/hwt/hwt_config.h
32
int hwt_config_set(struct thread *td, struct hwt_context *ctx,
sys/dev/hwt/hwt_config.h
34
void hwt_config_free(struct hwt_context *ctx);
sys/dev/hwt/hwt_context.c
118
hwt_ctx_free_cpus(struct hwt_context *ctx)
sys/dev/hwt/hwt_context.c
139
hwt_ctx_free_threads(struct hwt_context *ctx)
sys/dev/hwt/hwt_context.c
166
hwt_ctx_free(struct hwt_context *ctx)
sys/dev/hwt/hwt_context.c
180
hwt_ctx_put(struct hwt_context *ctx)
sys/dev/hwt/hwt_context.c
92
hwt_ctx_alloc(struct hwt_context **ctx0)
sys/dev/hwt/hwt_context.c
94
struct hwt_context *ctx;
sys/dev/hwt/hwt_context.c
97
ctx = malloc(sizeof(struct hwt_context), M_HWT_CTX, M_WAITOK | M_ZERO);
sys/dev/hwt/hwt_context.h
40
LIST_ENTRY(hwt_context) next_hch; /* Entry in contexthash. */
sys/dev/hwt/hwt_context.h
41
LIST_ENTRY(hwt_context) next_hwts; /* Entry in ho->hwts. */
sys/dev/hwt/hwt_context.h
79
int hwt_ctx_alloc(struct hwt_context **ctx0);
sys/dev/hwt/hwt_context.h
80
void hwt_ctx_free(struct hwt_context *ctx);
sys/dev/hwt/hwt_context.h
81
void hwt_ctx_put(struct hwt_context *ctx);
sys/dev/hwt/hwt_contexthash.c
111
hwt_contexthash_remove(struct hwt_context *ctx)
sys/dev/hwt/hwt_contexthash.c
67
static LIST_HEAD(hwt_contexthash, hwt_context) *hwt_contexthash;
sys/dev/hwt/hwt_contexthash.c
73
struct hwt_context *
sys/dev/hwt/hwt_contexthash.c
77
struct hwt_context *ctx;
sys/dev/hwt/hwt_contexthash.c
97
hwt_contexthash_insert(struct hwt_context *ctx)
sys/dev/hwt/hwt_contexthash.h
32
struct hwt_context * hwt_contexthash_lookup(struct proc *p);
sys/dev/hwt/hwt_contexthash.h
33
void hwt_contexthash_insert(struct hwt_context *ctx);
sys/dev/hwt/hwt_contexthash.h
34
void hwt_contexthash_remove(struct hwt_context *ctx);
sys/dev/hwt/hwt_cpu.c
109
hwt_cpu_insert(struct hwt_context *ctx, struct hwt_cpu *cpu)
sys/dev/hwt/hwt_cpu.c
78
hwt_cpu_first(struct hwt_context *ctx)
sys/dev/hwt/hwt_cpu.c
92
hwt_cpu_get(struct hwt_context *ctx, int cpu_id)
sys/dev/hwt/hwt_cpu.h
41
struct hwt_cpu * hwt_cpu_first(struct hwt_context *ctx);
sys/dev/hwt/hwt_cpu.h
42
struct hwt_cpu * hwt_cpu_get(struct hwt_context *ctx, int cpu_id);
sys/dev/hwt/hwt_cpu.h
43
void hwt_cpu_insert(struct hwt_context *ctx, struct hwt_cpu *cpu);
sys/dev/hwt/hwt_hook.c
132
struct hwt_context *ctx;
sys/dev/hwt/hwt_hook.c
165
struct hwt_context *ctx;
sys/dev/hwt/hwt_hook.c
209
struct hwt_context *ctx;
sys/dev/hwt/hwt_hook.c
62
struct hwt_context *ctx;
sys/dev/hwt/hwt_hook.c
98
struct hwt_context *ctx;
sys/dev/hwt/hwt_ioctl.c
135
struct hwt_context *ctx, *ctx1;
sys/dev/hwt/hwt_ioctl.c
290
struct hwt_context *ctx;
sys/dev/hwt/hwt_owner.c
117
struct hwt_context *ctx;
sys/dev/hwt/hwt_owner.c
63
struct hwt_context *
sys/dev/hwt/hwt_owner.c
66
struct hwt_context *ctx;
sys/dev/hwt/hwt_owner.c
81
struct hwt_context *
sys/dev/hwt/hwt_owner.c
84
struct hwt_context *ctx;
sys/dev/hwt/hwt_owner.h
35
LIST_HEAD(, hwt_context) hwts; /* Owned HWTs. */
sys/dev/hwt/hwt_owner.h
40
struct hwt_context * hwt_owner_lookup_ctx(struct hwt_owner *ho, pid_t pid);
sys/dev/hwt/hwt_owner.h
43
struct hwt_context * hwt_owner_lookup_ctx_by_cpu(struct hwt_owner *ho, int cpu);
sys/dev/hwt/hwt_record.c
125
hwt_record_ctx(struct hwt_context *ctx, struct hwt_record_entry *ent, int flags)
sys/dev/hwt/hwt_record.c
146
struct hwt_context *ctx;
sys/dev/hwt/hwt_record.c
194
hwt_record_grab(struct hwt_context *ctx,
sys/dev/hwt/hwt_record.c
226
hwt_record_free_all(struct hwt_context *ctx)
sys/dev/hwt/hwt_record.c
245
hwt_record_send(struct hwt_context *ctx, struct hwt_record_get *record_get)
sys/dev/hwt/hwt_record.c
278
hwt_record_kernel_objects(struct hwt_context *ctx)
sys/dev/hwt/hwt_record.c
299
hwt_record_wakeup(struct hwt_context *ctx)
sys/dev/hwt/hwt_record.h
37
int hwt_record_send(struct hwt_context *ctx, struct hwt_record_get *record_get);
sys/dev/hwt/hwt_record.h
39
void hwt_record_ctx(struct hwt_context *ctx, struct hwt_record_entry *ent,
sys/dev/hwt/hwt_record.h
43
void hwt_record_kernel_objects(struct hwt_context *ctx);
sys/dev/hwt/hwt_record.h
44
void hwt_record_free_all(struct hwt_context *ctx);
sys/dev/hwt/hwt_record.h
45
void hwt_record_wakeup(struct hwt_context *ctx);
sys/dev/hwt/hwt_thread.c
155
hwt_thread_insert(struct hwt_context *ctx, struct hwt_thread *thr,
sys/dev/hwt/hwt_thread.c
72
hwt_thread_first(struct hwt_context *ctx)
sys/dev/hwt/hwt_thread.c
89
hwt_thread_lookup(struct hwt_context *ctx, struct thread *td)
sys/dev/hwt/hwt_thread.h
36
struct hwt_context *ctx;
sys/dev/hwt/hwt_thread.h
55
void hwt_thread_insert(struct hwt_context *ctx, struct hwt_thread *thr, struct hwt_record_entry *entry);
sys/dev/hwt/hwt_thread.h
56
struct hwt_thread * hwt_thread_first(struct hwt_context *ctx);
sys/dev/hwt/hwt_thread.h
57
struct hwt_thread * hwt_thread_lookup(struct hwt_context *ctx,
sys/dev/hwt/hwt_vm.c
208
hwt_vm_start_cpu_mode(struct hwt_context *ctx)
sys/dev/hwt/hwt_vm.c
245
struct hwt_context *ctx;
sys/dev/hwt/hwt_vm.h
39
struct hwt_context *ctx;