Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H 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 …]
H 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()
H A Dbpf_tcp_ca.c526 err = bpf_link_update(bpf_link__fd(link), in test_link_replace()
533 err = bpf_link_update(bpf_link__fd(link), in test_link_replace()
H A Dlsm_cgroup.c156 err = bpf_link_update(bind_link_fd, bind_prog_fd2, &update_opts); in test_lsm_cgroup_functional()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.map153 bpf_link_update;
H A Dbpf.h437 LIBBPF_API int bpf_link_update(int link_fd, int new_prog_fd,
H A Dbpf.c866 int bpf_link_update(int link_fd, int new_prog_fd, in bpf_link_update() function
H A Dlibbpf.c9932 ret = bpf_link_update(bpf_link__fd(link), bpf_program__fd(prog), NULL); in bpf_link__update_program()
12236 err = bpf_link_update(link->fd, map->fd, NULL); in bpf_link__update_map()