/linux-master/tools/testing/selftests/net/ |
H A D | srv6_end_dt4_l3vpn_test.sh | 218 ip link del veth-rt-1 2>/dev/null || true 219 ip link del veth-rt-2 2>/dev/null || true 230 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0 231 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0 233 ip link set veth-rt-${id} netns ${nsname} 234 ip -netns ${nsname} link set veth-rt-${id} name veth0 236 ip -netns ${nsname} addr add ${IPv6_RT_NETWORK}::${id}/64 dev veth0 nodad 237 ip -netns ${nsname} link set veth0 up 238 ip -netns ${nsname} link set lo up 240 ip netn [all...] |
H A D | udpgro_fwd.sh | 29 ip netns del $ns 2>/dev/null 40 ip netns add $ns 41 ip -n $ns link set dev lo up 44 ip netns exec $ns sysctl -qw net.ipv6.conf.default.router_solicitations=0 45 ip netns exec $ns sysctl -qw net.ipv6.conf.all.router_solicitations=0 48 ip link add name veth$SRC type veth peer name veth$DST 51 ip link set dev veth$ns netns $BASE$ns 52 ip -n $BASE$ns link set dev veth$ns up 53 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V4$ns/24 54 ip [all...] |
H A D | setup_veth.sh | 13 [[ -e /var/run/netns/"${ns_name}" ]] || ip netns add "${ns_name}" 15 ip link set dev "${ns_dev}" netns "${ns_name}" mtu 65535 16 ip -netns "${ns_name}" link set dev "${ns_dev}" up 18 ip netns exec "${ns_name}" ethtool -K "${ns_dev}" gro on tso off 23 ip link add name server type veth peer name client 33 [[ -e /var/run/netns/"${ns_name}" ]] && ip netns del "${ns_name}"
|
H A D | l2_tos_ttl_inherit.sh | 6 # This script evaluates ip tunnels that are capable of carrying L2 traffic 34 RUN_NS0="ip netns exec ${NS0}" 105 ip netns add "${NS0}" 106 ip netns add "${NS1}" 107 ip link add name veth0 netns "${NS0}" type veth \ 109 ip -netns "${NS0}" link set dev veth0 up 110 ip -netns "${NS1}" link set dev veth1 up 111 ip -netns "${NS0}" address flush dev veth0 112 ip -netns "${NS1}" address flush dev veth1 138 ip [all...] |
H A D | udpgro_frglist.sh | 14 local -r ns="$(ip netns list|grep $PEER_NS)" 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 [all...] |
/linux-master/tools/testing/selftests/net/netfilter/ |
H A D | xt_string.sh | 17 ip netns del "$netns" 25 ip -net "$netns" link add d0 type dummy 26 ip -net "$netns" link set d0 up 27 ip -net "$netns" addr add 10.1.2.1/24 dev d0 33 #ip netns exec "$netns" tcpdump -npXi d0 & 35 #trap 'kill $tcpdump_pid; ip netns del $netns' EXIT 38 ip netns exec "$netns" \ 43 ip netns exec "$netns" iptables -v -S OUTPUT | grep '^-A' 46 ip netns exec "$netns" iptables -Z OUTPUT 58 ip netn [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | mirror_gre_lag_lacp.sh | 65 ip link set dev $vrf_name up 76 ip link set dev $vrf_name down 83 ip -4 route add 192.0.2.16/28 vrf vrf-h1 nexthop via 192.0.2.2 88 ip -4 route del 192.0.2.16/28 vrf vrf-h1 95 ip -4 route add 192.0.2.0/28 vrf vrf-h2 nexthop via 192.0.2.17 100 ip -4 route del 192.0.2.0/28 vrf vrf-h2 108 ip -4 route add vrf vrf-h3 192.0.2.129/32 dev lag2 113 ip -4 route del vrf vrf-h3 192.0.2.129/32 dev lag2 117 ip link set dev $h3 down 118 ip lin [all...] |
H A D | gre_inner_v6_multipath.sh | 85 ip -6 route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1 90 ip -6 route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1 101 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130 103 ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1 108 ip -6 route del vrf v$ol1 2001:db8:2::/64 110 ip route del vrf v$ol1 192.0.2.66/32 125 ip route add vrf v$ul21 192.0.2.65/32 via 192.0.2.129 126 ip route add vrf v$ul21 192.0.2.66/32 \ 133 ip route del vrf v$ul21 192.0.2.66/32 134 ip rout [all...] |
H A D | gre_inner_v4_multipath.sh | 85 ip route add vrf v$h1 192.0.4.0/24 via 192.0.3.1 90 ip route del vrf v$h1 192.0.4.0/24 via 192.0.3.1 101 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130 103 ip route add vrf v$ol1 192.0.4.0/24 nexthop dev g1 108 ip route del vrf v$ol1 192.0.4.0/24 110 ip route del vrf v$ol1 192.0.2.66/32 125 ip route add vrf v$ul21 192.0.2.65/32 via 192.0.2.129 126 ip route add vrf v$ul21 192.0.2.66/32 \ 133 ip route del vrf v$ul21 192.0.2.66/32 134 ip rout [all...] |
/linux-master/arch/arm/lib/ |
H A D | copy_page.S | 29 ldmia r1!, {r3, r4, ip, lr} @ 4+1 34 stmia r0!, {r3, r4, ip, lr} @ 4 35 ldmia r1!, {r3, r4, ip, lr} @ 4 38 stmia r0!, {r3, r4, ip, lr} @ 4 39 ldmiagt r1!, {r3, r4, ip, lr} @ 4 41 PLD( ldmiaeq r1!, {r3, r4, ip, lr} )
|
H A D | csumpartialcopygeneric.S | 36 load1b ip 38 adcs sum, sum, ip, put_byte_1 @ update checksum 39 strb ip, [dst], #1 43 .Ldst_16bit: load2b r8, ip 47 adcs sum, sum, ip, put_byte_1 48 strb ip, [dst], #1 63 load1b ip 65 adcs sum, sum, ip, put_byte_1 @ update checksum 66 strb ip, [dst], #1 70 1: load2b r8, ip [all...] |
/linux-master/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 65 echo "selftests: [SKIP] Could not run test without the ip xdpgeneric support" 85 ip netns add ${NS[0]} 87 ip netns add ${NS[$i]} 88 ip -n ${NS[$i]} link add veth0 type veth peer name veth$i netns ${NS[0]} 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 [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_iomap.h | 14 int xfs_iomap_write_direct(struct xfs_inode *ip, xfs_fileoff_t offset_fsb, 18 xfs_fileoff_t xfs_iomap_eof_align_last_fsb(struct xfs_inode *ip, 21 u64 xfs_iomap_inode_sequence(struct xfs_inode *ip, u16 iomap_flags); 22 int xfs_bmbt_to_iomap(struct xfs_inode *ip, struct iomap *iomap, 26 int xfs_zero_range(struct xfs_inode *ip, loff_t pos, loff_t len, 28 int xfs_truncate_page(struct xfs_inode *ip, loff_t pos, bool *did_zero);
|
/linux-master/fs/freevxfs/ |
H A D | vxfs_subr.c | 38 * vxfs_get_page reads the @n th page of @ip into the pagecache. 61 * @ip: inode 66 * @ip into the buffercache. 72 vxfs_bread(struct inode *ip, int block) argument 77 pblock = vxfs_bmap1(ip, block); 78 bp = sb_bread(ip->i_sb, pblock); 85 * @ip: inode 99 vxfs_getblk(struct inode *ip, sector_t iblock, argument 104 pblock = vxfs_bmap1(ip, iblock); 106 map_bh(bp, ip [all...] |
/linux-master/fs/smb/client/ |
H A D | dns_resolve.c | 24 * dns_resolve_server_name_to_ip - Resolve UNC server name to ip address. 35 char *ip; local 69 NULL, &ip, expiry, false); 75 __func__, len, len, hostname, ip, 78 rc = cifs_convert_address(ip_addr, ip, strlen(ip)); 79 kfree(ip); 82 cifs_dbg(FYI, "%s: unable to determine ip address\n", __func__);
|
/linux-master/arch/csky/kernel/probes/ |
H A D | ftrace.c | 6 void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip, argument 18 bit = ftrace_test_recursion_trylock(ip, parent_ip); 23 p = get_kprobe((kprobe_opcode_t *)ip); 25 p = get_kprobe((kprobe_opcode_t *)(ip - MCOUNT_INSN_SIZE)); 38 ip -= MCOUNT_INSN_SIZE; 39 instruction_pointer_set(regs, ip);
|
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_hash_netnet.c | 10 #include <linux/ip.h> 14 #include <net/ip.h> 46 __be32 ip[2]; member in union:hash_netnet4_elem::__anon380 90 elem->ip[1] = orig->ip[1]; 97 elem->ip[1] &= ip_set_netmask(cidr); 100 elem->ip[0] &= ip_set_netmask(cidr); 111 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip[0]) || 112 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) || 157 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[ 173 u32 ip = 0, ip_to = 0; local 283 union nf_inet_addr ip[2]; member in struct:hash_netnet6_elem [all...] |
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | vxlan_flooding_ipv6.sh | 60 ip link add dev br0 type bridge mcast_snooping 0 61 ip link set dev br0 address $(mac_get $swp1) 63 ip link add name vxlan0 type vxlan id 10 nolearning \ 67 ip address add 2001:db8:2::1/128 dev lo 69 ip link set dev $swp1 master br0 70 ip link set dev vxlan0 master br0 72 ip link set dev br0 up 73 ip link set dev $swp1 up 74 ip link set dev vxlan0 up 79 ip lin [all...] |
/linux-master/fs/gfs2/ |
H A D | inode.h | 16 ssize_t gfs2_internal_read(struct gfs2_inode *ip, 20 static inline int gfs2_is_stuffed(const struct gfs2_inode *ip) argument 22 return !ip->i_height; 25 static inline int gfs2_is_jdata(const struct gfs2_inode *ip) argument 27 return ip->i_diskflags & GFS2_DIF_JDATA; 40 static inline int gfs2_is_dir(const struct gfs2_inode *ip) argument 42 return S_ISDIR(ip->i_inode.i_mode); 62 static inline int gfs2_check_inum(const struct gfs2_inode *ip, u64 no_addr, argument 65 return ip->i_no_addr == no_addr && ip 68 gfs2_inum_out(const struct gfs2_inode *ip, struct gfs2_dirent *dent) argument [all...] |
H A D | super.c | 109 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); local 118 if (gfs2_write_alloc_required(ip, 0, size)) { 119 gfs2_consist_inode(ip); 135 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); local 136 struct gfs2_glock *j_gl = ip->i_gl; 334 struct gfs2_inode *ip; local 352 ip = GFS2_I(jd->jd_inode); 353 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh); 401 void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf) argument 403 const struct inode *inode = &ip 449 struct gfs2_inode *ip = GFS2_I(inode); local 492 struct gfs2_inode *ip = GFS2_I(inode); local 1027 struct gfs2_inode *ip = GFS2_I(inode); local 1176 gfs2_final_release_pages(struct gfs2_inode *ip) argument 1196 gfs2_dinode_dealloc(struct gfs2_inode *ip) argument 1262 struct gfs2_inode *ip = GFS2_I(inode); local 1319 struct gfs2_inode *ip = GFS2_I(inode); local 1376 struct gfs2_inode *ip = GFS2_I(inode); local 1426 struct gfs2_inode *ip = GFS2_I(inode); local 1476 struct gfs2_inode *ip = GFS2_I(inode); local 1535 struct gfs2_inode *ip; local [all...] |
/linux-master/arch/parisc/kernel/ |
H A D | ftrace.c | 118 void *ip; local 163 if (rec->ip & 0x4) { 169 ip = (void *)(rec->ip + 4 - size); 171 ret = copy_from_kernel_nofault(insn, ip, size); 180 __patch_text_multiple(ip, tramp, size); 193 __patch_text((void *)rec->ip, INSN_NOP); 194 __patch_text_multiple((void *)rec->ip + 4 - sizeof(insn), 201 void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip, argument 212 bit = ftrace_test_recursion_trylock(ip, parent_i [all...] |
/linux-master/drivers/scsi/ |
H A D | scsicam.c | 210 * @ip: return value: ip[0]=heads, ip[1]=sectors, ip[2]=cylinders 213 * SCSI-CAM system, storing the results in ip as required 218 int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip) argument 224 if (scsi_partsize(bdev, capacity, ip)) 232 ret = setsize((unsigned long)capacity, (unsigned int *)ip + 2, 233 (unsigned int *)ip + 0, (unsigned int *)ip [all...] |
/linux-master/kernel/trace/ |
H A D | trace_functions.c | 25 function_trace_call(unsigned long ip, unsigned long parent_ip, 28 function_stack_trace_call(unsigned long ip, unsigned long parent_ip, 31 function_no_repeats_trace_call(unsigned long ip, unsigned long parent_ip, 34 function_stack_no_repeats_trace_call(unsigned long ip, unsigned long parent_ip, 172 function_trace_call(unsigned long ip, unsigned long parent_ip, argument 184 bit = ftrace_test_recursion_trylock(ip, parent_ip); 193 trace_function(tr, ip, parent_ip, trace_ctx); 217 function_stack_trace_call(unsigned long ip, unsigned long parent_ip, argument 241 trace_function(tr, ip, parent_ip, trace_ctx); 251 unsigned long ip, unsigne 249 is_repeat_check(struct trace_array *tr, struct trace_func_repeats *last_info, unsigned long ip, unsigned long parent_ip) argument 265 process_repeats(struct trace_array *tr, unsigned long ip, unsigned long parent_ip, struct trace_func_repeats *last_info, unsigned int trace_ctx) argument 280 function_no_repeats_trace_call(unsigned long ip, unsigned long parent_ip, struct ftrace_ops *op, struct ftrace_regs *fregs) argument 326 function_stack_no_repeats_trace_call(unsigned long ip, unsigned long parent_ip, struct ftrace_ops *op, struct ftrace_regs *fregs) argument 443 update_traceon_count(struct ftrace_probe_ops *ops, unsigned long ip, struct trace_array *tr, bool on, void *data) argument 505 ftrace_traceon_count(unsigned long ip, unsigned long parent_ip, struct trace_array *tr, struct ftrace_probe_ops *ops, void *data) argument 513 ftrace_traceoff_count(unsigned long ip, unsigned long parent_ip, struct trace_array *tr, struct ftrace_probe_ops *ops, void *data) argument 521 ftrace_traceon(unsigned long ip, unsigned long parent_ip, struct trace_array *tr, struct ftrace_probe_ops *ops, void *data) argument 532 ftrace_traceoff(unsigned long ip, unsigned long parent_ip, struct trace_array *tr, struct ftrace_probe_ops *ops, void *data) argument 574 ftrace_stacktrace(unsigned long ip, unsigned long parent_ip, struct trace_array *tr, struct ftrace_probe_ops *ops, void *data) argument 582 ftrace_stacktrace_count(unsigned long ip, unsigned long parent_ip, struct trace_array *tr, struct ftrace_probe_ops *ops, void *data) argument 623 update_count(struct ftrace_probe_ops *ops, unsigned long ip, void *data) argument 642 ftrace_dump_probe(unsigned long ip, unsigned long parent_ip, struct trace_array *tr, struct ftrace_probe_ops *ops, void *data) argument 652 ftrace_cpudump_probe(unsigned long ip, unsigned long parent_ip, struct trace_array *tr, struct ftrace_probe_ops *ops, void *data) argument 661 ftrace_probe_print(const char *name, struct seq_file *m, unsigned long ip, struct ftrace_probe_ops *ops, void *data) argument 682 ftrace_traceon_print(struct seq_file *m, unsigned long ip, struct ftrace_probe_ops *ops, void *data) argument 690 ftrace_traceoff_print(struct seq_file *m, unsigned long ip, struct ftrace_probe_ops *ops, void *data) argument 697 ftrace_stacktrace_print(struct seq_file *m, unsigned long ip, struct ftrace_probe_ops *ops, void *data) argument 704 ftrace_dump_print(struct seq_file *m, unsigned long ip, struct ftrace_probe_ops *ops, void *data) argument 711 ftrace_cpudump_print(struct seq_file *m, unsigned long ip, struct ftrace_probe_ops *ops, void *data) argument 719 ftrace_count_init(struct ftrace_probe_ops *ops, struct trace_array *tr, unsigned long ip, void *init_data, void **data) argument 735 ftrace_count_free(struct ftrace_probe_ops *ops, struct trace_array *tr, unsigned long ip, void *data) argument [all...] |
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | ingress_rif_conf_1q.sh | 58 ip route add 192.0.2.16/28 vrf v$h1 nexthop via 192.0.2.2 63 ip route del 192.0.2.16/28 vrf v$h1 nexthop via 192.0.2.2 84 ip route add 192.0.2.0/28 vrf v$h3 nexthop via 192.0.2.17 89 ip route del 192.0.2.0/28 vrf v$h3 nexthop via 192.0.2.17 95 ip link set dev $swp1 up 97 ip link add dev br0 type bridge vlan_filtering 1 mcast_snooping 0 104 ip link set dev br0 up 106 ip link set dev $swp2 up 107 ip link set dev $swp2 master br0 110 ip lin [all...] |
H A D | ingress_rif_conf_1d.sh | 59 ip route add 192.0.2.16/28 vrf v$h1 nexthop via 192.0.2.2 64 ip route del 192.0.2.16/28 vrf v$h1 nexthop via 192.0.2.2 87 ip route add 192.0.2.0/28 vrf v$h3 nexthop via 192.0.2.17 92 ip route del 192.0.2.0/28 vrf v$h3 nexthop via 192.0.2.17 100 ip link set dev $swp1 up 102 ip link add dev br0 type bridge mcast_snooping 0 109 ip link set dev br0 up 111 ip link set dev $swp2 up 113 ip link set dev $swp2.10 master br0 115 ip lin [all...] |