Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dreuseport_array.c11 struct reuseport_array { struct
16 static struct reuseport_array *reuseport_array(struct bpf_map *map) in reuseport_array() argument
18 return (struct reuseport_array *)map; in reuseport_array()
52 struct reuseport_array *array = reuseport_array(map); in reuseport_array_lookup_elem()
64 struct reuseport_array *array = reuseport_array(map); in reuseport_array_delete_elem()
96 struct reuseport_array *array = reuseport_array(map); in reuseport_array_free()
152 struct reuseport_array *array; in reuseport_array_alloc()
188 reuseport_array_update_check(const struct reuseport_array *array, in reuseport_array_update_check()
235 struct reuseport_array *array = reuseport_array(map); in bpf_fd_reuseport_array_update_elem()
319 struct reuseport_array *array = reuseport_array(map); in reuseport_array_get_next_key()
[all …]
H A DMakefile34 obj-$(CONFIG_BPF_SYSCALL) += reuseport_array.o
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_select_reuseport_kern.c71 void *reuseport_array; in _select_by_skb_data() local
149 reuseport_array = bpf_map_lookup_elem(&outer_map, &index_zero); in _select_by_skb_data()
150 if (!reuseport_array) in _select_by_skb_data()
162 err = bpf_sk_select_reuseport(reuse_md, reuseport_array, &index, in _select_by_skb_data()
H A Dmap_ptr_kern.c535 struct reuseport_array { struct
548 struct reuseport_array *reuseport_sockarray = in check_reuseport_sockarray() argument
549 (struct reuseport_array *)&m_reuseport_sockarray; in check_reuseport_sockarray()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dselect_reuseport.c37 static int reuseport_array = -1, outer_map = -1; variable
73 reuseport_array = bpf_map_create(inner_type, "reuseport_array", in create_maps()
75 RET_ERR(reuseport_array < 0, "creating reuseport_array", in create_maps()
76 "reuseport_array:%d errno:%d\n", reuseport_array, errno); in create_maps()
79 opts.inner_map_fd = reuseport_array; in create_maps()
641 err = bpf_map_update_elem(reuseport_array, &i, &sk_fds[i], in prepare_sk_fds()
683 err = bpf_map_update_elem(outer_map, &index_zero, &reuseport_array, in setup_per_test()
725 if (reuseport_array >= 0) { in cleanup()
726 close(reuseport_array); in cleanup()
727 reuseport_array = -1; in cleanup()
/openbmc/linux/
H A Dopengrok1.0.log[all...]
H A Dopengrok2.0.log[all...]