Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
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 …]
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()
Dbpf_tcp_ca.c555 err = bpf_link_update(bpf_link__fd(link), in test_link_replace()
562 err = bpf_link_update(bpf_link__fd(link), in test_link_replace()
Dlsm_cgroup.c156 err = bpf_link_update(bind_link_fd, bind_prog_fd2, &update_opts); in test_lsm_cgroup_functional()
Dsockmap_basic.c179 err = bpf_link_update(bpf_link__fd(link), bpf_program__fd(prog), &opts); in test_skmsg_helpers_with_link()
185 err = bpf_link_update(bpf_link__fd(link), bpf_program__fd(prog), &opts); in test_skmsg_helpers_with_link()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map153 bpf_link_update;
Dbpf.h457 LIBBPF_API int bpf_link_update(int link_fd, int new_prog_fd,
Dbpf.c891 int bpf_link_update(int link_fd, int new_prog_fd, in bpf_link_update() function
Dlibbpf.c10576 ret = bpf_link_update(bpf_link__fd(link), prog_fd, NULL); in bpf_link__update_program()
13007 err = bpf_link_update(link->fd, map->fd, NULL); in bpf_link__update_map()