/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | rif_mac_profile_scale.sh | 29 ip -b $batch_file &> /dev/null 59 ip link set $h1 up 60 ip link set $h2 up 67 ip link set $h2 down 68 ip link set $h1 down
|
H A D | qos_ets_strict.sh | 64 ip link set dev $h1.111 type vlan egress-qos-map 0:1 81 ip link set dev $h2.222 type vlan egress-qos-map 0:2 112 ip link set dev $swp1 up 115 ip link set dev $swp2 up 131 ip link set dev $swp3 up 141 ip link add name br111 type bridge vlan_filtering 0 142 ip link set dev br111 addrgenmode none 143 ip link set dev br111 up 144 ip link set dev $swp1.111 master br111 145 ip lin [all...] |
H A D | qos_mc_aware.sh | 91 ip link set dev $h2.111 type vlan egress-qos-map 0:1 120 ip link set dev $swp1 up 123 ip link set dev $swp2 up 126 ip link set dev $swp3 up 137 ip link add name br1 type bridge vlan_filtering 0 138 ip link set dev br1 addrgenmode none 139 ip link set dev br1 up 140 ip link set dev $swp1 master br1 141 ip link set dev $swp3 master br1 143 ip lin [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_skb_cgroup_id.sh | 26 ip link add dev ${TEST_IF} type veth peer name ${TEST_IF_PEER} 27 ip link set ${TEST_IF} up 28 ip link set ${TEST_IF_PEER} up 42 ip link del ${TEST_IF} 2>/dev/null || : 43 ip link del ${TEST_IF_PEER} 2>/dev/null || :
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | mirror_gre_changes.sh | 43 ip address add dev $swp3 192.0.2.129/28 44 ip address add dev $h3 192.0.2.130/28 46 ip address add dev $swp3 2001:db8:2::1/64 47 ip address add dev $h3 2001:db8:2::2/64 54 ip address del dev $h3 2001:db8:2::2/64 55 ip address del dev $swp3 2001:db8:2::1/64 57 ip address del dev $h3 192.0.2.130/28 58 ip address del dev $swp3 192.0.2.129/28 76 "prot ip flower $tcflags ip_prot icmp" 82 ip lin [all...] |
H A D | bridge_fdb_learning_limit.sh | 36 ip link add dev br0 type bridge 38 ip link set dev "$swp1" master br0 39 ip link set dev "$swp2" master br0 43 ip link set dev "$swp2" type bridge_slave learning off 45 ip link set dev br0 up 47 ip link set dev "$swp1" up 48 ip link set dev "$swp2" up 49 ip link set dev "$swp3" up 54 ip link set dev "$swp3" down 55 ip lin [all...] |
H A D | bridge_igmp.sh | 59 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1 61 ip link set dev $swp1 master br0 62 ip link set dev $swp2 master br0 64 ip link set dev br0 up 65 ip link set dev $swp1 up 66 ip link set dev $swp2 up 71 ip link set dev $swp2 down 72 ip link set dev $swp1 down 74 ip link del dev br0 108 ip addres [all...] |
H A D | vxlan_bridge_1q.sh | 138 ip address add dev $rp1 192.0.2.17/28 140 ip route add 192.0.2.32/28 nexthop via 192.0.2.18 141 ip route add 192.0.2.48/28 nexthop via 192.0.2.18 146 ip route del 192.0.2.48/28 nexthop via 192.0.2.18 147 ip route del 192.0.2.32/28 nexthop via 192.0.2.18 149 ip address del dev $rp1 192.0.2.17/28 154 ip link add name br1 type bridge vlan_filtering 1 vlan_default_pvid 0 \ 158 ip link set dev br1 address $(mac_get $swp1) 159 ip link set dev br1 up 161 ip lin [all...] |
H A D | custom_multipath_hash.sh | 57 ip route add vrf v$h1 default via 198.51.100.1 dev $h1 58 ip -6 route add vrf v$h1 default via 2001:db8:1::1 dev $h1 63 ip -6 route del vrf v$h1 default 64 ip route del vrf v$h1 default 74 ip route add vrf v$rp1 203.0.113.0/24 \ 78 ip -6 route add vrf v$rp1 2001:db8:4::/64 \ 85 ip -6 route del vrf v$rp1 2001:db8:4::/64 87 ip route del vrf v$rp1 203.0.113.0/24 100 ip route add vrf v$rp2 198.51.100.0/24 \ 104 ip [all...] |
H A D | no_forwarding.sh | 45 ip neigh add $H2_IPV4 lladdr $dmac dev $if_name 47 ip neigh del $H2_IPV4 dev $if_name 62 ip -6 neigh add $H2_IPV6 lladdr $dmac dev $if_name 64 ip -6 neigh del $H2_IPV6 dev $if_name 186 ip link add br0 type bridge && ip link set br0 up 187 ip link add br1 type bridge && ip link set br1 up 188 ip link set $swp1 master br0 189 ip lin [all...] |
H A D | gre_multipath.sh | 69 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2 74 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2 87 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130 91 ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146 93 ip route add vrf v$ol1 192.0.2.16/28 \ 100 ip route del vrf v$ol1 192.0.2.16/28 102 ip route del vrf v$ol1 192.0.2.82/32 via 192.0.2.146 106 ip route del vrf v$ol1 192.0.2.66/32 via 192.0.2.130 125 ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129 129 ip rout [all...] |
/linux-master/fs/freevxfs/ |
H A D | vxfs_bmap.c | 31 * @ip: pointer to the inode we do bmap for 43 vxfs_bmap_ext4(struct inode *ip, long bn) argument 45 struct super_block *sb = ip->i_sb; 46 struct vxfs_inode_info *vip = VXFS_INO(ip); 91 * @ip: pointer to the inode we do bmap for 107 vxfs_bmap_indir(struct inode *ip, long indir, int size, long block) argument 109 struct vxfs_sb_info *sbi = VXFS_SBI(ip->i_sb); 114 for (i = 0; i < size * VXFS_TYPED_PER_BLOCK(ip->i_sb); i++) { 118 bp = sb_bread(ip->i_sb, 119 indir + (i / VXFS_TYPED_PER_BLOCK(ip 186 vxfs_bmap_typed(struct inode *ip, long iblock) argument 250 vxfs_bmap1(struct inode *ip, long iblock) argument [all...] |
/linux-master/arch/x86/kernel/ |
H A D | cfi.c | 13 * Returns the target address and the expected type when regs->ip points 32 * ud2 ; <- regs->ip 38 if (copy_from_kernel_nofault(buffer, (void *)regs->ip - 12, MAX_INSN_SIZE)) 47 if (copy_from_kernel_nofault(buffer, (void *)regs->ip - 6, MAX_INSN_SIZE)) 73 if (!is_cfi_trap(regs->ip)) 77 return report_cfi_failure_noaddr(regs, regs->ip); 79 return report_cfi_failure(regs, regs->ip, &target, type);
|
/linux-master/arch/arm/mm/ |
H A D | proc-fa526.S | 60 mov ip, #0 61 mcr p15, 0, ip, c7, c7, 0 @ invalidate I,D caches 62 mcr p15, 0, ip, c7, c10, 4 @ drain WB 64 mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs 66 mrc p15, 0, ip, c1, c0, 0 @ ctrl register 67 bic ip, ip, #0x000f @ ............wcam 68 bic ip, ip, #0x1100 @ ...i...s........ 69 bic ip, i [all...] |
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_hash_netportnet.c | 4 /* Kernel module implementing an IP set type: the hash:ip,port,net type */ 8 #include <linux/ip.h> 12 #include <net/ip.h> 46 __be32 ip[2]; member in union:hash_netportnet4_elem::__anon377 94 elem->ip[1] = orig->ip[1]; 102 elem->ip[1] &= ip_set_netmask(cidr); 105 elem->ip[0] &= ip_set_netmask(cidr); 116 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip[0]) || 117 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[ 195 u32 ip = 0, ip_to = 0, p = 0, port, port_to; local 339 union nf_inet_addr ip[2]; member in struct:hash_netportnet6_elem [all...] |
H A D | ip_set_hash_net.c | 8 #include <linux/ip.h> 12 #include <net/ip.h> 43 __be32 ip; member in struct:hash_net4_elem 56 return ip1->ip == ip2->ip && 81 elem->ip &= ip_set_netmask(cidr); 90 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) || 105 next->ip = d->ip; 129 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); 143 u32 ip = 0, ip_to = 0, i = 0; local 214 union nf_inet_addr ip; member in struct:hash_net6_elem [all...] |
H A D | ip_set_hash_ipportip.c | 4 /* Kernel module implementing an IP set type: the hash:ip,port,ip type */ 8 #include <linux/ip.h> 12 #include <net/ip.h> 33 IP_SET_MODULE_DESC("hash:ip,port,ip", IPSET_TYPE_REV_MIN, IPSET_TYPE_REV_MAX); 34 MODULE_ALIAS("ip_set_hash:ip,port,ip"); 43 __be32 ip; member in struct:hash_ipportip4_elem 55 return ip1->ip 115 u32 ip, ip_to = 0, p = 0, port, port_to, i = 0; local 209 union nf_inet_addr ip; member in struct:hash_ipportip6_elem [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | intel_device_info.c | 93 if (runtime->graphics.ip.rel) 95 runtime->graphics.ip.ver, 96 runtime->graphics.ip.rel); 99 runtime->graphics.ip.ver); 101 if (runtime->media.ip.rel) 103 runtime->media.ip.ver, 104 runtime->media.ip.rel); 107 runtime->media.ip.ver); 270 static void ip_ver_read(struct drm_i915_private *i915, u32 offset, struct intel_ip_version *ip) argument 275 u8 expected_ver = ip [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | parent.c | 75 if (sc->ip->i_ino == ino) 128 if (sc->ip == mp->m_rootip) { 129 if (sc->ip->i_ino != mp->m_sb.sb_rootino || 130 sc->ip->i_ino != parent_ino) 136 if (sc->ip->i_ino == parent_ino) { 145 expected_nlink = VFS_I(sc->ip)->i_nlink == 0 ? 0 : 1; 164 if (dp == sc->ip || xrep_is_tempfile(dp) || 259 struct xfs_inode *ip, 294 error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot, &pp->parent_ino); 303 if (sc->ip 257 xchk_parent_scan_dotdot( struct xfs_scrub *sc, struct xfs_inode *ip, unsigned int attr_flags, const unsigned char *name, unsigned int namelen, const void *value, unsigned int valuelen, void *priv) argument 403 struct xfs_inode *ip; local 447 xchk_parent_scan_attr( struct xfs_scrub *sc, struct xfs_inode *ip, unsigned int attr_flags, const unsigned char *name, unsigned int namelen, const void *value, unsigned int valuelen, void *priv) argument 659 xchk_parent_count_pptr( struct xfs_scrub *sc, struct xfs_inode *ip, unsigned int attr_flags, const unsigned char *name, unsigned int namelen, const void *value, unsigned int valuelen, void *priv) argument 885 xchk_pptr_looks_zapped( struct xfs_inode *ip) argument [all...] |
/linux-master/fs/gfs2/ |
H A D | file.c | 60 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); local 66 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, 161 struct gfs2_inode *ip = GFS2_I(inode); local 169 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); 174 fsflags = gfs2_gfsflags_to_fsflags(inode, ip->i_diskflags); 186 struct gfs2_inode *ip = GFS2_I(inode); local 190 if ((ip->i_eattr == 0) && !is_sxid(inode->i_mode)) 192 if (ip->i_diskflags & GFS2_DIF_IMMUTABLE) 194 if (ip->i_diskflags & GFS2_DIF_APPENDONLY) 196 if (ip 221 struct gfs2_inode *ip = GFS2_I(inode); local 370 struct gfs2_inode *ip = GFS2_I(inode); local 419 struct gfs2_inode *ip = GFS2_I(inode); local 554 struct gfs2_inode *ip = GFS2_I(inode); local 592 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); local 676 struct gfs2_inode *ip = GFS2_I(inode); local 707 struct gfs2_inode *ip = GFS2_I(inode); local 747 struct gfs2_inode *ip = GFS2_I(inode); local 814 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); local 878 struct gfs2_inode *ip = GFS2_I(inode); local 950 struct gfs2_inode *ip; local 1015 struct gfs2_inode *ip = GFS2_I(inode); local 1102 struct gfs2_inode *ip = GFS2_I(inode); local 1178 struct gfs2_inode *ip = GFS2_I(inode); local 1228 calc_max_reserv(struct gfs2_inode *ip, loff_t *len, unsigned int *data_blocks, unsigned int *ind_blocks, unsigned int max_blocks) argument 1254 struct gfs2_inode *ip = GFS2_I(inode); local 1370 struct gfs2_inode *ip = GFS2_I(inode); local 1440 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); local 1480 struct gfs2_inode *ip = GFS2_I(file_inode(file)); local [all...] |
/linux-master/lib/zstd/compress/ |
H A D | zstd_fast.c | 24 const BYTE* ip = base + ms->nextToUpdate; local 31 for ( ; ip + fastHashFillStep < iend + 2; ip += fastHashFillStep) { 32 U32 const curr = (U32)(ip - base); 33 size_t const hash0 = ZSTD_hashPtr(ip, hBits, mls); 39 size_t const hash = ZSTD_hashPtr(ip + p, hBits, mls); 169 /* load repcode match for ip[2]*/ 176 /* check repcode at ip[2] */ 188 /* load match for ip[0] */ 195 /* check match at ip[ 383 const BYTE* ip = istart; local 560 const BYTE* ip = istart; local [all...] |
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_private.h | 88 static inline int vxlan_nla_get_addr(union vxlan_addr *ip, argument 92 ip->sin6.sin6_addr = nla_get_in6_addr(nla); 93 ip->sa.sa_family = AF_INET6; 96 ip->sin.sin_addr.s_addr = nla_get_in_addr(nla); 97 ip->sa.sa_family = AF_INET; 105 const union vxlan_addr *ip) 107 if (ip->sa.sa_family == AF_INET6) 108 return nla_put_in6_addr(skb, attr, &ip->sin6.sin6_addr); 110 return nla_put_in_addr(skb, attr, ip->sin.sin_addr.s_addr); 113 static inline bool vxlan_addr_is_multicast(const union vxlan_addr *ip) argument 104 vxlan_nla_put_addr(struct sk_buff *skb, int attr, const union vxlan_addr *ip) argument 129 vxlan_nla_get_addr(union vxlan_addr *ip, const struct nlattr *nla) argument 143 vxlan_nla_put_addr(struct sk_buff *skb, int attr, const union vxlan_addr *ip) argument 149 vxlan_addr_is_multicast(const union vxlan_addr *ip) argument 156 vxlan_addr_size(const union vxlan_addr *ip) argument [all...] |
/linux-master/arch/arm/lib/ |
H A D | io-readsb.S | 10 .Linsb_align: rsb ip, ip, #4 11 cmp ip, r2 12 movgt ip, r2 13 cmp ip, #2 20 subs r2, r2, ip 26 ands ip, r1, #3 46 ldrb ip, [r0] 51 orr r4, r4, ip, put_byte_3 52 ldrb ip, [r [all...] |
/linux-master/arch/arm/kernel/ |
H A D | ftrace.c | 74 likely(!is_kernel_inittext(rec->ip))) 148 unsigned long ip = rec->ip; local 158 new = ftrace_call_replace(ip, aaddr, !mod); 161 aaddr = get_module_plt(mod, ip, aaddr); 162 new = ftrace_call_replace(ip, aaddr, true); 166 return ftrace_modify_code(rec->ip, old, new, true); 175 unsigned long ip = rec->ip; local 177 old = ftrace_call_replace(ip, adjust_addres 190 unsigned long ip = rec->ip; local [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | udpgro.sh | 22 local -r ns="$(ip netns list|grep $PEER_NS)" 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 [all...] |