Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dxdp_link.c117 err = bpf_link__update_program(link, skel1->progs.xdp_handler); in serial_test_xdp_link()
132 err = bpf_link__update_program(link, skel1->progs.tc_handler); in serial_test_xdp_link()
Dsockmap_basic.c167 err = bpf_link__update_program(link, prog_clone); in test_skmsg_helpers_with_link()
172 err = bpf_link__update_program(link, skel->progs.prog_skb_verdict); in test_skmsg_helpers_with_link()
634 err = bpf_link__update_program(link, pass->progs.prog_skb_verdict_clone); in test_sockmap_skb_verdict_peek_with_link()
639 err = bpf_link__update_program(link, pass->progs.prog_skb_parser); in test_sockmap_skb_verdict_peek_with_link()
Dcgroup_link.c178 err = bpf_link__update_program(links[i], skel->progs.egress_alt); in serial_test_cgroup_link()
Dtc_links.c759 err = bpf_link__update_program(skel->links.tc2, skel->progs.tc3); in test_tc_links_replace_target()
817 err = bpf_link__update_program(skel->links.tc1, skel->progs.tc1); in test_tc_links_replace_target()
1638 err = bpf_link__update_program(skel->links.tc6, skel->progs.tc4); in test_tc_chain_mixed()
Dbpf_iter.c634 err = bpf_link__update_program(link, skel2->progs.dump_task); in test_file_iter()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map151 bpf_link__update_program;
Dlibbpf.h457 LIBBPF_API int bpf_link__update_program(struct bpf_link *link,
Dlibbpf.c10565 int bpf_link__update_program(struct bpf_link *link, struct bpf_program *prog) in bpf_link__update_program() function