Home
last modified time | relevance | path

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

12

/dports/security/suricata/suricata-6.0.4/ebpf/
H A Dxdp_lb.c81 __u32 *cpu_max = bpf_map_lookup_elem(&cpus_count, &key0); in hash_ipv4() local
89 if (cpu_max && *cpu_max) { in hash_ipv4()
90 cpu_dest = cpu_hash % *cpu_max; in hash_ipv4()
109 __u32 *cpu_max = bpf_map_lookup_elem(&cpus_count, &key0); in hash_ipv6() local
120 if (cpu_max && *cpu_max) { in hash_ipv6()
121 cpu_dest = cpu_hash % *cpu_max; in hash_ipv6()
H A Dxdp_filter.c251 __u32 *cpu_max = bpf_map_lookup_elem(&cpus_count, &key0); in filter_ipv4() local
358 if (cpu_max && *cpu_max) { in filter_ipv4()
359 cpu_dest = cpu_hash % *cpu_max; in filter_ipv4()
391 int *cpu_max = bpf_map_lookup_elem(&cpus_count, &key0); in filter_ipv6() local
460 if (cpu_max && *cpu_max) { in filter_ipv6()
461 cpu_dest = cpu_hash % *cpu_max; in filter_ipv6()
/dports/multimedia/libv4l/linux-5.13-rc2/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()
/dports/multimedia/v4l_compat/linux-5.13-rc2/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()
/dports/multimedia/v4l-utils/linux-5.13-rc2/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()
/dports/math/py-yt/yt-4.0.1/yt/frontends/ramses/
H A Dhilbert.py341 cpu_min, cpu_max = (np.zeros(ncpu + 1, dtype="int64") for _ in range(2))
353 cpu_max[i] = icpu
359 for j in range(cpu_min[i], cpu_max[i]):
/dports/audio/csound/csound-6.15.0/Opcodes/
H A Dcpumeter.c59 uint32_t cpu_max; member
99 p->cpu_max = k-1; in cpupercent_init()
122 k = p->cpu_max; in cpupercent_renew()
163 for (k=0; k<p->cpu_max && k+1<p->OUTOCOUNT; k++) { in cpupercent_renew()
/dports/devel/py-pyopencl/pyopencl-2018.2/pyopencl/compyte/ndarray/
H A Dtest_gpu_elemwise.py408 cpu_max = cpu_sum.flatten()[argmax]
413 cpu_max, gpu_max, (cpu_max - gpu_max) / cpu_max)
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/s390/hypfs/
H A Dhypfs_vm.c38 __u32 cpu_max; member
154 ATTRIBUTE(cpus_dir, "weight_max", data->cpu_max); in hypfs_vm_create_guest()
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/s390/hypfs/
H A Dhypfs_vm.c38 __u32 cpu_max; member
154 ATTRIBUTE(cpus_dir, "weight_max", data->cpu_max); in hypfs_vm_create_guest()
/dports/multimedia/libv4l/linux-5.13-rc2/arch/s390/hypfs/
H A Dhypfs_vm.c38 __u32 cpu_max; member
154 ATTRIBUTE(cpus_dir, "weight_max", data->cpu_max); in hypfs_vm_create_guest()
/dports/games/naev/naev-0.7.0/src/
H A Dshipstats.h168 double cpu_max; /**< CPU modifier. */ member
H A Dpilot_outfit.c1032 pilot->cpu_max = (int)floor((float)(pilot->ship->cpu + s->cpu_max)*s->cpu_mod); in pilot_calcStats()
1033 …pilot->cpu += pilot->cpu_max; /* CPU is negative, this just sets it so it's based off of … in pilot_calcStats()
H A Ddev_outfit.c315 o->license, o->mass, o->price, o->cpu, stats.cpu_max, in dout_csvMod()
H A Dpilot.h288 int cpu_max; /**< Maximum amount of CPU the pilot has. */ member
/dports/net/openmpi/openmpi-4.1.1/orte/util/hostfile/
H A Dhostfile_lex.l103 cpu_max { orte_util_hostfile_value.sval = yytext;
/dports/net/openmpi3/openmpi-3.1.6/orte/util/hostfile/
H A Dhostfile_lex.l103 cpu_max { orte_util_hostfile_value.sval = yytext;
/dports/emulators/qemu60/qemu-6.0.0/hw/core/
H A Dmachine-qmp-cmds.c99 info->cpu_max = !mc->max_cpus ? 1 : mc->max_cpus; in qmp_query_machines()
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/parisc/kernel/
H A Dsmp.c411 void smp_cpus_done(unsigned int cpu_max) in smp_cpus_done() argument
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/parisc/kernel/
H A Dsmp.c411 void smp_cpus_done(unsigned int cpu_max) in smp_cpus_done() argument
/dports/multimedia/libv4l/linux-5.13-rc2/arch/parisc/kernel/
H A Dsmp.c411 void smp_cpus_done(unsigned int cpu_max) in smp_cpus_done() argument
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/core/
H A Dmachine-qmp-cmds.c97 info->cpu_max = !mc->max_cpus ? 1 : mc->max_cpus; in qmp_query_machines()
/dports/emulators/qemu/qemu-6.2.0/hw/core/
H A Dmachine-qmp-cmds.c98 info->cpu_max = !mc->max_cpus ? 1 : mc->max_cpus; in qmp_query_machines()
/dports/benchmarks/sipp/sipp-3.5.1/include/
H A Dsipp.hpp368 extern bool cpu_max _DEFVAL(false);
/dports/emulators/qemu42/qemu-4.2.1/hw/core/
H A Dmachine-qmp-cmds.c229 info->cpu_max = !mc->max_cpus ? 1 : mc->max_cpus; in qmp_query_machines()

12