/openbmc/linux/tools/testing/selftests/net/ |
H A D | srv6_hencap_red_l3vpn_test.sh | 276 ip netns add "${name}" 379 ip -netns "${nsname}" addr \ 528 ip -netns "${hsname}" addr \ 537 ip -netns "${rtname}" link \ 543 ip -netns "${rtname}" link \ 546 ip -netns "${rtname}" addr \ 548 ip -netns "${rtname}" addr \ 553 ip netns exec "${rtname}" \ 555 ip netns exec "${rtname}" \ 560 ip netns exec "${rtname}" \ [all …]
|
H A D | so_txtime.sh | 22 ip netns del "${NS2}" 23 ip netns del "${NS1}" 29 ip netns add "${NS1}" 30 ip netns add "${NS2}" 32 ip link add "${DEV}" netns "${NS1}" type veth \ 36 ip -netns "${NS1}" link set "${DEV}" up 37 ip -netns "${NS2}" link set "${DEV}" up 44 ip -netns "${NS1}" addr add 192.168.1.1/24 dev "${DEV}" 45 ip -netns "${NS2}" addr add 192.168.1.2/24 dev "${DEV}" 46 ip -netns "${NS1}" addr add fd::1/64 dev "${DEV}" nodad [all …]
|
H A D | bareudp.sh | 127 ip netns delete "${ns}" 2>/dev/null || true 143 ip netns add "${NS0}" || exit_cleanup 144 ip netns add "${NS1}" || exit_cleanup "${NS0}" 145 ip netns add "${NS2}" || exit_cleanup "${NS0}" "${NS1}" 176 ip -netns "${NS}" link set dev "${DEV}" up 192 ip -netns "${ns}" link set dev lo up 226 ip -netns "${NS0}" address add 192.0.2.100/32 dev lo 227 ip -netns "${NS3}" address add 192.0.2.103/32 dev lo 492 ip -netns "${NS1}" link delete bareudp_ns1 493 ip -netns "${NS2}" link delete bareudp_ns2 [all …]
|
/openbmc/u-boot/arch/arm/lib/ |
H A D | memcpy.S | 102 rsb ip, ip, #32 104 lsl ip, ip, #LDR1W_SHIFT 121 lsl ip, ip, #STR1W_SHIFT - LDR1W_SHIFT 123 lsr ip, ip, #LDR1W_SHIFT - STR1W_SHIFT 153 9: rsb ip, ip, #4 154 cmp ip, #2 167 cmp ip, #2 179 CALGN( rsb ip, ip, #32 ) 211 mov ip, ip, lspull #\pull 212 orr ip, ip, lr, lspush #\push [all …]
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_xtree.c | 108 struct inode *ip, 142 size = ((u64) ip->i_size + (JFS_SBI(ip->i_sb)->bsize - 1)) >> in xtLookup() 614 BT_MARK_DIRTY(mp, ip); in xtInsert() 688 sp = XT_PAGE(ip, smp); in xtSplitUp() 955 sp = XT_PAGE(ip, smp); in xtSplitPage() 1382 BT_MARK_DIRTY(mp, ip); in xtExtend() 1534 BT_MARK_DIRTY(mp, ip); in xtUpdate() 1553 jfs_error(ip->i_sb, in xtUpdate() 2108 txLock(tid, ip, (struct metapage *) &JFS_IP(ip)->bxflag, in xtInitRoot() 2119 ip->i_size = 0; in xtInitRoot() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | with_tunnels.sh | 10 ip link add "ipip_${SUFFIX}" type ipip ${CONFIG} 11 ip link add "gre_${SUFFIX}" type gre ${CONFIG} 12 ip link add "sit_${SUFFIX}" type sit ${CONFIG} 15 ip tunnel show 17 ip link set "ipip_${SUFFIX}" up 18 ip link set "gre_${SUFFIX}" up 19 ip link set "sit_${SUFFIX}" up 24 ip tunnel del "ipip_${SUFFIX}" 25 ip tunnel del "gre_${SUFFIX}" 26 ip tunnel del "sit_${SUFFIX}" [all …]
|
H A D | test_xdp_features.sh | 14 ip netns add ${NS} 16 ip link add v1 type veth peer name v0 netns ${NS} 18 ip link set v1 up 19 ip addr add $V1_IP4/24 dev v1 20 ip addr add $V1_IP6/64 nodad dev v1 21 ip -n ${NS} link set dev v0 up 22 ip -n ${NS} addr add $V0_IP4/24 dev v0 23 ip -n ${NS} addr add $V0_IP6/64 nodad dev v0 28 ip netns exec ${NS} ethtool -K v0 gro on 34 ip link del v1 2> /dev/null [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | mirror_gre_scale.sh | 76 ip link set $htun vrf v$h3 169 ip link set dev br1 up 171 ip link set dev $swp1 master br1 172 ip link set dev $swp1 up 175 ip link set dev $swp2 master br1 176 ip link set dev $swp2 up 178 ip link set dev $swp3 up 185 ip link set dev $swp3 down 187 ip link set dev $swp2 down 190 ip link set dev $swp1 down [all …]
|
H A D | vxlan_flooding.sh | 71 ip link set dev br0 up 72 ip link set dev $swp1 up 73 ip link set dev vxlan0 up 78 ip link set dev vxlan0 down 79 ip link set dev $swp1 down 80 ip link set dev br0 down 83 ip link set dev $swp1 nomaster 87 ip link del dev vxlan0 89 ip link del dev br0 96 ip link set dev $rp1 up [all …]
|
H A D | devlink_trap_acl_drops.sh | 41 ip link set dev $swp1 master br0 42 ip link set dev $swp2 master br0 44 ip link set dev br0 up 45 ip link set dev $swp1 up 46 ip link set dev $swp2 up 57 ip link set dev $swp2 down 58 ip link set dev $swp1 down 60 ip link del dev br0 105 -t ip -d 1msec -q & 116 devlink_trap_drop_cleanup $mz_pid $swp2 ip 1 101 [all …]
|
H A D | blackhole_routes.sh | 56 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2 63 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2 72 ip -4 route add default vrf v$h2 nexthop via 198.51.100.2 86 ip link set dev $rp1 up 87 ip link set dev $rp2 up 102 ip link set dev $rp2 down 103 ip link set dev $rp1 down 122 ip -4 route add blackhole 198.51.100.0/30 139 ip -4 route del blackhole 198.51.100.0/30 146 ip -6 route add blackhole 2001:db8:2::/120 [all …]
|
/openbmc/linux/lib/zstd/compress/ |
H A D | hist.c | 32 const BYTE* ip = (const BYTE*)src; in HIST_count_simple() local 40 while (ip<end) { in HIST_count_simple() 42 count[*ip++]++; in HIST_count_simple() 91 { U32 cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp() 92 while (ip < iend-15) { in HIST_count_parallel_wksp() 93 U32 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp() 98 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp() 103 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp() 108 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp() 114 ip-=4; in HIST_count_parallel_wksp() [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | mirror_gre_bound.sh | 102 ip link set dev br1 up 105 ip link set dev $swp1 up 108 ip link set dev $swp2 up 118 ip link set dev ul up 123 ip link set dev vrf-ol up 128 ip link set dev gt4 up 133 ip link set dev gt6 up 145 ip link del dev ul 149 ip link set dev $swp1 down 150 ip link set dev $swp2 down [all …]
|
H A D | local_termination.sh | 227 ip link add br0 type bridge 229 ip link set br0 up 231 ip link set $h2 master br0 232 ip link set $h2 up 241 ip link del br0 251 ip link set macvlan0 up 255 ip link del macvlan0 268 ip link set macvlan0 up 272 ip link del macvlan0 288 ip link set $h1 up [all …]
|
H A D | mirror_gre_lag_lacp.sh | 117 ip link set dev $h3 down 118 ip link set dev $h4 down 124 ip link set dev vrf-h3 up 141 ip link set dev $swp1 up 149 ip link set dev $swp3 up 150 ip link set dev $swp4 up 162 ip link set dev $swp4 down 163 ip link set dev $swp3 down 170 ip link set dev $swp1 down 186 ip link set dev $h1 up [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | test_lwt_bpf.sh | 31 MAC=$(ip netns exec $2 ip link show $1 | grep ether | awk '{print $2}') 43 ip link del $VETH0 2> /dev/null 44 ip link del $VETH1 2> /dev/null 45 ip link del $VETH2 2> /dev/null 54 ip netns add $1 56 ip link set dev $2 up 57 ip addr add $4/24 dev $2 58 ip link set $3 netns $1 59 ip netns exec $1 ip link set dev $3 up 60 ip netns exec $1 ip addr add $5/24 dev $3 [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_qm.c | 249 struct xfs_inode *ip, in xfs_qm_dqattach_one() argument 294 struct xfs_inode *ip) in xfs_qm_need_dqattach() argument 316 xfs_inode_t *ip, in xfs_qm_dqattach_locked() argument 362 struct xfs_inode *ip) in xfs_qm_dqattach() argument 383 xfs_inode_t *ip) in xfs_qm_dqdetach() argument 385 if (!(ip->i_udquot || ip->i_gdquot || ip->i_pdquot)) in xfs_qm_dqdetach() 390 ASSERT(!xfs_is_quota_inode(&ip->i_mount->m_sb, ip->i_ino)); in xfs_qm_dqdetach() 391 if (ip->i_udquot) { in xfs_qm_dqdetach() 395 if (ip->i_gdquot) { in xfs_qm_dqdetach() 399 if (ip->i_pdquot) { in xfs_qm_dqdetach() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
H A D | vxlan_flooding_ipv6.sh | 72 ip link set dev br0 up 73 ip link set dev $swp1 up 74 ip link set dev vxlan0 up 79 ip link set dev vxlan0 down 80 ip link set dev $swp1 down 81 ip link set dev br0 down 84 ip link set dev $swp1 nomaster 88 ip link del dev vxlan0 90 ip link del dev br0 97 ip link set dev $rp1 up [all …]
|
/openbmc/linux/arch/mips/rb532/ |
H A D | irq.c | 93 int ipnum = 0x100 << ip; in enable_local_irq() 100 int ipnum = 0x100 << ip; in disable_local_irq() 118 if (ip < 0) in rb532_enable_irq() 121 group = ip >> 5; in rb532_enable_irq() 123 ip &= (1 << 5) - 1; in rb532_enable_irq() 124 intr_bit = 1 << ip; in rb532_enable_irq() 139 if (ip < 0) { in rb532_disable_irq() 142 group = ip >> 5; in rb532_disable_irq() 144 ip &= (1 << 5) - 1; in rb532_disable_irq() 145 intr_bit = 1 << ip; in rb532_disable_irq() [all …]
|
/openbmc/u-boot/net/ |
H A D | net.c | 1241 ip = net_defragment(ip, &len); in net_process_received_packet() 1242 if (!ip) in net_process_received_packet() 1272 if (ntohs(ip->udp_len) < UDP_HDR_SIZE || ntohs(ip->udp_len) > ntohs(ip->ip_len)) in net_process_received_packet() 1285 xsum = ip->ip_p; in net_process_received_packet() 1512 ip->ip_hl_v = 0x45; in net_set_ip_header() 1513 ip->ip_tos = 0; in net_set_ip_header() 1515 ip->ip_p = proto; in net_set_ip_header() 1518 ip->ip_ttl = 255; in net_set_ip_header() 1519 ip->ip_sum = 0; in net_set_ip_header() 1525 ip->ip_sum = compute_ip_checksum(ip, IP_HDR_SIZE); in net_set_ip_header() [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | patch.c | 104 u64 ip; in ia64_patch_vtop() local 110 ia64_patch_imm64(ip, ia64_tpa(get_imm64(ip))); in ia64_patch_vtop() 111 ia64_fc((void *) ip); in ia64_patch_vtop() 127 u64 ip, *b; in ia64_patch_rse() local 134 ia64_fc((void *) ip); in ia64_patch_rse() 177 u64 ip; in patch_fsyscall_table() local 182 ia64_fc((void *) ip); in patch_fsyscall_table() 194 u64 ip; in patch_brl_fsys_bubble_down() local 200 ia64_fc((void *) ip); in patch_brl_fsys_bubble_down() 223 u64 ip, mask, imm; in ia64_patch_phys_stack_reg() local [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | local_termination.sh | 227 ip link add br0 type bridge 229 ip link set br0 up 231 ip link set $h2 master br0 232 ip link set $h2 up 241 ip link del br0 251 ip link set macvlan0 up 255 ip link del macvlan0 268 ip link set macvlan0 up 272 ip link del macvlan0 288 ip link set $h1 up [all …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | phys2virt.S | 37 mvn ip, #0 111 ldrh ip, [r7] 112 ARM_BE8(rev16 ip, ip) 116 orr ip, ip, r0, lsr #16 @ MOV -> MVN if offset < 0 117 ARM_BE8(rev16 ip, ip) 123 ARM_BE8(rev16 ip, ip) 127 ARM_BE8(rev16 ip, ip) 191 ARM_BE8(rev ip, ip) 193 bic ip, ip, #0x400000 @ clear bit 22 198 ARM_BE8(rev ip, ip) [all …]
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | userspace_pm.sh | 21 if ! ip -Version &> /dev/null; then 127 ip netns del "$netns" 139 ip netns add "$i" || exit 1 140 ip -net "$i" link set lo up 151 ip -net "$ns1" addr add 10.0.1.1/24 dev ns1eth2 155 ip -net "$ns1" link set ns1eth2 up 161 ip -net "$ns2" link set ns2eth1 up 222 ip netns exec "$ns1" \ 229 ip netns exec "$ns2" \ 372 ip netns exec "$ns2"\ [all …]
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_ipport.c | 46 __be32 ip; member 59 return ip1->ip == ip2->ip && in hash_ipport4_data_equal() 82 next->ip = d->ip; in hash_ipport4_data_next() 105 e.ip &= h->bitmask.ip; in hash_ipport4_kadt() 106 if (e.ip == 0) in hash_ipport4_kadt() 139 e.ip &= h->bitmask.ip; in hash_ipport4_uadt() 165 ip_to = ip = ntohl(e.ip); in hash_ipport4_uadt() 188 ip = ntohl(h->next.ip); in hash_ipport4_uadt() 189 for (; ip <= ip_to; ip++) { in hash_ipport4_uadt() 193 e.ip = htonl(ip); in hash_ipport4_uadt() [all …]
|