Searched refs:cpu_dest (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/samples/bpf/ |
D | xdp_redirect_cpu_kern.c | 210 u32 cpu_dest; in xdp_prognum0_no_touch() local 217 cpu_dest = *cpu_selected; in xdp_prognum0_no_touch() 225 if (cpu_dest >= MAX_CPUS) { in xdp_prognum0_no_touch() 230 return bpf_redirect_map(&cpu_map, cpu_dest, 0); in xdp_prognum0_no_touch() 241 u32 cpu_dest; in xdp_prognum1_touch_data() local 249 cpu_dest = *cpu_selected; in xdp_prognum1_touch_data() 268 if (cpu_dest >= MAX_CPUS) { in xdp_prognum1_touch_data() 273 return bpf_redirect_map(&cpu_map, cpu_dest, 0); in xdp_prognum1_touch_data() 283 u32 cpu_dest; in xdp_prognum2_round_robin() local 308 cpu_dest = *cpu_selected; in xdp_prognum2_round_robin() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
D | ehv_pic.c | 74 unsigned int config, prio, cpu_dest; in ehv_pic_set_affinity() local 79 ev_int_get_config(src, &config, &prio, &cpu_dest); in ehv_pic_set_affinity() 114 unsigned int vecpri, vold, vnew, prio, cpu_dest; in ehv_pic_set_irq_type() local 125 ev_int_get_config(src, &vold, &prio, &cpu_dest); in ehv_pic_set_irq_type() 138 ev_int_set_config(src, vecpri, prio, cpu_dest); in ehv_pic_set_irq_type()
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | irq.c | 100 int cpu_dest; in cpu_check_affinity() local 107 cpu_dest = cpumask_next_and(d->irq & (num_online_cpus()-1), in cpu_check_affinity() 109 if (cpu_dest >= nr_cpu_ids) in cpu_check_affinity() 110 cpu_dest = cpumask_first_and(dest, cpu_online_mask); in cpu_check_affinity() 112 return cpu_dest; in cpu_check_affinity() 118 int cpu_dest; in cpu_set_affinity_irq() local 120 cpu_dest = cpu_check_affinity(d, dest); in cpu_set_affinity_irq() 121 if (cpu_dest < 0) in cpu_set_affinity_irq()
|