hwt_context
struct hwt_context *hwt_ctx;
pt_backend_configure(struct hwt_context *ctx, int cpu_id, int thread_id)
pt_backend_enable(struct hwt_context *ctx, int cpu_id)
pt_backend_disable(struct hwt_context *ctx, int cpu_id)
pt_backend_enable_smp(struct hwt_context *ctx)
pt_backend_disable_smp(struct hwt_context *ctx)
pt_backend_init(struct hwt_context *ctx)
pt_backend_deinit(struct hwt_context *ctx)
int spe_backend_disable_smp(struct hwt_context *ctx);
spe_backend_init_cpu(struct hwt_context *ctx)
spe_backend_init(struct hwt_context *ctx)
spe_backend_deinit(struct hwt_context *ctx)
spe_backend_configure(struct hwt_context *ctx, int cpu_id, int thread_id)
struct hwt_context *ctx = info->sc->ctx;
spe_backend_enable_smp(struct hwt_context *ctx)
struct hwt_context *ctx = info->sc->ctx;
spe_backend_disable_smp(struct hwt_context *ctx)
spe_backend_enable(struct hwt_context *ctx, int cpu_id)
spe_backend_disable(struct hwt_context *ctx, int cpu_id)
spe_backend_stop(struct hwt_context *ctx)
spe_backend_svc_buf(struct hwt_context *ctx, void *data, size_t data_size,
struct hwt_context *ctx = arg;
int spe_backend_disable_smp(struct hwt_context *ctx);
struct hwt_context *ctx;
hwt_backend_enable(struct hwt_context *ctx, int cpu_id)
hwt_backend_disable(struct hwt_context *ctx, int cpu_id)
hwt_backend_enable_smp(struct hwt_context *ctx)
hwt_backend_disable_smp(struct hwt_context *ctx)
hwt_backend_dump(struct hwt_context *ctx, int cpu_id)
hwt_backend_read(struct hwt_context *ctx, struct hwt_vm *vm, int *ident,
hwt_backend_stop(struct hwt_context *ctx)
hwt_backend_svc_buf(struct hwt_context *ctx, void *data, size_t data_size,
hwt_backend_thread_alloc(struct hwt_context *ctx, struct hwt_thread *thr)
hwt_backend_init(struct hwt_context *ctx)
hwt_backend_deinit(struct hwt_context *ctx)
hwt_backend_configure(struct hwt_context *ctx, int cpu_id, int thread_id)
int (*hwt_backend_init)(struct hwt_context *);
int (*hwt_backend_deinit)(struct hwt_context *);
int (*hwt_backend_configure)(struct hwt_context *, int cpu_id,
int (*hwt_backend_svc_buf)(struct hwt_context *, void *data,
void (*hwt_backend_enable)(struct hwt_context *, int cpu_id);
void (*hwt_backend_disable)(struct hwt_context *, int cpu_id);
void (*hwt_backend_stop)(struct hwt_context *);
int (*hwt_backend_enable_smp)(struct hwt_context *);
int (*hwt_backend_disable_smp)(struct hwt_context *);
int hwt_backend_init(struct hwt_context *ctx);
void hwt_backend_deinit(struct hwt_context *ctx);
int hwt_backend_configure(struct hwt_context *ctx, int cpu_id, int thread_id);
void hwt_backend_enable(struct hwt_context *ctx, int cpu_id);
void hwt_backend_disable(struct hwt_context *ctx, int cpu_id);
void hwt_backend_enable_smp(struct hwt_context *ctx);
void hwt_backend_disable_smp(struct hwt_context *ctx);
void hwt_backend_dump(struct hwt_context *ctx, int cpu_id);
int hwt_backend_read(struct hwt_context *ctx, struct hwt_vm *vm, int *ident,
void hwt_backend_stop(struct hwt_context *);
int hwt_backend_svc_buf(struct hwt_context *ctx, void *data, size_t data_size,
int hwt_backend_thread_alloc(struct hwt_context *ctx, struct hwt_thread *);
hwt_config_set(struct thread *td, struct hwt_context *ctx,
hwt_config_free(struct hwt_context *ctx)
int hwt_config_set(struct thread *td, struct hwt_context *ctx,
void hwt_config_free(struct hwt_context *ctx);
hwt_ctx_free_cpus(struct hwt_context *ctx)
hwt_ctx_free_threads(struct hwt_context *ctx)
hwt_ctx_free(struct hwt_context *ctx)
hwt_ctx_put(struct hwt_context *ctx)
hwt_ctx_alloc(struct hwt_context **ctx0)
struct hwt_context *ctx;
ctx = malloc(sizeof(struct hwt_context), M_HWT_CTX, M_WAITOK | M_ZERO);
LIST_ENTRY(hwt_context) next_hch; /* Entry in contexthash. */
LIST_ENTRY(hwt_context) next_hwts; /* Entry in ho->hwts. */
int hwt_ctx_alloc(struct hwt_context **ctx0);
void hwt_ctx_free(struct hwt_context *ctx);
void hwt_ctx_put(struct hwt_context *ctx);
hwt_contexthash_remove(struct hwt_context *ctx)
static LIST_HEAD(hwt_contexthash, hwt_context) *hwt_contexthash;
struct hwt_context *
struct hwt_context *ctx;
hwt_contexthash_insert(struct hwt_context *ctx)
struct hwt_context * hwt_contexthash_lookup(struct proc *p);
void hwt_contexthash_insert(struct hwt_context *ctx);
void hwt_contexthash_remove(struct hwt_context *ctx);
hwt_cpu_insert(struct hwt_context *ctx, struct hwt_cpu *cpu)
hwt_cpu_first(struct hwt_context *ctx)
hwt_cpu_get(struct hwt_context *ctx, int cpu_id)
struct hwt_cpu * hwt_cpu_first(struct hwt_context *ctx);
struct hwt_cpu * hwt_cpu_get(struct hwt_context *ctx, int cpu_id);
void hwt_cpu_insert(struct hwt_context *ctx, struct hwt_cpu *cpu);
struct hwt_context *ctx;
struct hwt_context *ctx;
struct hwt_context *ctx;
struct hwt_context *ctx;
struct hwt_context *ctx;
struct hwt_context *ctx, *ctx1;
struct hwt_context *ctx;
struct hwt_context *ctx;
struct hwt_context *
struct hwt_context *ctx;
struct hwt_context *
struct hwt_context *ctx;
LIST_HEAD(, hwt_context) hwts; /* Owned HWTs. */
struct hwt_context * hwt_owner_lookup_ctx(struct hwt_owner *ho, pid_t pid);
struct hwt_context * hwt_owner_lookup_ctx_by_cpu(struct hwt_owner *ho, int cpu);
hwt_record_ctx(struct hwt_context *ctx, struct hwt_record_entry *ent, int flags)
struct hwt_context *ctx;
hwt_record_grab(struct hwt_context *ctx,
hwt_record_free_all(struct hwt_context *ctx)
hwt_record_send(struct hwt_context *ctx, struct hwt_record_get *record_get)
hwt_record_kernel_objects(struct hwt_context *ctx)
hwt_record_wakeup(struct hwt_context *ctx)
int hwt_record_send(struct hwt_context *ctx, struct hwt_record_get *record_get);
void hwt_record_ctx(struct hwt_context *ctx, struct hwt_record_entry *ent,
void hwt_record_kernel_objects(struct hwt_context *ctx);
void hwt_record_free_all(struct hwt_context *ctx);
void hwt_record_wakeup(struct hwt_context *ctx);
hwt_thread_insert(struct hwt_context *ctx, struct hwt_thread *thr,
hwt_thread_first(struct hwt_context *ctx)
hwt_thread_lookup(struct hwt_context *ctx, struct thread *td)
struct hwt_context *ctx;
void hwt_thread_insert(struct hwt_context *ctx, struct hwt_thread *thr, struct hwt_record_entry *entry);
struct hwt_thread * hwt_thread_first(struct hwt_context *ctx);
struct hwt_thread * hwt_thread_lookup(struct hwt_context *ctx,
hwt_vm_start_cpu_mode(struct hwt_context *ctx)
struct hwt_context *ctx;
struct hwt_context *ctx;