Home
last modified time | relevance | path

Searched refs:link2 (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dnetfilter_link_attach.c62 struct bpf_link *link2; in test_netfilter_link_attach() local
67 link2 = bpf_program__attach_netfilter(prog, &opts); in test_netfilter_link_attach()
68 ASSERT_ERR_PTR(link2, "attach program with same pf/hook/priority"); in test_netfilter_link_attach()
73 link2 = bpf_program__attach_netfilter(prog, &opts); in test_netfilter_link_attach()
74 if (!ASSERT_OK_PTR(link2, "program reattach successful")) in test_netfilter_link_attach()
76 if (!ASSERT_OK(bpf_link__destroy(link2), "link destroy")) in test_netfilter_link_attach()
Dbpf_cookie.c25 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 = NULL; in uprobe_multi_attach_api_subtest() local
305 link2 = bpf_program__attach_uprobe_multi(skel->progs.uretprobe, -1, in uprobe_multi_attach_api_subtest()
[all …]
Dxdp_bonding.c383 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()
Dkprobe_multi_test.c139 struct bpf_link *link1 = NULL, *link2 = NULL; in test_attach_api() local
154 link2 = bpf_program__attach_kprobe_multi_opts(skel->progs.test_kretprobe_manual, in test_attach_api()
156 if (!ASSERT_OK_PTR(link2, "bpf_program__attach_kprobe_multi_opts")) in test_attach_api()
163 bpf_link__destroy(link2); in test_attach_api()
Dflow_dissector_reattach.c125 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()
Dsk_lookup.c1222 struct bpf_link *link1, *link2; in run_multi_prog_lookup() local
1240 link2 = attach_lookup_prog(t->prog2); in run_multi_prog_lookup()
1241 if (!link2) in run_multi_prog_lookup()
1282 bpf_link__destroy(link2); in run_multi_prog_lookup()
/linux-6.6.21/tools/testing/selftests/net/
Dbig_tcp.sh32 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-6.6.21/Documentation/devicetree/bindings/display/panel/
Dsharp,lq101r1sx01.yaml19 peripheral and controls the device. The 'link2' property contains a phandle
44 link2:
56 - link2
74 link2 = <&secondary>;
/linux-6.6.21/drivers/gpu/drm/panel/
Dpanel-sharp-lq101r1sx01.c23 struct mipi_dsi_device *link2; member
224 err = sharp_setup_symmetrical_split(sharp->link1, sharp->link2, in sharp_panel_prepare()
338 if (sharp->link2) in sharp_panel_del()
339 put_device(&sharp->link2->dev); in sharp_panel_del()
373 sharp->link2 = secondary; in sharp_panel_probe()
/linux-6.6.21/tools/testing/selftests/netfilter/
Dconntrack_sctp_collision.sh33 ip -n $CLIENT_NS link add link3 type veth peer name link2 netns $ROUTER_NS
40 ip -n $ROUTER_NS link set link2 up
42 ip -n $ROUTER_NS addr add $CLIENT_GW/24 dev link2
/linux-6.6.21/sound/soc/ux500/
Dmop500.c30 SND_SOC_DAILINK_DEFS(link2,
48 SND_SOC_DAILINK_REG(link2),
/linux-6.6.21/net/mac80211/
Dlink.c129 struct ieee80211_link_data *link2; in ieee80211_check_dup_link_addrs() local
131 link2 = sdata_dereference(sdata->link[j], sdata); in ieee80211_check_dup_link_addrs()
132 if (!link2) in ieee80211_check_dup_link_addrs()
136 link2->conf->addr)) in ieee80211_check_dup_link_addrs()
/linux-6.6.21/sound/soc/intel/boards/
Dsof_cs42l42.c42 #define SOF_CS42L42_DAILINK(link1, link2, link3, link4, link5) \ argument
43 …((((link1) | ((link2) << 3) | ((link3) << 6) | ((link4) << 9) | ((link5) << 12)) << SOF_CS42L42_DA…
/linux-6.6.21/arch/arm/boot/dts/nvidia/
Dtegra114-asus-tf701t.dts71 link2 = <&panel_secondary>;
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc.h404 link2, member
Dlpfc_attr.c1143 (link.link2.state == LPFC_LINK_UP) ? in lpfc_link_state_show()
1145 trunk_errmsg[link.link2.fault]); in lpfc_link_state_show()
Dlpfc_bsg.c5373 (phba->trunk_link.link2.state == LPFC_LINK_UP) ? 1 : 0); in lpfc_get_trunk_info()
Dlpfc_init.c6162 phba->trunk_link.link2.state = in lpfc_update_trunk_link_status()
6165 phba->trunk_link.link2.fault = port_fault & 0x4 ? err : 0; in lpfc_update_trunk_link_status()
Dlpfc_hbadisc.c1269 phba->trunk_link.link2.state = 0; in lpfc_linkdown()
Dlpfc_sli.c9040 phba->trunk_link.link2.state = LPFC_LINK_DOWN; in lpfc_sli4_hba_setup()
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h1093 u32 link2; member
Dipw2200.c651 error->elem[i].link2, error->elem[i].data); in ipw_dump_error_log()
1297 priv->error->elem[i].link2, in error_show()
/linux-6.6.21/kernel/cgroup/
Dcgroup.c1005 struct cgrp_cset_link *link1, *link2; in compare_css_sets() local
1019 link2 = list_entry(l2, struct cgrp_cset_link, cgrp_link); in compare_css_sets()
1021 cgrp2 = link2->cgrp; in compare_css_sets()