/dragonfly/contrib/xz/src/common/ |
H A D | tuklib_cpucores.c | 76 int cpus; in tuklib_cpucores() local 77 size_t cpus_size = sizeof(cpus); in tuklib_cpucores() 78 if (sysctl(name, 2, &cpus, &cpus_size, NULL, 0) != -1 in tuklib_cpucores() 79 && cpus_size == sizeof(cpus) && cpus > 0) in tuklib_cpucores() 80 ret = (uint32_t)cpus; in tuklib_cpucores() 85 const long cpus = sysconf(_SC_NPROCESSORS_ONLN); in tuklib_cpucores() local 88 const long cpus = sysconf(_SC_NPROC_ONLN); in tuklib_cpucores() local 90 if (cpus > 0) in tuklib_cpucores() 91 ret = (uint32_t)cpus; in tuklib_cpucores()
|
/dragonfly/usr.bin/evtranalyze/ |
H A D | evtranalyze.c | 475 struct cpu *cpus; member 661 struct cpu *c, *cpus = ctx->cputab.cpus; in ctxsw_prepare_event() local 675 c = &cpus[ev->cpu]; in ctxsw_prepare_event() 706 struct cpu *cpus = &cputab->cpus[0]; in find_first_last_ts() local 721 cpus[i].td = NULL; in find_first_last_ts() 722 cpus[i].ts = 0; in find_first_last_ts() 812 struct cpu *cpus; in cputab_init() local 822 cpus = ct->cpus; in cputab_init() 835 cpus[i].td = NULL; in cputab_init() 836 cpus[i].ts = 0; in cputab_init() [all …]
|
/dragonfly/contrib/gcc-4.7/libgomp/ |
H A D | env.c | 486 unsigned short *cpus = NULL; in parse_affinity() local 533 new_cpus = realloc (cpus, allocated * sizeof (unsigned short)); in parse_affinity() 536 free (cpus); in parse_affinity() 541 cpus = new_cpus; in parse_affinity() 546 cpus[used++] = cpu_beg; in parse_affinity() 560 gomp_cpu_affinity = cpus; in parse_affinity()
|
/dragonfly/test/sysperf/ |
H A D | ipitest | 27 set cpus = "`seq 1 $ncpus`" 41 foreach i ( $cpus )
|
/dragonfly/lib/libkcore/ |
H A D | kcore.h | 45 #define kinfo_get_cpus(cpus) \ argument 46 kcore_get_cpus(NULL, cpus)
|
/dragonfly/sys/dev/virtual/virtio/pci/ |
H A D | virtio_pci.c | 126 int *cpus); 461 vtpci_intr_alloc(device_t dev, int *cnt, int use_config, int *cpus) in vtpci_intr_alloc() argument 487 if (cpus != NULL && cpus[i] >= 0 && in vtpci_intr_alloc() 488 cpus[i] < ncpus) { in vtpci_intr_alloc() 489 cpu = cpus[i]; in vtpci_intr_alloc() 550 if (cpus != NULL) in vtpci_intr_alloc() 551 cpus[i] = rman_get_cpuid(irq); in vtpci_intr_alloc()
|
/dragonfly/sys/dev/virtual/virtio/virtio/ |
H A D | virtio.c | 217 virtio_intr_alloc(device_t dev, int *cnt, int use_config, int *cpus) in virtio_intr_alloc() argument 220 cpus)); in virtio_intr_alloc()
|
H A D | virtio.h | 140 int virtio_intr_alloc(device_t dev, int *cnt, int use_config, int *cpus);
|
H A D | virtio_bus_if.m | 67 int *cpus;
|
/dragonfly/sys/dev/virtual/nvmm/ |
H A D | nvmm.c | 136 vcpu = &mach->cpus[cpuid]; in nvmm_vcpu_alloc() 176 vcpu = &mach->cpus[cpuid]; in nvmm_vcpu_get() 982 machines[i].cpus[n].present = false; in nvmm_init() 983 machines[i].cpus[n].cpuid = n; in nvmm_init() 984 os_mtx_init(&machines[i].cpus[n].lock); in nvmm_init() 1001 os_mtx_destroy(&machines[i].cpus[n].lock); in nvmm_fini()
|
H A D | nvmm_internal.h | 100 struct nvmm_cpu cpus[NVMM_MAX_VCPUS]; member
|
/dragonfly/sys/dev/drm/include/linux/ |
H A D | stop_machine.h | 39 stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() argument
|
/dragonfly/lib/libevtr/ |
H A D | evtr.c | 215 struct cpu *cpus; member 335 return &evtr->cpus[c]; in evtr_cpu() 1369 evtr->cpus = NULL; in evtr_open_read() 1711 if (evtr->cpus) in evtr_load_sysinfo() 1713 evtr->cpus = malloc(ncpus * sizeof(struct cpu)); in evtr_load_sysinfo() 1714 if (!evtr->cpus) { in evtr_load_sysinfo() 1720 evtr->cpus[i].td = NULL; in evtr_load_sysinfo() 1721 evtr->cpus[i].freq = -1.0; in evtr_load_sysinfo() 1991 freqs[i] = evtr->cpus[i].freq; in evtr_cpufreqs()
|
/dragonfly/test/interbench/ |
H A D | readme | 194 different cpus and keep the workload constant, using the -l option and
|
/dragonfly/contrib/zstd/ |
H A D | CHANGELOG | 252 perf: faster speed (especially decoding speed) on recent cpus (haswell+)
|