Searched refs:cpu_map (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/hwt/ |
H A D | hwt_ioctl.c | 295 cpuset_t cpu_map; in hwt_ioctl_alloc_mode_cpu() local 300 CPU_ZERO(&cpu_map); in hwt_ioctl_alloc_mode_cpu() 302 error = copyin(halloc->cpu_map, &cpu_map, cpusetsize); in hwt_ioctl_alloc_mode_cpu() 306 CPU_FOREACH_ISSET(cpu_id, &cpu_map) { in hwt_ioctl_alloc_mode_cpu() 333 ctx->cpu_map = cpu_map; in hwt_ioctl_alloc_mode_cpu() 343 CPU_FOREACH_ISSET(cpu_id, &cpu_map) { in hwt_ioctl_alloc_mode_cpu()
|
H A D | hwt_context.h | 50 cpuset_t cpu_map; member
|
H A D | hwt_vm.c | 215 CPU_FOREACH_ISSET(cpu_id, &ctx->cpu_map) { in hwt_vm_start_cpu_mode()
|
/freebsd/sys/amd64/pt/ |
H A D | pt.c | 539 CPU_SET(cpu_id, &ctx->cpu_map); in pt_backend_enable() 556 CPU_CLR(cpu_id, &ctx->cpu_map); in pt_backend_disable() 575 smp_rendezvous_cpus(ctx->cpu_map, NULL, pt_cpu_start, NULL, NULL); in pt_backend_enable_smp() 592 if (CPU_EMPTY(&ctx->cpu_map)) { in pt_backend_disable_smp() 596 smp_rendezvous_cpus(ctx->cpu_map, NULL, pt_cpu_stop, NULL, NULL); in pt_backend_disable_smp() 651 if (!CPU_ISSET(cpu_id, &ctx->cpu_map)) in pt_backend_deinit()
|
/freebsd/sys/sys/ |
H A D | hwt.h | 58 cpuset_t *cpu_map; /* cpu mode only */ member
|