Home
last modified time | relevance | path

Searched refs:link2 (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A 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 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 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()
H A 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()
H A 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()
H A 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()
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dbig_tcp.sh5 # TOPO: CLIENT_NS (link0)<--->(link1) ROUTER_NS (link2)<--->(link3) SERVER_NS
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
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
H A 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()
354 np = of_parse_phandle(dsi->dev.of_node, "link2", 0); in sharp_panel_probe()
373 sharp->link2 = secondary; in sharp_panel_probe()
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H A 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()
354 np = of_parse_phandle(dsi->dev.of_node, "link2", 0); in sharp_panel_probe()
373 sharp->link2 = secondary; in sharp_panel_probe()
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
H A Dconntrack_sctp_collision.sh13 # TOPO: SERVER_NS (link0)<--->(link1) ROUTER_NS (link2)<--->(link3) CLIENT_NS
33 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
/kernel/linux/linux-5.10/sound/soc/ux500/
H A Dmop500.c32 SND_SOC_DAILINK_DEFS(link2,
50 SND_SOC_DAILINK_REG(link2),
/kernel/linux/linux-6.6/sound/soc/ux500/
H A Dmop500.c30 SND_SOC_DAILINK_DEFS(link2,
48 SND_SOC_DAILINK_REG(link2),
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A 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 != -1 || errno != E2BIG)) in test_link_create_link_create()
139 if (link2 != -1) in test_link_create_link_create()
140 close(link2); in test_link_create_link_create()
H A Dsk_lookup.c1192 struct bpf_link *link1, *link2; in run_multi_prog_lookup() local
1210 link2 = attach_lookup_prog(t->prog2); in run_multi_prog_lookup()
1211 if (!link2) in run_multi_prog_lookup()
1252 bpf_link__destroy(link2); in run_multi_prog_lookup()
/kernel/linux/linux-6.6/net/mac80211/
H A 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()
/kernel/linux/linux-6.6/sound/soc/intel/boards/
H A Dsof_cs42l42.c42 #define SOF_CS42L42_DAILINK(link1, link2, link3, link4, link5) \
43 ((((link1) | ((link2) << 3) | ((link3) << 6) | ((link4) << 9) | ((link5) << 12)) << SOF_CS42L42_DAILINK_SHIFT) & SOF_CS42L42_DAILINK_MASK)
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc.h344 link2, member
H A Dlpfc_attr.c982 (link.link2.state == LPFC_LINK_UP) ? in lpfc_link_state_show()
984 trunk_errmsg[link.link2.fault]); in lpfc_link_state_show()
H A Dlpfc_bsg.c5736 (phba->trunk_link.link2.state == LPFC_LINK_UP) ? 1 : 0); in lpfc_get_trunk_info()
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc.h404 link2, member
H A 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()
/kernel/linux/linux-5.10/kernel/cgroup/
H A Dcgroup.c1010 struct cgrp_cset_link *link1, *link2; in compare_css_sets() local
1024 link2 = list_entry(l2, struct cgrp_cset_link, cgrp_link); in compare_css_sets()
1026 cgrp2 = link2->cgrp; in compare_css_sets()
/kernel/linux/linux-6.6/kernel/cgroup/
H A 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()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.h1093 u32 link2; member
/kernel/linux/linux-6.6/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.h1093 u32 link2; member

Completed in 76 milliseconds

12