Home
last modified time | relevance | path

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

/openbmc/linux/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
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
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
313 bpf_link__destroy(link2); in uprobe_multi_attach_api_subtest()
341 if (!ASSERT_OK_PTR(link2, "link2")) in uprobe_subtest()
367 bpf_link__destroy(link2); in uprobe_subtest()
388 if (!ASSERT_OK_PTR(link2, "link2")) in tp_subtest()
[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 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 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 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()
/openbmc/linux/tools/testing/selftests/net/
H A 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
/openbmc/linux/Documentation/devicetree/bindings/display/panel/
H A Dsharp,lq101r1sx01.yaml19 peripheral and controls the device. The 'link2' property contains a phandle
44 link2:
56 - link2
74 link2 = <&secondary>;
/openbmc/linux/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()
373 sharp->link2 = secondary; in sharp_panel_probe()
/openbmc/linux/tools/testing/selftests/netfilter/
H A 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
/openbmc/linux/sound/soc/ux500/
H A Dmop500.c30 SND_SOC_DAILINK_DEFS(link2,
48 SND_SOC_DAILINK_REG(link2),
/openbmc/linux/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()
/openbmc/linux/sound/soc/intel/boards/
H A 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…
/openbmc/linux/arch/arm/boot/dts/nvidia/
H A Dtegra114-asus-tf701t.dts71 link2 = <&panel_secondary>;
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.h1093 u32 link2; member
H A Dipw2200.c651 error->elem[i].link2, error->elem[i].data); in ipw_dump_error_log()
1297 priv->error->elem[i].link2, in error_show()
/openbmc/linux/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()
H A Dlpfc_bsg.c5373 (phba->trunk_link.link2.state == LPFC_LINK_UP) ? 1 : 0); in lpfc_get_trunk_info()
H A 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()
H A Dlpfc_hbadisc.c1268 phba->trunk_link.link2.state = 0; in lpfc_linkdown()
H A Dlpfc_sli.c9040 phba->trunk_link.link2.state = LPFC_LINK_DOWN; in lpfc_sli4_hba_setup()
/openbmc/linux/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()