/linux-master/tools/virtio/virtio-trace/ |
H A D | trace-agent-rw.c | 30 rw_ti->cpu_num = -1; 46 rw_ti->cpu_num = cpu; 92 static void bind_cpu(int cpu_num) argument 97 CPU_SET(cpu_num, &mask); 99 /* bind my thread to cpu_num by assigning zero to the first argument */ 101 pr_err("Could not set CPU#%d affinity\n", (int)cpu_num); 110 bind_cpu(ts->cpu_num); 131 pr_err("Splice_read in rw-thread(%d)\n", ts->cpu_num); 141 pr_debug("Read retry(cpu:%d)\n", ts->cpu_num); 154 ts->cpu_num); [all...] |
H A D | trace-agent.c | 110 static const char *make_path(int cpu_num, bool this_is_write_path) argument 123 ret = snprintf(buf, PATH_MAX, WRITE_PATH_FMT, cpu_num); 126 ret = snprintf(buf, PATH_MAX, READ_PATH_FMT, TRACEFS, cpu_num); 128 ret = snprintf(buf, PATH_MAX, READ_PATH_FMT, DEBUGFS, cpu_num); 133 this_is_write_path ? "read" : "write", cpu_num, ret); 144 static const char *make_input_path(int cpu_num) argument 146 return make_path(cpu_num, false); 149 static const char *make_output_path(int cpu_num) argument 151 return make_path(cpu_num, true);
|
H A D | trace-agent.h | 28 * @cpu_num: cpu number operating this read/write thread 29 * @in_fd: fd of reading trace data path in cpu_num 30 * @out_fd: fd of writing trace data path in cpu_num 36 int cpu_num; member in struct:rw_thread_info
|
/linux-master/arch/powerpc/include/asm/ |
H A D | mpic_msgr.h | 105 * @cpu_num: the Linux CPU number to bind the message register to 111 u32 cpu_num) 113 out_be32(msgr->base, 1 << get_hard_smp_processor_id(cpu_num)); 110 mpic_msgr_set_destination(struct mpic_msgr *msgr, u32 cpu_num) argument
|
/linux-master/arch/parisc/kernel/ |
H A D | processor.c | 105 cpu_info.cpu_num = cpu_info.cpu_loc = cpuid; 136 cpuid, cpu_info.cpu_num, cpu_info.cpu_loc, 146 if (cpu_info.cpu_num >= NR_CPUS) { 150 &dev->hpa.start, cpu_info.cpu_num, NR_CPUS); 155 cpuid = cpu_info.cpu_num; 172 p->cpu_num = cpu_info.cpu_num;
|
/linux-master/drivers/irqchip/ |
H A D | irq-ls-scfg-msi.c | 374 u32 cpu_num; local 376 cpu_num = num_possible_cpus(); 377 if (msi_data->msir_num >= cpu_num) 378 msi_data->msir_num = cpu_num;
|
/linux-master/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 1283 int cpu_num; local 1293 retval = fscanf(fp, "cpu%u %*d %*d %*d %*d %*d %*d %*d %*d %*d %*d\n", &cpu_num); 1297 retval = func(cpu_num); 1309 int cpu_num; local 1311 for (cpu_num = 0; cpu_num <= max_cpu_num; ++cpu_num) 1312 if (CPU_ISSET_S(cpu_num, set_size, cpu_set)) 1313 func(cpu_num);
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 58 static inline int get_se_device(struct pci_dev **pdev, int *cpu_num) argument 66 *cpu_num = get_cpu(); 74 if (*cpu_num >= se_devices.desc[0].num_queues) 75 *cpu_num %= se_devices.desc[0].num_queues; 357 int status, cpu_num; local 377 status = get_se_device(&pdev, &cpu_num); 396 status = otx2_cpt_do_request(pdev, req_info, cpu_num); 538 int ret, cpu_num; local 550 ret = get_se_device(&pdev, &cpu_num); 596 int ret, cpu_num; local 1318 int status, cpu_num; local [all...] |
H A D | otx2_cptvf_reqmgr.c | 197 int cpu_num) 202 return process_request(lfs->pdev, req, &lfs->lf[cpu_num].pqueue, 203 &lfs->lf[cpu_num]); 196 otx2_cpt_do_request(struct pci_dev *pdev, struct otx2_cpt_req_info *req, int cpu_num) argument
|
H A D | otx2_cpt_reqmgr.h | 491 int cpu_num);
|
/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_reqmgr.h | 225 int cpu_num);
|
H A D | otx_cptvf_algs.c | 69 static inline int get_se_device(struct pci_dev **pdev, int *cpu_num) argument 77 *cpu_num = get_cpu(); 86 if (*cpu_num >= count) 87 *cpu_num %= count; 88 *pdev = se_devices.desc[*cpu_num].dev; 347 int status, cpu_num; local 362 status = get_se_device(&pdev, &cpu_num); 378 status = otx_cpt_do_request(pdev, req_info, cpu_num); 1219 u32 status, cpu_num; local 1262 status = get_se_device(&pdev, &cpu_num); [all...] |
H A D | otx_cptvf_reqmgr.c | 405 int cpu_num) 404 otx_cpt_do_request(struct pci_dev *pdev, struct otx_cpt_req_info *req, int cpu_num) argument
|
/linux-master/arch/parisc/include/asm/ |
H A D | pdcpat.h | 234 unsigned long cpu_num; member in struct:pdc_pat_cpu_num
|
H A D | processor.h | 93 unsigned long cpu_num; /* CPU number from PAT firmware */ member in struct:cpuinfo_parisc
|
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_device.c | 835 int cpu_num; local 851 cpu_num = i % num_online_cpus(); 852 cpumask_set_cpu(cpu_num, &ioq_vector->affinity_mask);
|
/linux-master/drivers/acpi/ |
H A D | cppc_acpi.c | 1748 * @cpu_num: CPU number for per_cpu(). 1758 unsigned int cppc_get_transition_latency(int cpu_num) argument 1774 int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpu_num); 1777 cpc_desc = per_cpu(cpc_desc_ptr, cpu_num);
|
/linux-master/arch/x86/kernel/cpu/microcode/ |
H A D | intel.c | 440 static int collect_cpu_info(int cpu_num, struct cpu_signature *csig) argument
|
/linux-master/drivers/cpufreq/ |
H A D | intel_pstate.c | 2496 static void intel_pstate_set_update_util_hook(unsigned int cpu_num) argument 2498 struct cpudata *cpu = all_cpu_data[cpu_num]; 2508 cpufreq_add_update_util_hook(cpu_num, &cpu->update_util,
|
/linux-master/sound/soc/intel/boards/ |
H A D | sof_sdw.c | 1399 int codec_num, int cpu_num) 1404 step = codec_num / cpu_num; 1398 set_dailink_map(struct snd_soc_dai_link_ch_map *sdw_codec_ch_maps, int codec_num, int cpu_num) argument
|
/linux-master/tools/power/x86/turbostat/ |
H A D | turbostat.c | 1427 int *irqs_per_cpu; /* indexed by cpu_num */ 4506 int cpu_num; local 4516 retval = fscanf(fp, "cpu%u %*d %*d %*d %*d %*d %*d %*d %*d %*d %*d\n", &cpu_num); 4520 retval = func(cpu_num);
|