| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | netfilter_link_attach.c | 95 struct bpf_link *link2; in test_netfilter_link_attach() local 102 link2 = bpf_program__attach_netfilter(prog, &opts); in test_netfilter_link_attach() 103 ASSERT_ERR_PTR(link2, "attach program with same pf/hook/priority"); in test_netfilter_link_attach() 108 link2 = bpf_program__attach_netfilter(prog, &opts); in test_netfilter_link_attach() 109 if (!ASSERT_OK_PTR(link2, "program reattach successful")) in test_netfilter_link_attach() 112 verify_netfilter_link_info(link2, nf_hook_link_tests[i]); in test_netfilter_link_attach() 114 if (!ASSERT_OK(bpf_link__destroy(link2), "link destroy")) in test_netfilter_link_attach()
|
| H A D | bpf_cookie.c | 25 struct bpf_link *link1 = NULL, *link2 = NULL; in kprobe_subtest() local 38 link2 = bpf_program__attach_kprobe_opts(skel->progs.handle_kprobe, in kprobe_subtest() 40 if (!ASSERT_OK_PTR(link2, "link2")) in kprobe_subtest() 66 bpf_link__destroy(link2); in kprobe_subtest() 179 struct bpf_link *link1 = NULL, *link2 = NULL; in kprobe_multi_attach_api_subtest() local 231 link2 = bpf_program__attach_kprobe_multi_opts(skel->progs.test_kretprobe, in kprobe_multi_attach_api_subtest() 233 if (!ASSERT_OK_PTR(link2, "bpf_program__attach_kprobe_multi_opts")) in kprobe_multi_attach_api_subtest() 239 bpf_link__destroy(link2); in kprobe_multi_attach_api_subtest() 273 struct bpf_link *link1 = NULL, *link2 in uprobe_multi_attach_api_subtest() local 321 struct bpf_link *link1 = NULL, *link2 = NULL; uprobe_subtest() local 375 struct bpf_link *link1 = NULL, *link2 = NULL, *link3 = NULL; tp_subtest() local [all...] |
| H A D | cgroup_mprog_opts.c | 155 struct bpf_link *link1, *link2, *link3, *link4; in test_link_attach_detach() local 199 link2 = bpf_program__attach_cgroup_opts(skel->progs.getsockopt_2, cg, &opta); in test_link_attach_detach() 200 if (!ASSERT_OK_PTR(link2, "link_attach")) in test_link_attach_detach() 207 .relative_fd = bpf_link__fd(link2), in test_link_attach_detach() 264 bpf_link__destroy(link2); in test_link_attach_detach() 387 struct bpf_link *link1, *link2, *link3, *link4; in test_preorder_link_attach_detach() local 421 link2 = bpf_program__attach_cgroup_opts(skel->progs.getsockopt_2, cg, &opta); in test_preorder_link_attach_detach() 422 if (!ASSERT_OK_PTR(link2, "link_attach")) in test_preorder_link_attach_detach() 441 .relative_fd = bpf_link__fd(link2), in test_preorder_link_attach_detach() 471 bpf_link__destroy(link2); in test_preorder_link_attach_detach()
|
| H A D | xdp_bonding.c | 383 struct bpf_link *link2 = NULL; in test_xdp_bonding_attach() local 416 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach() 417 if (!ASSERT_ERR_PTR(link2, "attach program to master when slave has program")) in test_xdp_bonding_attach() 429 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach() 430 if (!ASSERT_ERR_PTR(link2, "attach program to slave when master has program")) in test_xdp_bonding_attach() 452 bpf_link__destroy(link2); in test_xdp_bonding_attach()
|
| H A D | flow_dissector_reattach.c | 125 int link1, link2; in test_link_create_link_create() local 136 link2 = bpf_link_create(prog2, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_link_create() 137 if (CHECK_FAIL(link2 >= 0 || errno != E2BIG)) in test_link_create_link_create() 139 if (link2 >= 0) in test_link_create_link_create() 140 close(link2); in test_link_create_link_create()
|
| H A D | kprobe_multi_test.c | 143 struct bpf_link *link1 = NULL, *link2 = NULL; in test_attach_api() 158 link2 = bpf_program__attach_kprobe_multi_opts(skel->progs.test_kretprobe_manual, in test_attach_api() 160 if (!ASSERT_OK_PTR(link2, "bpf_program__attach_kprobe_multi_opts")) in test_attach_api() 167 bpf_link__destroy(link2); in test_attach_api() 142 struct bpf_link *link1 = NULL, *link2 = NULL; test_attach_api() local
|
| H A D | sockmap_basic.c | 173 struct bpf_link *link, *link2; in test_skmsg_helpers_with_link() local 195 link2 = bpf_program__attach_sockmap(prog_clone, map); in test_skmsg_helpers_with_link() 196 if (!ASSERT_ERR_PTR(link2, "bpf_program__attach_sockmap")) { in test_skmsg_helpers_with_link() 197 bpf_link__detach(link2); in test_skmsg_helpers_with_link()
|
| H A D | sk_lookup.c | 1165 struct bpf_link *link1, *link2; in run_multi_prog_lookup() local 1184 link2 = attach_lookup_prog(t->prog2); in run_multi_prog_lookup() 1185 if (!link2) in run_multi_prog_lookup() 1229 bpf_link__destroy(link2); in run_multi_prog_lookup()
|
| /linux/tools/testing/selftests/net/ |
| H A D | big_tcp.sh | 32 ip -net $ROUTER_NS link add link2 type veth peer name link3 netns $SERVER_NS 47 ip -net $ROUTER_NS link set link2 up 50 ip -net $ROUTER_NS addr add $SERVER_GW4/24 dev link2 51 ip -net $ROUTER_NS addr add $SERVER_GW6/64 dev link2 nodad 54 ip -net $ROUTER_NS link set dev link2 \ 58 ip -net $ROUTER_NS link set dev link2 \ 85 ip -net $ROUTER_NS link del link2 139 ip net exec $ROUTER_NS ethtool -K link2 tso $gw_tso
|
| /linux/drivers/gpu/drm/panel/ |
| H A D | panel-sharp-lq101r1sx01.c | 23 struct mipi_dsi_device *link2; member 201 err = sharp_setup_symmetrical_split(sharp->link1, sharp->link2, in sharp_panel_prepare() 296 if (sharp->link2) in sharp_panel_del() 297 put_device(&sharp->link2->dev); in sharp_panel_del() 333 sharp->link2 = secondary; in sharp_panel_probe()
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | conntrack_sctp_collision.sh | 30 ip -n "$CLIENT_NS" link add link3 type veth peer name link2 netns "$ROUTER_NS" 37 ip -n "$ROUTER_NS" link set link2 up 39 ip -n "$ROUTER_NS" addr add $CLIENT_GW/24 dev link2
|
| /linux/sound/soc/ux500/ |
| H A D | mop500.c | 30 SND_SOC_DAILINK_DEFS(link2, 48 SND_SOC_DAILINK_REG(link2),
|
| /linux/net/mac80211/ |
| H A D | link.c | 219 struct ieee80211_link_data *link2; in ieee80211_check_dup_link_addrs() local 221 link2 = sdata_dereference(sdata->link[j], sdata); in ieee80211_check_dup_link_addrs() 222 if (!link2) in ieee80211_check_dup_link_addrs() 226 link2->conf->addr)) in ieee80211_check_dup_link_addrs()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc.h | 441 link2, member
|
| H A D | lpfc_attr.c | 1276 (link.link2.state == LPFC_LINK_UP) ? in lpfc_link_state_show() 1278 trunk_errmsg[link.link2.fault]); in lpfc_link_state_show()
|
| H A D | lpfc_bsg.c | 5573 (phba->trunk_link.link2.state == LPFC_LINK_UP) ? 1 : 0); in lpfc_get_trunk_info()
|
| H A D | lpfc_init.c | 6168 phba->trunk_link.link2.state = in lpfc_update_trunk_link_status() 6171 phba->trunk_link.link2.fault = port_fault & 0x4 ? err : 0; in lpfc_update_trunk_link_status()
|
| H A D | lpfc_hbadisc.c | 1287 phba->trunk_link.link2.state = 0; in lpfc_linkdown()
|
| H A D | lpfc_sli.c | 9124 phba->trunk_link.link2.state = LPFC_LINK_DOWN; in lpfc_sli4_hba_setup()
|
| /linux/kernel/cgroup/ |
| H A D | cgroup.c | 1060 struct cgrp_cset_link *link1, *link2; in compare_css_sets() local 1074 link2 = list_entry(l2, struct cgrp_cset_link, cgrp_link); in compare_css_sets() 1076 cgrp2 = link2->cgrp; in compare_css_sets()
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra114-asus-tf701t.dts | 85 link2 = <&panel_secondary>;
|