Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/samples/bpf/
H A Dxdp_redirect_cpu_kern.c289 u32 *cpu_max; in xdp_prognum2_round_robin() local
292 cpu_max = bpf_map_lookup_elem(&cpus_count, &key0); in xdp_prognum2_round_robin()
293 if (!cpu_max) in xdp_prognum2_round_robin()
302 if (*cpu_iterator == *cpu_max) in xdp_prognum2_round_robin()
525 u32 *cpu_max; in xdp_prognum5_lb_hash_ip_pairs() local
535 cpu_max = bpf_map_lookup_elem(&cpus_count, &key); in xdp_prognum5_lb_hash_ip_pairs()
536 if (!cpu_max) in xdp_prognum5_lb_hash_ip_pairs()
556 cpu_idx = cpu_hash % *cpu_max; in xdp_prognum5_lb_hash_ip_pairs()
/OK3568_Linux_fs/kernel/arch/s390/hypfs/
H A Dhypfs_vm.c39 __u32 cpu_max; member
156 ATTRIBUTE(cpus_dir, "weight_max", data->cpu_max); in hypfs_vm_create_guest()
/OK3568_Linux_fs/kernel/arch/parisc/kernel/
H A Dsmp.c425 void smp_cpus_done(unsigned int cpu_max) in smp_cpus_done() argument