Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dxdp_redirect_cpu_kern.c286 u32 *cpu_max; in xdp_prognum2_round_robin() local
289 cpu_max = bpf_map_lookup_elem(&cpus_count, &key0); in xdp_prognum2_round_robin()
290 if (!cpu_max) in xdp_prognum2_round_robin()
299 if (*cpu_iterator == *cpu_max) in xdp_prognum2_round_robin()
522 u32 *cpu_max; in xdp_prognum5_lb_hash_ip_pairs() local
532 cpu_max = bpf_map_lookup_elem(&cpus_count, &key); in xdp_prognum5_lb_hash_ip_pairs()
533 if (!cpu_max) in xdp_prognum5_lb_hash_ip_pairs()
553 cpu_idx = cpu_hash % *cpu_max; in xdp_prognum5_lb_hash_ip_pairs()
/Linux-v5.4/arch/s390/hypfs/
Dhypfs_vm.c38 __u32 cpu_max; member
154 ATTRIBUTE(cpus_dir, "weight_max", data->cpu_max); in hypfs_vm_create_guest()
/Linux-v5.4/arch/parisc/kernel/
Dsmp.c410 void smp_cpus_done(unsigned int cpu_max) in smp_cpus_done() argument