Home
last modified time | relevance | path

Searched refs:bpf_cpumap_val (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/kernel/bpf/
Dcpumap.c65 struct bpf_cpumap_val value;
95 (value_size != offsetofend(struct bpf_cpumap_val, qsize) && in cpu_map_alloc()
96 value_size != offsetofend(struct bpf_cpumap_val, bpf_prog.fd)) || in cpu_map_alloc()
392 map->value_size != offsetofend(struct bpf_cpumap_val, qsize); in cpu_map_prog_allowed()
415 __cpu_map_entry_alloc(struct bpf_cpumap_val *value, u32 cpu, int map_id) in __cpu_map_entry_alloc()
550 struct bpf_cpumap_val cpumap_value = {}; in cpu_map_update_elem()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_xdp_with_cpumap_helpers.c11 __uint(value_size, sizeof(struct bpf_cpumap_val));
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dxdp_cpumap_attach.c14 struct bpf_cpumap_val val = { in test_xdp_with_cpumap_helpers()
/Linux-v5.10/samples/bpf/
Dxdp_redirect_cpu_user.c575 static int create_cpu_entry(__u32 cpu, struct bpf_cpumap_val *value, in create_cpu_entry()
642 static void stress_cpumap(struct bpf_cpumap_val *value) in stress_cpumap()
657 char *mprog_name, struct bpf_cpumap_val *value, in stats_poll()
779 struct bpf_cpumap_val value; in main()
Dxdp_redirect_cpu_kern.c24 __uint(value_size, sizeof(struct bpf_cpumap_val));
/Linux-v5.10/tools/include/uapi/linux/
Dbpf.h4303 struct bpf_cpumap_val { struct
/Linux-v5.10/include/uapi/linux/
Dbpf.h4303 struct bpf_cpumap_val { struct