Home
last modified time | relevance | path

Searched refs:cpu_dest (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/samples/bpf/
Dxdp_redirect_cpu.bpf.c146 u32 cpu_dest = 0; in xdp_prognum0_no_touch() local
153 cpu_dest = *cpu_selected; in xdp_prognum0_no_touch()
160 if (cpu_dest >= nr_cpus) { in xdp_prognum0_no_touch()
164 return bpf_redirect_map(&cpu_map, cpu_dest, 0); in xdp_prognum0_no_touch()
176 u32 cpu_dest = 0; in xdp_prognum1_touch_data() local
184 cpu_dest = *cpu_selected; in xdp_prognum1_touch_data()
202 if (cpu_dest >= nr_cpus) { in xdp_prognum1_touch_data()
206 return bpf_redirect_map(&cpu_map, cpu_dest, 0); in xdp_prognum1_touch_data()
216 u32 cpu_dest = 0; in xdp_prognum2_round_robin() local
240 cpu_dest = *cpu_selected; in xdp_prognum2_round_robin()
[all …]
/linux-6.1.9/arch/powerpc/sysdev/
Dehv_pic.c75 unsigned int config, prio, cpu_dest; in ehv_pic_set_affinity() local
80 ev_int_get_config(src, &config, &prio, &cpu_dest); in ehv_pic_set_affinity()
115 unsigned int vecpri, vold, vnew, prio, cpu_dest; in ehv_pic_set_irq_type() local
126 ev_int_get_config(src, &vold, &prio, &cpu_dest); in ehv_pic_set_irq_type()
139 ev_int_set_config(src, vecpri, prio, cpu_dest); in ehv_pic_set_irq_type()
/linux-6.1.9/arch/parisc/kernel/
Dirq.c102 int cpu_dest; in cpu_check_affinity() local
108 cpu_dest = cpumask_first_and(dest, cpu_online_mask); in cpu_check_affinity()
109 if (cpu_dest >= nr_cpu_ids) in cpu_check_affinity()
110 cpu_dest = cpumask_first(cpu_online_mask); in cpu_check_affinity()
112 return cpu_dest; in cpu_check_affinity()