Home
last modified time | relevance | path

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

/Linux-v5.15/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.h103 #define current_cpu() (raw_smp_processor_id()) macro
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_txrx.c43 int current_cpu = smp_processor_id(); in mlx5e_channel_no_affinity_change() local
45 return cpumask_test_cpu(current_cpu, c->aff_mask); in mlx5e_channel_no_affinity_change()
/Linux-v5.15/net/bpf/
Dtest_run.c342 int current_cpu; in bpf_prog_test_run_raw_tp() local
371 current_cpu = get_cpu(); in bpf_prog_test_run_raw_tp()
373 cpu == current_cpu) { in bpf_prog_test_run_raw_tp()
/Linux-v5.15/arch/mips/cavium-octeon/
Docteon-irq.c82 int current_cpu; /* Next CPU expected to take this irq */ member
271 cpu = cd->current_cpu; in next_cpu_for_irq()
286 cd->current_cpu = cpu; in next_cpu_for_irq()
2524 cd->current_cpu = cpu; in octeon_irq_ciu3_set_affinity()
2566 cd->current_cpu = -1; in octeon_irq_ciu3_mapx()
/Linux-v5.15/drivers/scsi/lpfc/
Dlpfc_nvmet.c2380 int current_cpu; in lpfc_nvmet_unsol_fcp_buffer() local
2401 current_cpu = raw_smp_processor_id(); in lpfc_nvmet_unsol_fcp_buffer()
2402 current_infop = lpfc_get_ctx_list(phba, current_cpu, idx); in lpfc_nvmet_unsol_fcp_buffer()
2420 if (idx != current_cpu) in lpfc_nvmet_unsol_fcp_buffer()
2424 current_cpu, idx); in lpfc_nvmet_unsol_fcp_buffer()
/Linux-v5.15/kernel/bpf/
Dhashtab.c898 int current_cpu = raw_smp_processor_id(); in pcpu_init_value() local
902 if (cpu == current_cpu) in pcpu_init_value()