/linux-master/tools/testing/selftests/net/forwarding/ |
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...] |
H A D | tc_shblocks.sh | 53 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 57 -t ip -q 63 -t ip -q 68 tc filter del block 22 protocol ip pref 1 handle 101 flower 77 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 79 tc filter add block 22 protocol ip pref 2 handle 102 flower \ 83 -t ip -q 89 -t ip -q 94 tc filter del block 22 protocol ip pref 1 handle 101 flower 95 tc filter del block 22 protocol ip pre [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/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 | 95 if (runtime->graphics.ip.rel) 97 runtime->graphics.ip.ver, 98 runtime->graphics.ip.rel); 101 runtime->graphics.ip.ver); 103 if (runtime->media.ip.rel) 105 runtime->media.ip.ver, 106 runtime->media.ip.rel); 109 runtime->media.ip.ver); 272 static void ip_ver_read(struct drm_i915_private *i915, u32 offset, struct intel_ip_version *ip) argument 277 u8 expected_ver = ip [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 553 struct gfs2_inode *ip = GFS2_I(inode); local 591 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); local 675 struct gfs2_inode *ip = GFS2_I(inode); local 706 struct gfs2_inode *ip = GFS2_I(inode); local 746 struct gfs2_inode *ip = GFS2_I(inode); local 813 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); local 877 struct gfs2_inode *ip = GFS2_I(inode); local 949 struct gfs2_inode *ip; local 1014 struct gfs2_inode *ip = GFS2_I(inode); local 1101 struct gfs2_inode *ip = GFS2_I(inode); local 1177 struct gfs2_inode *ip = GFS2_I(inode); local 1227 calc_max_reserv(struct gfs2_inode *ip, loff_t *len, unsigned int *data_blocks, unsigned int *ind_blocks, unsigned int max_blocks) argument 1253 struct gfs2_inode *ip = GFS2_I(inode); local 1369 struct gfs2_inode *ip = GFS2_I(inode); local 1439 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); local 1479 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...] |
H A D | ashldi3.S | 44 rsb ip, r2, #32 47 ARM( orrmi ah, ah, al, lsr ip ) 48 THUMB( lsrmi r3, al, ip )
|
H A D | ashrdi3.S | 44 rsb ip, r2, #32 47 ARM( orrmi al, al, ah, lsl ip ) 48 THUMB( lslmi r3, ah, ip )
|
H A D | lshrdi3.S | 44 rsb ip, r2, #32 47 ARM( orrmi al, al, ah, lsl ip ) 48 THUMB( lslmi r3, ah, ip )
|
/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/drivers/net/mlxsw/ |
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/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...] |
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}" 146 ip netns add "${NS3}" || exit_cleanup "${NS0}" "${NS1}" "${NS2}" 176 ip -netns "${NS}" link set dev "${DEV}" up 177 ip -netns "${NS}" address add dev "${DEV}" "${LOCAL_IP4}" peer "${PEER_IP4}" 178 ip -netns "${NS}" address add dev "${DEV}" "${LOCAL_IP6}" peer "${PEER_IP6}" nodad 192 ip -netns "${ns}" link set dev lo up 195 ip lin [all...] |
/linux-master/arch/arm/mm/ |
H A D | proc-arm1020.S | 84 mov ip, #0 85 mcr p15, 0, ip, c7, c7, 0 @ invalidate I,D caches 86 mcr p15, 0, ip, c7, c10, 4 @ drain WB 88 mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs 90 mrc p15, 0, ip, c1, c0, 0 @ ctrl register 91 bic ip, ip, #0x000f @ ............wcam 92 bic ip, ip, #0x1100 @ ...i...s........ 93 mcr p15, 0, ip, c [all...] |