Home
last modified time | relevance | path

Searched refs:bpf_link_update (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
A Dflow_dissector_reattach.c274 err = bpf_link_update(link, prog2, &update_opts); in test_link_update_no_old_prog()
299 err = bpf_link_update(link, prog2, &update_opts); in test_link_update_replace_old_prog()
324 err = bpf_link_update(link, prog1, &update_opts); in test_link_update_same_prog()
350 err = bpf_link_update(link, prog2, &update_opts); in test_link_update_invalid_opts()
361 err = bpf_link_update(link, prog2, &update_opts); in test_link_update_invalid_opts()
372 err = bpf_link_update(link, prog2, &update_opts); in test_link_update_invalid_opts()
383 err = bpf_link_update(link, prog2, &update_opts); in test_link_update_invalid_opts()
410 err = bpf_link_update(link, -1, &update_opts); in test_link_update_invalid_prog()
425 err = bpf_link_update(link, prog3, &update_opts); in test_link_update_invalid_prog()
466 err = bpf_link_update(link, prog2, &update_opts); in test_link_update_netns_gone()
[all …]
A Dcgroup_link.c188 err = bpf_link_update(bpf_link__fd(links[0]), in serial_test_cgroup_link()
198 err = bpf_link_update(bpf_link__fd(links[0]), in serial_test_cgroup_link()
A Dbpf_tcp_ca.c551 err = bpf_link_update(bpf_link__fd(link), in test_link_replace()
558 err = bpf_link_update(bpf_link__fd(link), in test_link_replace()
A Dlsm_cgroup.c152 err = bpf_link_update(bind_link_fd, bind_prog_fd2, &update_opts); in test_lsm_cgroup_functional()
A Dsockmap_basic.c213 err = bpf_link_update(bpf_link__fd(link), bpf_program__fd(prog), &opts); in test_skmsg_helpers_with_link()
219 err = bpf_link_update(bpf_link__fd(link), bpf_program__fd(prog), &opts); in test_skmsg_helpers_with_link()
/tools/lib/bpf/
A Dlibbpf.map153 bpf_link_update;
A Dbpf.h465 LIBBPF_API int bpf_link_update(int link_fd, int new_prog_fd,
A Dbpf.c937 int bpf_link_update(int link_fd, int new_prog_fd, in bpf_link_update() function
A Dlibbpf.c10732 ret = bpf_link_update(bpf_link__fd(link), prog_fd, NULL); in bpf_link__update_program()
13209 err = bpf_link_update(link->fd, map->fd, NULL); in bpf_link__update_map()

Completed in 41 milliseconds