Home
last modified time | relevance | path

Searched refs:current_cpu (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/fs/xfs/
Dxfs_stats.h165 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v++; \
166 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v++; \
171 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v--; \
172 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v--; \
177 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v += (inc); \
178 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v += (inc); \
183 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off]++; \
184 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->a[off]++; \
189 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off]; \
190 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->a[off]; \
[all …]
Dxfs_linux.h104 #define current_cpu() (raw_smp_processor_id()) macro
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_txrx.c44 int current_cpu = smp_processor_id(); in mlx5e_channel_no_affinity_change() local
46 return cpumask_test_cpu(current_cpu, c->aff_mask); in mlx5e_channel_no_affinity_change()
/linux-6.1.9/arch/mips/cavium-octeon/
Docteon-irq.c82 int current_cpu; /* Next CPU expected to take this irq */ member
281 cpu = cd->current_cpu; in next_cpu_for_irq()
296 cd->current_cpu = cpu; in next_cpu_for_irq()
2534 cd->current_cpu = cpu; in octeon_irq_ciu3_set_affinity()
2576 cd->current_cpu = -1; in octeon_irq_ciu3_mapx()
/linux-6.1.9/net/bpf/
Dtest_run.c858 int current_cpu; in bpf_prog_test_run_raw_tp() local
883 current_cpu = get_cpu(); in bpf_prog_test_run_raw_tp()
885 cpu == current_cpu) { in bpf_prog_test_run_raw_tp()
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_nvmet.c2383 int current_cpu; in lpfc_nvmet_unsol_fcp_buffer() local
2404 current_cpu = raw_smp_processor_id(); in lpfc_nvmet_unsol_fcp_buffer()
2405 current_infop = lpfc_get_ctx_list(phba, current_cpu, idx); in lpfc_nvmet_unsol_fcp_buffer()
2423 if (idx != current_cpu) in lpfc_nvmet_unsol_fcp_buffer()
2427 current_cpu, idx); in lpfc_nvmet_unsol_fcp_buffer()
/linux-6.1.9/kernel/bpf/
Dhashtab.c950 int current_cpu = raw_smp_processor_id(); in pcpu_init_value() local
954 if (cpu == current_cpu) in pcpu_init_value()
/linux-6.1.9/virt/kvm/
Dkvm_main.c273 struct cpumask *tmp, int current_cpu) in kvm_make_vcpu_request() argument
295 if (cpu != -1 && cpu != current_cpu) in kvm_make_vcpu_request()