Searched refs:bpf_link_update (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector_reattach.c | 274 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 …]
|
D | cgroup_link.c | 188 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()
|
D | bpf_tcp_ca.c | 555 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()
|
D | lsm_cgroup.c | 156 err = bpf_link_update(bind_link_fd, bind_prog_fd2, &update_opts); in test_lsm_cgroup_functional()
|
D | sockmap_basic.c | 179 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/ |
D | libbpf.map | 153 bpf_link_update;
|
D | bpf.h | 457 LIBBPF_API int bpf_link_update(int link_fd, int new_prog_fd,
|
D | bpf.c | 891 int bpf_link_update(int link_fd, int new_prog_fd, in bpf_link_update() function
|
D | libbpf.c | 10576 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()
|