/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_xdp_redirect_multi.sh | 56 ip netns del ${NS[$i]} 2> /dev/null 63 ip link set dev lo xdpgeneric off &>/dev/null 85 ip netns add ${NS[0]} 87 ip netns add ${NS[$i]} 89 ip -n ${NS[$i]} link set veth0 up 90 ip -n ${NS[0]} link set veth$i up 92 ip -n ${NS[$i]} addr add 192.0.2.$i/24 dev veth0 93 ip -n ${NS[$i]} addr add 2001:db8::$i/64 dev veth0 96 ip -n ${NS[$i]} link set veth0 $mode obj \ 128 ip netns exec ${NS[1]} ip neigh add 2001:db8::2 dev veth0 lladdr 00:00:00:00:00:02 [all …]
|
H A D | test_xdping.sh | 38 ip netns add $TARGET_NS 39 ip link add veth0 type veth peer name veth1 40 ip link set veth0 netns $TARGET_NS 41 ip netns exec $TARGET_NS ip addr add ${TARGET_IP}/24 dev veth0 42 ip addr add ${LOCAL_IP}/24 dev veth1 43 ip netns exec $TARGET_NS ip link set veth0 up 44 ip link set veth1 up 50 ip netns delete $TARGET_NS 2>/dev/null 51 ip link del veth1 2>/dev/null 66 ip netns exec $TARGET_NS ./xdping $server_args &
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | tc_actions.sh | 69 -t ip -q 79 -t ip -q 86 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 99 -t ip -q 108 -t ip -q 137 -t ip -q 146 -t ip -q 260 ip link set $swp1 address $h2mac 261 ip link set $swp2 address $h1mac 282 ip link set $swp2 address $swp2origmac [all …]
|
H A D | router_bridge_pvid_vlan_upper.sh | 42 ip -6 route del 2001:db8:2::/64 vrf v$h1 43 ip -4 route del 192.0.2.128/28 vrf v$h1 58 ip -4 route del 192.0.2.0/28 vrf v$h2 66 ip link set dev br1 up 69 ip link set dev $swp1 master br1 70 ip link set dev $swp1 up 72 ip link set dev $swp2 up 85 ip link set dev $swp2 down 87 ip link set dev $swp1 down 88 ip link set dev $swp1 nomaster [all …]
|
H A D | vxlan_bridge_1q_ipv6.sh | 235 ip link del dev vx20 241 ip link del dev vx10 248 ip link del dev br1 326 ip netns add ns1 335 ip netns exec ns1 ip link set dev v2 netns 1 336 ip netns del ns1 341 ip netns add ns2 350 ip netns exec ns2 ip link set dev v4 netns 1 351 ip netns del ns2 390 ip link del dev v3 [all …]
|
H A D | mirror_gre_bridge_1d.sh | 70 ip link set dev br2 up 72 ip link set dev $swp3 master br2 73 ip route add 192.0.2.130/32 dev br2 74 ip -6 route add 2001:db8:2::2/128 dev br2 76 ip address add dev br2 192.0.2.129/28 77 ip address add dev br2 2001:db8:2::1/64 79 ip address add dev $h3 192.0.2.130/28 80 ip address add dev $h3 2001:db8:2::2/64 87 ip address del dev $h3 2001:db8:2::2/64 88 ip address del dev $h3 192.0.2.130/28 [all …]
|
H A D | ip6gre_custom_multipath_hash.sh | 96 ip -6 route del vrf v$h1 default 97 ip route del vrf v$h1 default 118 ip route del vrf v$ol1 203.0.113.0/24 201 ip route del vrf v$ol4 198.51.100.0/24 220 ip -6 route del vrf v$h2 default 221 ip route del vrf v$h2 default 281 ip vrf exec v$h1 $MZ $h1 -q -p 64 \ 288 ip vrf exec v$h1 $MZ $h1 -q -p 64 \ 295 ip vrf exec v$h1 $MZ $h1 -q -p 64 \ 302 ip vrf exec v$h1 $MZ $h1 -q -p 64 \ [all …]
|
H A D | gre_custom_multipath_hash.sh | 96 ip -6 route del vrf v$h1 default 97 ip route del vrf v$h1 default 119 ip route del vrf v$ol1 192.0.2.2/32 201 ip route del vrf v$ol4 192.0.2.1/32 218 ip -6 route del vrf v$h2 default 219 ip route del vrf v$h2 default 279 ip vrf exec v$h1 $MZ $h1 -q -p 64 \ 286 ip vrf exec v$h1 $MZ $h1 -q -p 64 \ 293 ip vrf exec v$h1 $MZ $h1 -q -p 64 \ 300 ip vrf exec v$h1 $MZ $h1 -q -p 64 \ [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | tc_actions.sh | 69 -t ip -q 79 -t ip -q 86 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 99 -t ip -q 108 -t ip -q 137 -t ip -q 146 -t ip -q 260 ip link set $swp1 address $h2mac 261 ip link set $swp2 address $h1mac 282 ip link set $swp2 address $swp2origmac [all …]
|
/openbmc/linux/fs/freevxfs/ |
H A D | vxfs_inode.c | 257 struct inode *ip; in vxfs_iget() local 261 if (!ip) in vxfs_iget() 264 return ip; in vxfs_iget() 266 vip = VXFS_INO(ip); in vxfs_iget() 269 iget_failed(ip); in vxfs_iget() 288 inode_nohighmem(ip); in vxfs_iget() 293 nd_terminate_link(ip->i_link, ip->i_size, in vxfs_iget() 297 init_special_inode(ip, ip->i_mode, old_decode_dev(vip->vii_rdev)); in vxfs_iget() 299 unlock_new_inode(ip); in vxfs_iget() 300 return ip; in vxfs_iget() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | msg_zerocopy.sh | 76 ip netns del "${NS2}" 77 ip netns del "${NS1}" 87 ip netns add "${NS1}" 88 ip netns add "${NS2}" 90 ip link add "${DEV}" mtu "${DEV_MTU}" netns "${NS1}" type veth \ 94 ip -netns "${NS1}" link set "${DEV}" up 95 ip -netns "${NS2}" link set "${DEV}" up 102 ip -netns "${NS1}" addr add 192.168.1.1/24 dev "${DEV}" 103 ip -netns "${NS2}" addr add 192.168.1.2/24 dev "${DEV}" 104 ip -netns "${NS1}" addr add fd::1/64 dev "${DEV}" nodad [all …]
|
H A D | io_uring_zerocopy_tx.sh | 82 ip netns del "${NS2}" 83 ip netns del "${NS1}" 93 ip netns add "${NS1}" 94 ip netns add "${NS2}" 96 ip link add "${DEV}" mtu "${DEV_MTU}" netns "${NS1}" type veth \ 100 ip -netns "${NS1}" link set "${DEV}" up 101 ip -netns "${NS2}" link set "${DEV}" up 108 ip -netns "${NS1}" addr add 192.168.1.1/24 dev "${DEV}" 109 ip -netns "${NS2}" addr add 192.168.1.2/24 dev "${DEV}" 110 ip -netns "${NS1}" addr add fd::1/64 dev "${DEV}" nodad [all …]
|
H A D | cmsg_time.sh | 12 ip netns del $NS 18 ip netns add $NS 23 ip -netns $NS link add type dummy 24 ip -netns $NS link set dev dummy0 up 25 ip -netns $NS addr add $IP4 dev dummy0 26 ip -netns $NS addr add $IP6 dev dummy0 29 ip netns exec $NS tc qdisc replace dev dummy0 root fq 52 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234) 55 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t | wc -l) 57 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t | [all …]
|
H A D | udpgro_bench.sh | 17 [ -n "$ns" ] && ip netns del $ns 2>/dev/null 29 ip netns add "${PEER_NS}" 30 ip -netns "${PEER_NS}" link set lo up 31 ip link add type veth 32 ip link set dev veth0 up 33 ip addr add dev veth0 192.168.1.2/24 34 ip addr add dev veth0 2001:db8::2/64 nodad 36 ip link set dev veth1 netns "${PEER_NS}" 37 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24 39 ip -netns "${PEER_NS}" link set dev veth1 up [all …]
|
H A D | udpgro.sh | 25 [ -n "$ns" ] && ip netns del $ns 2>/dev/null 30 ip netns add "${PEER_NS}" 31 ip -netns "${PEER_NS}" link set lo up 32 ip link add type veth 33 ip link set dev veth0 up 34 ip addr add dev veth0 192.168.1.2/24 35 ip addr add dev veth0 2001:db8::2/64 nodad 37 ip link set dev veth1 netns "${PEER_NS}" 38 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24 40 ip -netns "${PEER_NS}" link set dev veth1 up [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | test_cgrp2_sock2.sh | 11 ip netns add at_ns0 12 ip link add veth0 type veth peer name veth0b 13 ip link set veth0 netns at_ns0 15 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0 16 ip netns exec at_ns0 ip addr add 2401:db00::1/64 dev veth0 nodad 17 ip netns exec at_ns0 ip link set dev veth0 up 19 ip addr add 172.16.1.101/24 dev veth0b 20 ip addr add 2401:db00::2/64 dev veth0b nodad 21 ip link set veth0b up 48 ip link del veth0b [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_l2_drops.sh | 48 ip link set dev $swp1 master br0 49 ip link set dev $swp2 master br0 51 ip link set dev br0 up 52 ip link set dev $swp1 up 53 ip link set dev $swp2 up 62 ip link set dev $swp2 down 63 ip link set dev $swp1 down 65 ip link del dev br0 114 devlink_trap_drop_cleanup $mz_pid $swp2 ip 1 101 150 devlink_trap_drop_cleanup $mz_pid $swp2 ip 1 101 [all …]
|
H A D | tc_sample.sh | 89 ip link set dev $h3 down 104 ip link set dev $h3 nomaster 105 ip link del dev ${h3}_bond 110 ip link set dev $h4 down 126 ip link del dev ${h4}_bond 131 ip link set dev $rp1 up 135 ip link set dev $rp2 up 158 ip link del dev ${rp4}_bond 164 ip link del dev ${rp3}_bond 168 ip link set dev $rp2 down [all …]
|
H A D | ingress_rif_conf_1q.sh | 95 ip link set dev $swp1 up 104 ip link set dev br0 up 106 ip link set dev $swp2 up 110 ip link set dev $swp3 up 123 ip link set dev $swp3 down 126 ip link set dev $swp2 nomaster 127 ip link set dev $swp2 down 129 ip link set dev br0 down 131 ip link del dev br0 133 ip link set dev $swp1 down [all …]
|
H A D | one_armed_router.sh | 88 ip link set dev br0 up 90 ip link set dev $swp1 master br0 91 ip link set dev $swp1 up 92 ip link set dev $swp2 master br0 93 ip link set dev $swp2 up 110 ip link set dev $swp2 down 111 ip link set dev $swp2 nomaster 112 ip link set dev $swp1 down 113 ip link set dev $swp1 nomaster 115 ip link set dev br0 down [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | tc_flower.sh | 105 -t ip -q 114 -t ip -q 120 -t ip -q 128 -t ip -q 153 -t ip -q 161 -t ip -q 170 -t ip -q 178 -t ip -q 201 -t ip -q 209 -t ip -q [all …]
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.sh | 149 ip netns del $netns 157 ip -Version > /dev/null 2>&1 174 ip -net $i link set lo up 189 ip -net "$ns1" link set ns1eth2 up 195 ip -net "$ns2" link set ns2eth1 up 199 ip -net "$ns2" link set ns2eth3 up 207 ip -net "$ns3" link set ns3eth2 up 211 ip -net "$ns3" link set ns3eth4 up 219 ip -net "$ns4" link set ns4eth3 up 306 ip netns delete ${disabled_ns} [all …]
|
/openbmc/linux/fs/gfs2/ |
H A D | file.c | 233 flags = ip->i_diskflags; in do_gfs2_set_flags() 495 if (gfs2_is_jdata(ip)) in gfs2_page_mkwrite() 537 gfs2_quota_unlock(ip); in gfs2_page_mkwrite() 713 gfs2_rs_delete(ip); in gfs2_release() 714 gfs2_qa_put(ip); in gfs2_release() 755 if (!gfs2_is_jdata(ip)) in gfs2_fsync() 764 if (gfs2_is_jdata(ip)) in gfs2_fsync() 949 struct gfs2_inode *ip; in gfs2_file_read_iter() local 1322 if (gfs2_is_jdata(ip)) in __gfs2_fallocate() 1355 gfs2_quota_unlock(ip); in __gfs2_fallocate() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
H A D | q_in_vni_veto.sh | 19 ip link set dev $swp1 up 20 ip link set dev $swp2 up 27 ip link set dev $swp2 down 28 ip link set dev $swp1 down 37 ip link set dev br0 addrgenmode none 38 ip link set dev br0 up 42 ip link set dev vx100 up 44 ip link set dev $swp1 master br0 45 ip link set dev vx100 master br0 56 ip link del dev vx100 [all …]
|
/openbmc/linux/lib/lz4/ |
H A D | lz4_compress.c | 241 ip++; in LZ4_compress_generic() 258 ip = forwardIp; in LZ4_compress_generic() 296 ip--; in LZ4_compress_generic() 359 ip += more; in LZ4_compress_generic() 391 anchor = ip; in LZ4_compress_generic() 394 if (ip > mflimit) in LZ4_compress_generic() 565 ip++; forwardH = LZ4_hashPosition(ip, tableType); in LZ4_compress_destSize_generic() 581 ip = forwardIp; in LZ4_compress_destSize_generic() 606 ip--; in LZ4_compress_destSize_generic() 662 anchor = ip; in LZ4_compress_destSize_generic() [all …]
|