Home
last modified time | relevance | path

Searched refs:SYS (Results 1 - 25 of 52) sorted by relevance

123

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dtest_tunnel.c99 SYS(fail, "ip netns add at_ns0"); in config_device()
100 SYS(fail, "ip link add veth0 address " MAC_VETH1 " type veth peer name veth1"); in config_device()
101 SYS(fail, "ip link set veth0 netns at_ns0"); in config_device()
102 SYS(fail, "ip addr add " IP4_ADDR1_VETH1 "/24 dev veth1"); in config_device()
103 SYS(fail, "ip link set dev veth1 up mtu 1500"); in config_device()
104 SYS(fail, "ip netns exec at_ns0 ip addr add " IP4_ADDR_VETH0 "/24 dev veth0"); in config_device()
105 SYS(fail, "ip netns exec at_ns0 ip link set dev veth0 up mtu 1500"); in config_device()
123 SYS(fail, "ip netns exec at_ns0 ip link add dev %s type vxlan external gbp dstport 4789", in add_vxlan_tunnel()
125 SYS(fail, "ip netns exec at_ns0 ip link set dev %s address %s up", in add_vxlan_tunnel()
127 SYS(fai in add_vxlan_tunnel()
[all...]
H A Dxfrm_info.c114 SYS(fail, "ip netns add " NS0); in config_underlay()
115 SYS(fail, "ip netns add " NS1); in config_underlay()
116 SYS(fail, "ip netns add " NS2); in config_underlay()
119 SYS(fail, "ip link add veth01 netns " NS0 " type veth peer name veth10 netns " NS1); in config_underlay()
120 SYS(fail, "ip -net " NS0 " addr add " IP4_ADDR_VETH01 "/24 dev veth01"); in config_underlay()
121 SYS(fail, "ip -net " NS0 " link set dev veth01 up"); in config_underlay()
122 SYS(fail, "ip -net " NS1 " addr add " IP4_ADDR_VETH10 "/24 dev veth10"); in config_underlay()
123 SYS(fail, "ip -net " NS1 " link set dev veth10 up"); in config_underlay()
126 SYS(fail, "ip link add veth02 netns " NS0 " type veth peer name veth20 netns " NS2); in config_underlay()
127 SYS(fai in config_underlay()
[all...]
H A Dfib_lookup.c80 SYS(fail, "ip link add veth1 type veth peer name veth2"); in setup_netns()
81 SYS(fail, "ip link set dev veth1 up"); in setup_netns()
82 SYS(fail, "ip link set dev veth2 up"); in setup_netns()
92 SYS(fail, "ip addr add %s/64 dev veth1 nodad", IPV6_IFACE_ADDR); in setup_netns()
93 SYS(fail, "ip neigh add %s dev veth1 nud failed", IPV6_NUD_FAILED_ADDR); in setup_netns()
94 SYS(fail, "ip neigh add %s dev veth1 lladdr %s nud stale", IPV6_NUD_STALE_ADDR, DMAC); in setup_netns()
96 SYS(fail, "ip addr add %s/24 dev veth1", IPV4_IFACE_ADDR); in setup_netns()
97 SYS(fail, "ip neigh add %s dev veth1 nud failed", IPV4_NUD_FAILED_ADDR); in setup_netns()
98 SYS(fail, "ip neigh add %s dev veth1 lladdr %s nud stale", IPV4_NUD_STALE_ADDR, DMAC); in setup_netns()
101 SYS(fai in setup_netns()
[all...]
H A Dvrf_socket_lookup.c148 SYS(fail, "ip netns add " NS0); in setup()
149 SYS(fail, "ip netns add " NS1); in setup()
152 SYS(fail, "ip link add veth01 netns " NS0 " type veth peer name veth10" in setup()
154 SYS(fail, "ip -net " NS0 " addr add " IP4_ADDR_VETH01 "/24 dev veth01"); in setup()
155 SYS(fail, "ip -net " NS0 " link set dev veth01 up"); in setup()
156 SYS(fail, "ip -net " NS1 " addr add " IP4_ADDR_VETH10 "/24 dev veth10"); in setup()
157 SYS(fail, "ip -net " NS1 " link set dev veth10 up"); in setup()
160 SYS(fail, "ip link add veth02 netns " NS0 " type veth peer name veth20" in setup()
162 SYS(fail, "ip -net " NS0 " addr add " IP4_ADDR_VETH02 "/24 dev veth02"); in setup()
163 SYS(fai in setup()
[all...]
H A Dtc_redirect.c195 SYS(fail, "ip link add src type veth peer name src_fwd"); in netns_setup_links_and_routes()
196 SYS(fail, "ip link add dst type veth peer name dst_fwd"); in netns_setup_links_and_routes()
198 SYS(fail, "ip link set dst_fwd address " MAC_DST_FWD); in netns_setup_links_and_routes()
199 SYS(fail, "ip link set dst address " MAC_DST); in netns_setup_links_and_routes()
231 SYS(fail, "ip link set src netns " NS_SRC); in netns_setup_links_and_routes()
232 SYS(fail, "ip link set src_fwd netns " NS_FWD); in netns_setup_links_and_routes()
233 SYS(fail, "ip link set dst_fwd netns " NS_FWD); in netns_setup_links_and_routes()
234 SYS(fail, "ip link set dst netns " NS_DST); in netns_setup_links_and_routes()
241 SYS(fail, "ip addr add " IP4_SRC "/32 dev src"); in netns_setup_links_and_routes()
242 SYS(fai in netns_setup_links_and_routes()
[all...]
H A Dempty_skb.c95 SYS(out, "ip netns add empty_skb"); in test_empty_skb()
97 SYS(out, "ip link add veth0 type veth peer veth1"); in test_empty_skb()
98 SYS(out, "ip link set dev veth0 up"); in test_empty_skb()
99 SYS(out, "ip link set dev veth1 up"); in test_empty_skb()
100 SYS(out, "ip addr add 10.0.0.1/8 dev veth0"); in test_empty_skb()
101 SYS(out, "ip addr add 10.0.0.2/8 dev veth1"); in test_empty_skb()
104 SYS(out, "ip link add ipip0 type ipip local 10.0.0.1 remote 10.0.0.2"); in test_empty_skb()
105 SYS(out, "ip link set ipip0 up"); in test_empty_skb()
106 SYS(out, "ip addr add 192.168.1.1/16 dev ipip0"); in test_empty_skb()
H A Dlwt_reroute.c163 SYS(fail, "ip link add link_err type dummy"); in setup()
164 SYS(fail, "ip link set lo up"); in setup()
165 SYS(fail, "ip addr add dev lo " LOCAL_SRC "/32"); in setup()
166 SYS(fail, "ip link set link_err up"); in setup()
167 SYS(fail, "ip link set %s up", tun_dev); in setup()
169 SYS(fail, "ip route add %s dev link_err encap bpf xmit obj %s sec lwt_xmit", in setup()
172 SYS(fail, "ip rule add pref 100 from all fwmark %d lookup 100", in setup()
174 SYS(fail, "ip route add t 100 default dev %s", tun_dev); in setup()
228 SYS(fail, "tc qdisc replace dev %s root fq limit 5 flow_limit 5", tun_dev); in test_lwt_reroute_qdisc_dropped()
H A Dlwt_redirect.c206 SYS(fail, "sysctl -w net.ipv6.conf.all.disable_ipv6=1"); in setup_redirect_target()
207 SYS(fail, "ip link add link_err type dummy"); in setup_redirect_target()
208 SYS(fail, "ip link set lo up"); in setup_redirect_target()
209 SYS(fail, "ip addr add dev lo " LOCAL_SRC "/32"); in setup_redirect_target()
210 SYS(fail, "ip link set link_err up"); in setup_redirect_target()
211 SYS(fail, "ip link set %s up", target_dev); in setup_redirect_target()
213 SYS(fail, "ip route add %s dev link_err encap bpf xmit obj %s sec %s", in setup_redirect_target()
216 SYS(fail, "ip route add %s dev link_err encap bpf xmit obj %s sec %s", in setup_redirect_target()
267 SYS(out, "ip link set %s down", target_dev); in __test_lwt_redirect_dev_down()
298 SYS(ou in test_lwt_redirect_dev_carrier_down()
[all...]
H A Dxdp_do_redirect.c123 SYS(out, "ip netns add testns"); in test_xdp_do_redirect()
128 SYS(out, "ip link add veth_src type veth peer name veth_dst"); in test_xdp_do_redirect()
129 SYS(out, "ip link set dev veth_src address 00:11:22:33:44:55"); in test_xdp_do_redirect()
130 SYS(out, "ip link set dev veth_dst address 66:77:88:99:aa:bb"); in test_xdp_do_redirect()
131 SYS(out, "ip link set dev veth_src up"); in test_xdp_do_redirect()
132 SYS(out, "ip link set dev veth_dst up"); in test_xdp_do_redirect()
133 SYS(out, "ip addr add dev veth_src fc00::1/64"); in test_xdp_do_redirect()
134 SYS(out, "ip addr add dev veth_dst fc00::2/64"); in test_xdp_do_redirect()
135 SYS(out, "ip neigh add fc00::2 dev veth_src lladdr 66:77:88:99:aa:bb"); in test_xdp_do_redirect()
148 SYS(ou in test_xdp_do_redirect()
[all...]
H A Dip_check_defrag.c46 SYS(fail, "ip netns add " NS0); in setup_topology()
47 SYS(fail, "ip netns add " NS1); in setup_topology()
48 SYS(fail, "ip link add " VETH0 " netns " NS0 " type veth peer name " VETH1 " netns " NS1); in setup_topology()
50 SYS(fail, "ip -6 -net " NS0 " addr add " VETH0_ADDR6 "/64 dev " VETH0 " nodad"); in setup_topology()
51 SYS(fail, "ip -6 -net " NS1 " addr add " VETH1_ADDR6 "/64 dev " VETH1 " nodad"); in setup_topology()
53 SYS(fail, "ip -net " NS0 " addr add " VETH0_ADDR "/24 dev " VETH0); in setup_topology()
54 SYS(fail, "ip -net " NS1 " addr add " VETH1_ADDR "/24 dev " VETH1); in setup_topology()
56 SYS(fail, "ip -net " NS0 " link set dev " VETH0 " up"); in setup_topology()
57 SYS(fail, "ip -net " NS1 " link set dev " VETH1 " up"); in setup_topology()
H A Dxdp_bonding.c145 SYS(fail, "ip netns add ns_dst"); in bonding_setup()
146 SYS(fail, "ip link add veth1_1 type veth peer name veth2_1 netns ns_dst"); in bonding_setup()
147 SYS(fail, "ip link add veth1_2 type veth peer name veth2_2 netns ns_dst"); in bonding_setup()
149 SYS(fail, "ip link add bond1 type bond mode %s xmit_hash_policy %s", in bonding_setup()
151 SYS(fail, "ip link set bond1 up address " BOND1_MAC_STR " addrgenmode none"); in bonding_setup()
152 SYS(fail, "ip -netns ns_dst link add bond2 type bond mode %s xmit_hash_policy %s", in bonding_setup()
154 SYS(fail, "ip -netns ns_dst link set bond2 up address " BOND2_MAC_STR " addrgenmode none"); in bonding_setup()
156 SYS(fail, "ip link set veth1_1 master bond1"); in bonding_setup()
158 SYS(fail, "ip link set veth1_2 master bond1"); in bonding_setup()
160 SYS(fai in bonding_setup()
[all...]
H A Ddecap_sanity.c32 SYS(fail, "ip netns add %s", NS_TEST); in test_decap_sanity()
33 SYS(fail, "ip -net %s -6 addr add %s/128 dev lo nodad", NS_TEST, IPV6_IFACE_ADDR); in test_decap_sanity()
34 SYS(fail, "ip -net %s link set dev lo up", NS_TEST); in test_decap_sanity()
H A Dxdp_metadata.c298 SYS(out, "ip netns add xdp_metadata"); in test_xdp_metadata()
300 SYS(out, "ip link add numtxqueues 1 numrxqueues 1 " TX_NAME in test_xdp_metadata()
302 SYS(out, "ip link set dev " TX_NAME " address 00:00:00:00:00:01"); in test_xdp_metadata()
303 SYS(out, "ip link set dev " RX_NAME " address 00:00:00:00:00:02"); in test_xdp_metadata()
304 SYS(out, "ip link set dev " TX_NAME " up"); in test_xdp_metadata()
305 SYS(out, "ip link set dev " RX_NAME " up"); in test_xdp_metadata()
306 SYS(out, "ip addr add " TX_ADDR "/" PREFIX_LEN " dev " TX_NAME); in test_xdp_metadata()
307 SYS(out, "ip addr add " RX_ADDR "/" PREFIX_LEN " dev " RX_NAME); in test_xdp_metadata()
H A Dxdp_dev_bound_only.c32 SYS(out, "ip netns add " LOCAL_NETNS); in test_xdp_dev_bound_only_offdev()
36 SYS(out, "ip link add eth42 type veth"); in test_xdp_dev_bound_only_offdev()
H A Dsock_destroy.c196 SYS(cleanup, "ip netns add %s", TEST_NS); in test_sock_destroy()
197 SYS(cleanup, "ip -net %s link set dev lo up", TEST_NS); in test_sock_destroy()
H A Dmptcp.c69 SYS(fail, "ip netns add %s", NS_TEST); in create_netns()
70 SYS(fail, "ip -net %s link set dev lo up", NS_TEST); in create_netns()
H A Dassign_reuse.c178 SYS(out, "ip netns add %s", NS_TEST); in test_assign_reuse()
179 SYS(cleanup, "ip -net %s link set dev lo up", NS_TEST); in test_assign_reuse()
/kernel/linux/linux-5.10/samples/bpf/
H A Dtrace_common.h6 #define SYSCALL(SYS) "__x64_" __stringify(SYS)
8 #define SYSCALL(SYS) "__s390x_" __stringify(SYS)
10 #define SYSCALL(SYS) __stringify(SYS)
H A Dsyscall_nrs.c5 #define SYSNR(_NR) DEFINE(SYS ## _NR, _NR)
/kernel/linux/linux-6.6/drivers/clk/at91/
H A Dsama7g5.c385 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), },
402 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(DDR, DIV0),
410 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), },
572 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(IMG, DIV0),
597 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), },
605 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), },
613 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), },
621 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), },
629 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), },
637 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV
[all...]
/kernel/linux/linux-6.6/samples/bpf/
H A Dsyscall_nrs.c5 #define SYSNR(_NR) DEFINE(SYS ## _NR, _NR)
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
H A Docelot_stats.c909 WARN(ocelot->map[SYS][last & REG_MASK] >= ocelot->map[SYS][layout[i].reg & REG_MASK], in ocelot_prepare_stats_regions()
911 last, ocelot->map[SYS][last & REG_MASK], in ocelot_prepare_stats_regions()
912 layout[i].reg, ocelot->map[SYS][layout[i].reg & REG_MASK]); in ocelot_prepare_stats_regions()
915 if (region && ocelot->map[SYS][layout[i].reg & REG_MASK] == in ocelot_prepare_stats_regions()
916 ocelot->map[SYS][last & REG_MASK] + 4) { in ocelot_prepare_stats_regions()
941 "region of %d contiguous counters starting with SYS:STAT:CNT[0x%03x]\n", in ocelot_prepare_stats_regions()
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
H A Dsignum.c41 P_SIGNUM(SYS); in syscall_arg__scnprintf_signum()
/kernel/linux/linux-6.6/tools/perf/trace/beauty/
H A Dsignum.c41 P_SIGNUM(SYS); in syscall_arg__scnprintf_signum()
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dentry-header.S174 @ Store/load the USER SP and LR registers by switching to the SYS
181 msr cpsr_c, \rtemp @ switch to the SYS mode
193 msr cpsr_c, \rtemp @ switch to the SYS mode

Completed in 11 milliseconds

123