/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_bridge_1d.sh | 162 ip link del dev vx1 171 ip link del dev br1 208 ip link set dev w1 up 227 ip netns add ns1 235 ip netns exec ns1 ip link set dev v2 netns 1 236 ip netns del ns1 241 ip netns add ns2 249 ip netns exec ns2 ip link set dev v4 netns 1 250 ip netns del ns2 289 ip link del dev v3 [all …]
|
H A D | vxlan_bridge_1q.sh | 219 ip link del dev vx20 225 ip link del dev vx10 231 ip link del dev br1 307 ip netns add ns1 316 ip netns exec ns1 ip link set dev v2 netns 1 317 ip netns del ns1 322 ip netns add ns2 331 ip netns exec ns2 ip link set dev v4 netns 1 332 ip netns del ns2 371 ip link del dev v3 [all …]
|
H A D | router_multicast.sh | 57 ip route del 2001:db8:3::/64 vrf v$h1 58 ip route del 2001:db8:2::/64 vrf v$h1 83 ip route del 2001:db8:3::/64 vrf v$h2 84 ip route del 2001:db8:1::/64 vrf v$h2 87 ip route del 198.51.100.0/28 vrf v$h2 120 ip link set dev $rp1 up 121 ip link set dev $rp2 up 122 ip link set dev $rp3 up 147 ip link set dev $rp3 down 148 ip link set dev $rp2 down [all …]
|
/openbmc/linux/Documentation/networking/dsa/ |
H A D | b53.rst | 72 ip link set eth0 up 78 ip link set wan up 79 ip link set lan1 up 80 ip link set lan2 up 105 ip link set br0 up 117 ip link set eth0 up 121 ip link set wan up 122 ip link set lan1 up 123 ip link set lan2 up 158 ip link set wan up [all …]
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_netnet.c | 46 __be32 ip[2]; member 90 elem->ip[1] = orig->ip[1]; in hash_netnet4_data_reset_elem() 159 e.ip[0] &= (ip_set_netmask(e.cidr[0]) & h->bitmask.ip); in hash_netnet4_kadt() 160 e.ip[1] &= (ip_set_netmask(e.cidr[1]) & h->bitmask.ip); in hash_netnet4_kadt() 218 e.ip[0] = htonl(ip & ntohl(h->bitmask.ip) & ip_set_hostmask(e.cidr[0])); in hash_netnet4_uadt() 225 ip_to = ip; in hash_netnet4_uadt() 252 ip = ntohl(h->next.ip[0]); in hash_netnet4_uadt() 259 e.ip[0] = htonl(ip); in hash_netnet4_uadt() 260 ip = ip_set_range_to_cidr(ip, ip_to, &e.cidr[0]); in hash_netnet4_uadt() 299 return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) && in hash_netnet6_data_equal() [all …]
|
/openbmc/linux/drivers/net/wireguard/selftest/ |
H A D | allowedips.c | 128 node->ip.ip &= node->mask.ip; in horrible_mask_self() 140 return (ip->s_addr & node->mask.ip) == node->ip.ip; in horrible_match_v4() 146 return (ip->in6_u.u6_addr32[0] & node->mask.ip6[0]) == node->ip.ip6[0] && in horrible_match_v6() 147 (ip->in6_u.u6_addr32[1] & node->mask.ip6[1]) == node->ip.ip6[1] && in horrible_match_v6() 149 (ip->in6_u.u6_addr32[3] & node->mask.ip6[3]) == node->ip.ip6[3]; in horrible_match_v6() 161 !memcmp(&other->ip, &node->ip, sizeof(union nf_inet_addr))) { in horrible_insert_ordered() 188 node->ip.in = *ip; in horrible_allowedips_insert_v4() 205 node->ip.in6 = *ip; in horrible_allowedips_insert_v6() 434 return &ip; in ip4() 446 return &ip; in ip6() [all …]
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nft_nat_zones.sh | 49 ip netns del $gw 50 ip netns del $srv 69 ip -Version > /dev/null 2>&1 86 ip netns add "$gw" 91 ip -net "$gw" link set lo up 95 ip netns add "$srv" 102 ip -net "$gw" link set veth0 up 103 ip -net "$srv" link set lo up 116 ip netns add "$cl" 153 done | ip -batch /dev/stdin [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | lwt_len_hist.sh | 14 ip link del $VETH0 2> /dev/null 15 ip link del $VETH1 2> /dev/null 16 ip netns exec $NS1 killall netserver 17 ip netns delete $NS1 2> /dev/null 22 ip netns add $NS1 24 ip link set dev $VETH0 up 25 ip addr add 192.168.253.1/24 dev $VETH0 26 ip link set $VETH1 netns $NS1 27 ip netns exec $NS1 ip link set dev $VETH1 up 28 ip netns exec $NS1 ip addr add 192.168.253.2/24 dev $VETH1 [all …]
|
/openbmc/linux/arch/arm/lib/ |
H A D | memmove.S | 31 subs ip, r0, r1 32 cmphi r2, ip 45 ands ip, r0, #3 48 ands ip, r1, #3 60 CALGN( rsb ip, ip, #32 ) 79 rsb ip, ip, #32 115 9: cmp ip, #2 128 cmp ip, #2 159 mov ip, ip, lspush #\push 160 orr ip, ip, r10, lspull #\pull [all …]
|
H A D | memset.S | 81 tstgt ip, #31 84 and r8, ip, #31 89 stmiami ip!, {r4, r5} 92 strne r1, [ip], #4 103 stmiane ip!, {r4-r7} 111 stmiane ip!, {r1, r3} 113 strne r1, [ip], #4 119 strbne r1, [ip], #1 120 strbne r1, [ip], #1 122 strbne r1, [ip], #1 [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | unwind_orc.c | 80 return (unsigned long)ip + *ip; in orc_ip() 202 if (ip == 0) in orc_find() 206 if (ip >= LOOKUP_START_IP && ip < LOOKUP_STOP_IP) { in orc_find() 369 return __kernel_text_address(state->ip) ? state->ip : 0; in unwind_get_return_address() 421 *ip = READ_ONCE_NOCHECK(regs->ip); in deref_stack_regs() 434 *ip = READ_ONCE_NOCHECK(regs->ip); in deref_stack_iret_regs() 494 orc = orc_find(state->signal ? state->ip : state->ip - 1); in unwind_next_frame() 588 state->ip = unwind_recover_ret_addr(state, state->ip, in unwind_next_frame() 611 state->ip = unwind_recover_rethook(state, state->ip, in unwind_next_frame() 625 state->ip = unwind_recover_rethook(state, state->ip, in unwind_next_frame() [all …]
|
/openbmc/linux/lib/lzo/ |
H A D | lzo1x_compress.c | 27 const unsigned char *ip; in lzo1x_1_do_compress() local 35 ip = in; in lzo1x_1_do_compress() 36 ii = ip; in lzo1x_1_do_compress() 45 ip += 1 + ((ip - ii) >> 5); in lzo1x_1_do_compress() 102 run_length = ir - ip; in lzo1x_1_do_compress() 115 t = ip - ii; in lzo1x_1_do_compress() 152 ip += run_length; in lzo1x_1_do_compress() 242 m_off = ip - m_pos; in lzo1x_1_do_compress() 243 ip += m_len; in lzo1x_1_do_compress() 295 ii = ip; in lzo1x_1_do_compress() [all …]
|
/openbmc/linux/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-ip.c | 211 struct rzg2l_cru_ip *ip = &cru->ip; in rzg2l_cru_ip_subdev_register() local 214 ip->subdev.dev = cru->dev; in rzg2l_cru_ip_subdev_register() 216 v4l2_set_subdevdata(&ip->subdev, cru); in rzg2l_cru_ip_subdev_register() 217 snprintf(ip->subdev.name, sizeof(ip->subdev.name), in rzg2l_cru_ip_subdev_register() 224 ip->pads[0].flags = MEDIA_PAD_FL_SINK; in rzg2l_cru_ip_subdev_register() 225 ip->pads[1].flags = MEDIA_PAD_FL_SOURCE; in rzg2l_cru_ip_subdev_register() 227 ret = media_entity_pads_init(&ip->subdev.entity, 2, ip->pads); in rzg2l_cru_ip_subdev_register() 241 v4l2_subdev_cleanup(&ip->subdev); in rzg2l_cru_ip_subdev_register() 243 media_entity_cleanup(&ip->subdev.entity); in rzg2l_cru_ip_subdev_register() 250 struct rzg2l_cru_ip *ip = &cru->ip; in rzg2l_cru_ip_subdev_unregister() local [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | srv6_end_flavors_test.sh | 303 ip netns add "${name}" 434 ip -netns "${nsname}" addr \ 595 ip -netns "${hsname}" addr \ 601 ip -netns "${rtname}" addr \ 606 ip netns exec "${rtname}" \ 793 ip netns del "${test_netns}" 801 ip netns del "${test_netns}" 810 ip netns del "${test_netns}" 814 ip netns del "${test_netns}" 837 ip netns del "${test_netns}" [all …]
|
H A D | srv6_hl2encap_red_l2vpn_test.sh | 227 ip netns add "${name}" 330 ip -netns "${nsname}" addr \ 368 ip -netns "${nsname}" -6 route \ 376 ip -netns "${nsname}" -6 route \ 420 ip -netns "${nsname}" -6 route \ 452 ip -netns "${nsname}" -6 route \ 485 ip -netns "${rtname}" addr \ 492 ip netns exec "${rtname}" \ 782 ip netns del "${test_netns}" 786 ip netns del "${test_netns}" [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | ftrace.c | 84 unsigned long offset = addr - (ip + 0x10); in ftrace_call_replace() 122 flush_icache_range(ip, ip + MCOUNT_INSN_SIZE); in ftrace_modify_code() 130 unsigned long ip = rec->ip; in ftrace_make_nop_check() local 169 return ftrace_modify_code(rec->ip, NULL, new, 0); in ftrace_make_nop() 174 unsigned long ip = rec->ip; in ftrace_make_call() local 178 new = ftrace_call_replace(ip, addr); in ftrace_make_call() 179 return ftrace_modify_code(ip, old, new, 1); in ftrace_make_call() 185 unsigned long ip; in ftrace_update_ftrace_func() local 186 unsigned long addr = ((struct fnptr *)ftrace_call)->ip; in ftrace_update_ftrace_func() 190 ip = ((struct fnptr *)func)->ip; in ftrace_update_ftrace_func() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | ingress_rif_conf_vxlan.sh | 83 ip link set dev br1 up 85 ip link set dev $rp1 up 89 ip link set dev $swp1 up 97 ip link set dev vx4001 up 128 ip link del dev vlan10 137 ip link set dev $swp1 down 143 ip link del dev vx4001 146 ip link set dev $rp1 down 148 ip link set dev br1 down 149 ip link del dev br1 [all …]
|
H A D | rif_mac_profiles.sh | 26 ip route del 198.51.100.0/24 vrf v$h1 42 ip route del 192.0.2.0/24 vrf v$h2 48 ip link set dev $rp1 up 49 ip link set dev $rp2 up 53 ip address add 192.0.2.2/24 dev $rp1 54 ip address add 198.51.100.2/24 dev $rp2 59 ip address del 198.51.100.2/24 dev $rp2 60 ip address del 192.0.2.2/24 dev $rp1 64 ip link set dev $rp2 down 65 ip link set dev $rp1 down [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_reflink.h | 9 static inline bool xfs_is_always_cow_inode(struct xfs_inode *ip) in xfs_is_always_cow_inode() argument 11 return ip->i_mount->m_always_cow && xfs_has_reflink(ip->i_mount); in xfs_is_always_cow_inode() 14 static inline bool xfs_is_cow_inode(struct xfs_inode *ip) in xfs_is_cow_inode() argument 16 return xfs_is_reflink_inode(ip) || xfs_is_always_cow_inode(ip); in xfs_is_cow_inode() 19 extern int xfs_reflink_trim_around_shared(struct xfs_inode *ip, 21 int xfs_bmap_trim_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap, 30 extern int xfs_reflink_cancel_cow_blocks(struct xfs_inode *ip, 35 extern int xfs_reflink_end_cow(struct xfs_inode *ip, xfs_off_t offset, 42 struct xfs_inode *ip, bool *has_shared); 43 extern int xfs_reflink_clear_inode_flag(struct xfs_inode *ip, [all …]
|
/openbmc/linux/fs/gfs2/ |
H A D | super.c | 1366 glock_clear_object(ip->i_iopen_gh.gh_gl, ip); in evict_should_delete() 1372 if (gfs2_inode_already_deleted(ip->i_gl, ip->i_no_formal_ino)) in evict_should_delete() 1441 gfs2_inode_remember_delete(ip->i_gl, ip->i_no_formal_ino); in evict_unlinked_inode() 1538 if (ip->i_qadata) in gfs2_evict_inode() 1553 if (ip->i_gl) { in gfs2_evict_inode() 1554 glock_clear_object(ip->i_gl, ip); in gfs2_evict_inode() 1567 if (!ip) in gfs2_alloc_inode() 1570 ip->i_flags = 0; in gfs2_alloc_inode() 1571 ip->i_gl = NULL; in gfs2_alloc_inode() 1573 memset(&ip->i_res, 0, sizeof(ip->i_res)); in gfs2_alloc_inode() [all …]
|
H A D | glops.c | 253 struct gfs2_inode *ip; in gfs2_glock2inode() local 256 ip = gl->gl_object; in gfs2_glock2inode() 257 if (ip) in gfs2_glock2inode() 260 return ip; in gfs2_glock2inode() 276 if (!ip) in gfs2_clear_glop_pending() 309 int isreg = ip && S_ISREG(ip->i_inode.i_mode); in inode_go_sync() 368 if (ip) { in inode_go_inval() 382 if (ip && S_ISREG(ip->i_inode.i_mode)) in inode_go_inval() 464 if (gfs2_is_stuffed(ip) && inode->i_size > gfs2_max_stuffed_size(ip)) in gfs2_dinode_in() 472 gfs2_consist_inode(ip); in gfs2_dinode_in() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | fib.sh | 112 ip -n testns1 link set dev dummy1 up 124 ip -n testns1 link del dev dummy1 134 ip -n testns1 link set dev dummy1 up 148 ip -n testns1 link del dev dummy1 170 ip -n testns1 link set dev dummy1 up 177 ip -n testns1 link del dev dummy1 263 ip -n testns1 link del dev dummy1 315 ip -n testns1 link del dev dummy1 345 ip -n testns1 link del dev dummy1 371 ip netns add testns1 [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | trace_functions.c | 253 if (last_info->ip == ip && in is_repeat_check() 275 last_info->ip = ip; in process_repeats() 444 unsigned long ip, in update_traceon_count() argument 509 update_traceon_count(ops, ip, tr, 1, data); in ftrace_traceon_count() 517 update_traceon_count(ops, ip, tr, 0, data); in ftrace_traceoff_count() 646 if (update_count(ops, ip, data)) in ftrace_dump_probe() 656 if (update_count(ops, ip, data)) in ftrace_cpudump_probe() 668 seq_printf(m, "%ps:%s", (void *)ip, name); in ftrace_probe_print() 736 unsigned long ip, void *data) in ftrace_count_free() argument 740 if (!ip) { in ftrace_count_free() [all …]
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_fast.c | 31 for ( ; ip + fastHashFillStep < iend + 2; ip += fastHashFillStep) { in ZSTD_fillHashTable() 441 ip++; in ZSTD_compressBlock_fast_dictMatchState_generic() 450 ip += ((ip-anchor) >> kSearchStrength) + stepSize; in ZSTD_compressBlock_fast_dictMatchState_generic() 467 ip += ((ip-anchor) >> kSearchStrength) + stepSize; in ZSTD_compressBlock_fast_dictMatchState_generic() 481 ip += mLength; in ZSTD_compressBlock_fast_dictMatchState_generic() 482 anchor = ip; in ZSTD_compressBlock_fast_dictMatchState_generic() 488 hashTable[ZSTD_hashPtr(ip-2, hlog, mls)] = (U32)(ip-2-base); in ZSTD_compressBlock_fast_dictMatchState_generic() 600 ip++; in ZSTD_compressBlock_fast_extDict_generic() 608 ip += ((ip-anchor) >> kSearchStrength) + stepSize; in ZSTD_compressBlock_fast_extDict_generic() 615 …while (((ip>anchor) & (match>lowMatchPtr)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; }… in ZSTD_compressBlock_fast_extDict_generic() [all …]
|
/openbmc/linux/tools/testing/selftests/net/hsr/ |
H A D | hsr_ping.sh | 40 ip netns del $netns 179 ip -net "$ns3" link set ns3eth1 up 238 ip -net "$ns1" link set ns1eth1 up 239 ip -net "$ns1" link set ns1eth2 up 240 ip -net "$ns1" link set hsr1 up 242 ip -net "$ns2" link set ns2eth1 up 244 ip -net "$ns2" link set hsr2 up 248 ip -net "$ns3" link set hsr3 up 251 ip -Version > /dev/null 2>&1 261 ip -net $i link set lo up [all …]
|