| /dragonfly/contrib/xz/src/common/ |
| HD | 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/ |
| HD | 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 713 (uintmax_t)cpus[i].firstlast.start, in find_first_last_ts() 714 (uintmax_t)cpus[i].firstlast.end); in find_first_last_ts() 715 if (cpus[i].firstlast.start && in find_first_last_ts() 716 (cpus[i].firstlast.start < fl->start)) in find_first_last_ts() 717 fl->start = cpus[i].firstlast.start; in find_first_last_ts() 718 if (cpus[i].firstlast.end && in find_first_last_ts() [all …]
|
| /dragonfly/contrib/gcc-4.7/libgomp/ |
| HD | 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/ |
| HD | ipitest | 27 set cpus = "`seq 1 $ncpus`" 41 foreach i ( $cpus )
|
| /dragonfly/lib/libkcore/ |
| HD | kcore.h | 45 #define kinfo_get_cpus(cpus) \ argument 46 kcore_get_cpus(NULL, cpus)
|
| /dragonfly/sys/dev/virtual/virtio/pci/ |
| HD | 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/ |
| HD | 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()
|
| HD | virtio.h | 140 int virtio_intr_alloc(device_t dev, int *cnt, int use_config, int *cpus);
|
| HD | virtio_bus_if.m | 67 int *cpus;
|
| /dragonfly/sys/dev/virtual/nvmm/ |
| HD | 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()
|
| HD | nvmm_internal.h | 100 struct nvmm_cpu cpus[NVMM_MAX_VCPUS]; member
|
| /dragonfly/sys/dev/drm/include/linux/ |
| HD | stop_machine.h | 39 stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() argument
|
| /dragonfly/lib/libevtr/ |
| HD | 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/ |
| HD | readme | 194 different cpus and keep the workload constant, using the -l option and
|
| /dragonfly/contrib/zstd/ |
| HD | CHANGELOG | 252 perf: faster speed (especially decoding speed) on recent cpus (haswell+)
|