/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | mirror_gre_lib.sh | 34 local ip2=$1; shift 40 "$backward_type" "$ip1" "$ip2" 55 local ip2=$1; shift 62 "$backward_type" "$ip1" "$ip2" 67 mirror_test v$h1 $ip1 $ip2 $h3 77 10 106 local ip2=$1; shift 112 quick_test_span_gre_dir_ips $tundev ingress $ip1 $ip2 116 fail_test_span_gre_dir_ips $tundev ingress $ip1 $ip2 120 quick_test_span_gre_dir_ips $tundev ingress $ip1 $ip2
|
H A D | mirror_lib.sh | 64 local ip2=$1; shift 67 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect 68 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect 89 local ip2=$1; shift 91 quick_test_span_dir_ips "$dev" "$direction" "$ip1" "$ip2" 94 mirror_test v$h1 $ip1 $ip2 $dev 100 10 98 mirror_test v$h2 $ip2 $ip1 $dev 100 10 120 local ip2=$1; shift 126 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect 127 mirror_test v$h2 $ip2 [all...] |
H A D | vxlan_asymmetric_ipv6.sh | 401 local ip2=$1; shift 411 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
|
H A D | vxlan_asymmetric.sh | 406 local ip2=$1; shift 416 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
|
/linux-master/fs/xfs/ |
H A D | xfs_exchrange.c | 32 struct xfs_inode *ip2) 34 if (ip1 != ip2) 36 ip2, XFS_ILOCK_EXCL); 41 if (ip2 != ip1) 42 xfs_trans_ijoin(tp, ip2, 0); 51 struct xfs_inode *ip2) 53 if (ip2 != ip1) 54 xfs_iunlock(ip2, XFS_ILOCK_EXCL); 69 xfs_exchrange_ilock(NULL, req->ip1, req->ip2); 71 xfs_exchrange_iunlock(req->ip1, req->ip2); 29 xfs_exchrange_ilock( struct xfs_trans *tp, struct xfs_inode *ip1, struct xfs_inode *ip2) argument 49 xfs_exchrange_iunlock( struct xfs_inode *ip1, struct xfs_inode *ip2) argument 161 xfs_exchrange_mappings( const struct xfs_exchrange *fxr, struct xfs_inode *ip1, struct xfs_inode *ip2) argument 513 xfs_exchrange_check_rtalign( const struct xfs_exchrange *fxr, struct xfs_inode *ip1, struct xfs_inode *ip2, unsigned int alloc_unit) argument 578 xfs_exchrange_prep( struct xfs_exchrange *fxr, struct xfs_inode *ip1, struct xfs_inode *ip2) argument 661 struct xfs_inode *ip2 = XFS_I(inode2); local [all...] |
H A D | xfs_exchrange.h | 33 struct xfs_inode *ip2); 34 void xfs_exchrange_iunlock(struct xfs_inode *ip1, struct xfs_inode *ip2);
|
H A D | xfs_exchmaps_item.c | 366 struct xfs_inode *ip1, *ip2; local 386 &ip2); 394 req->ip2 = ip2; 400 xfs_exchrange_ilock(NULL, ip1, ip2); 402 xfs_exchrange_iunlock(ip1, ip2); 407 *ipp2 = ip2; 413 xfs_irele(ip2); 416 req->ip2 = req->ip1 = NULL; 433 struct xfs_inode *ip1, *ip2; local [all...] |
H A D | xfs_inode.c | 2916 struct xfs_inode *ip2, /* in: inode of new entry */ 2937 if (ip2) 2938 i_tab[i++] = ip2; 2995 struct xfs_inode *ip2, 3005 error = xfs_dir_replace(tp, dp1, name1, ip2->i_ino, spaceres); 3022 if (S_ISDIR(VFS_I(ip2)->i_mode)) { 3023 error = xfs_dir_replace(tp, ip2, &xfs_name_dotdot, 3028 /* transfer ip2 ".." reference to dp1 */ 3053 if (!S_ISDIR(VFS_I(ip2)->i_mode)) { 3061 * Although ip2 is 2912 xfs_sort_for_rename( struct xfs_inode *dp1, struct xfs_inode *dp2, struct xfs_inode *ip1, struct xfs_inode *ip2, struct xfs_inode *wip, struct xfs_inode **i_tab, int *num_inodes) argument 2987 xfs_cross_rename( struct xfs_trans *tp, struct xfs_inode *dp1, struct xfs_name *name1, struct xfs_inode *ip1, struct xfs_parent_args *ip1_ppargs, struct xfs_inode *dp2, struct xfs_name *name2, struct xfs_inode *ip2, struct xfs_parent_args *ip2_ppargs, int spaceres) argument 3958 xfs_mmaplock_two_inodes_and_break_dax_layout( struct xfs_inode *ip1, struct xfs_inode *ip2) argument 4006 xfs_ilock2_io_mmap( struct xfs_inode *ip1, struct xfs_inode *ip2) argument 4033 xfs_iunlock2_io_mmap( struct xfs_inode *ip1, struct xfs_inode *ip2) argument 4052 xfs_iunlock2_remapping( struct xfs_inode *ip1, struct xfs_inode *ip2) argument [all...] |
H A D | xfs_inode.h | 626 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2); 627 void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2); 628 void xfs_iunlock2_remapping(struct xfs_inode *ip1, struct xfs_inode *ip2);
|
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_hash_ipportnet.c | 54 __be32 ip2; member in struct:hash_ipportnet4_elem 65 const struct hash_ipportnet4_elem *ip2, 68 return ip1->ip == ip2->ip && 69 ip1->ip2 == ip2->ip2 && 70 ip1->cidr == ip2->cidr && 71 ip1->port == ip2->port && 72 ip1->proto == ip2->proto; 96 elem->ip2 64 hash_ipportnet4_data_equal(const struct hash_ipportnet4_elem *ip1, const struct hash_ipportnet4_elem *ip2, u32 *multi) argument 168 u32 ip2_from = 0, ip2_to = 0, ip2, i = 0; local 309 union nf_inet_addr ip2; member in struct:hash_ipportnet6_elem 319 hash_ipportnet6_data_equal(const struct hash_ipportnet6_elem *ip1, const struct hash_ipportnet6_elem *ip2, u32 *multi) argument [all...] |
H A D | ip_set_hash_ipportip.c | 44 __be32 ip2; member in struct:hash_ipportip4_elem 52 const struct hash_ipportip4_elem *ip2, 55 return ip1->ip == ip2->ip && 56 ip1->ip2 == ip2->ip2 && 57 ip1->port == ip2->port && 58 ip1->proto == ip2->proto; 66 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip2) || 103 ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2); 51 hash_ipportip4_data_equal(const struct hash_ipportip4_elem *ip1, const struct hash_ipportip4_elem *ip2, u32 *multi) argument 210 union nf_inet_addr ip2; member in struct:hash_ipportip6_elem 219 hash_ipportip6_data_equal(const struct hash_ipportip6_elem *ip1, const struct hash_ipportip6_elem *ip2, u32 *multi) argument [all...] |
H A D | ip_set_hash_netportnet.c | 63 const struct hash_netportnet4_elem *ip2, 66 return ip1->ipcmp == ip2->ipcmp && 67 ip1->ccmp == ip2->ccmp && 68 ip1->port == ip2->port && 69 ip1->proto == ip2->proto; 196 u32 ip2_from = 0, ip2_to = 0, ip2, i = 0; local 302 ip2 = ntohl(h->next.ip[1]); 305 ip2 = ip2_from; 315 e.ip[1] = htonl(ip2); 321 ip2 62 hash_netportnet4_data_equal(const struct hash_netportnet4_elem *ip1, const struct hash_netportnet4_elem *ip2, u32 *multi) argument 353 hash_netportnet6_data_equal(const struct hash_netportnet6_elem *ip1, const struct hash_netportnet6_elem *ip2, u32 *multi) argument [all...] |
H A D | ip_set_hash_netnet.c | 61 const struct hash_netnet4_elem *ip2, 64 return ip1->ipcmp == ip2->ipcmp && 65 ip1->ccmp == ip2->ccmp; 174 u32 ip2 = 0, ip2_from = 0, ip2_to = 0, i = 0; local 253 ip2 = ntohl(h->next.ip[1]); 255 ip2 = ip2_from; 263 e.ip[1] = htonl(ip2); 268 ip2 = ip_set_range_to_cidr(ip2, ip2_to, &e.cidr[1]); 274 } while (ip2 60 hash_netnet4_data_equal(const struct hash_netnet4_elem *ip1, const struct hash_netnet4_elem *ip2, u32 *multi) argument 295 hash_netnet6_data_equal(const struct hash_netnet6_elem *ip1, const struct hash_netnet6_elem *ip2, u32 *multi) argument [all...] |
H A D | ip_set_hash_netiface.c | 70 const struct hash_netiface4_elem *ip2, 73 return ip1->ip == ip2->ip && 74 ip1->cidr == ip2->cidr && 76 ip1->physdev == ip2->physdev && 78 strncmp(ip1->iface, ip2->iface, strlen(ip1->iface)) == 0 : 79 strcmp(ip1->iface, ip2->iface) == 0); 304 const struct hash_netiface6_elem *ip2, 307 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && 308 ip1->cidr == ip2->cidr && 310 ip1->physdev == ip2 69 hash_netiface4_data_equal(const struct hash_netiface4_elem *ip1, const struct hash_netiface4_elem *ip2, u32 *multi) argument 303 hash_netiface6_data_equal(const struct hash_netiface6_elem *ip1, const struct hash_netiface6_elem *ip2, u32 *multi) argument [all...] |
H A D | ip_set_hash_ipmark.c | 48 const struct hash_ipmark4_elem *ip2, 51 return ip1->ip == ip2->ip && 52 ip1->mark == ip2->mark; 180 const struct hash_ipmark6_elem *ip2, 183 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && 184 ip1->mark == ip2->mark; 47 hash_ipmark4_data_equal(const struct hash_ipmark4_elem *ip1, const struct hash_ipmark4_elem *ip2, u32 *multi) argument 179 hash_ipmark6_data_equal(const struct hash_ipmark6_elem *ip1, const struct hash_ipmark6_elem *ip2, u32 *multi) argument
|
H A D | ip_set_hash_ipport.c | 56 const struct hash_ipport4_elem *ip2, 59 return ip1->ip == ip2->ip && 60 ip1->port == ip2->port && 61 ip1->proto == ip2->proto; 223 const struct hash_ipport6_elem *ip2, 226 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && 227 ip1->port == ip2->port && 228 ip1->proto == ip2->proto; 55 hash_ipport4_data_equal(const struct hash_ipport4_elem *ip1, const struct hash_ipport4_elem *ip2, u32 *multi) argument 222 hash_ipport6_data_equal(const struct hash_ipport6_elem *ip1, const struct hash_ipport6_elem *ip2, u32 *multi) argument
|
H A D | ip_set_hash_netport.c | 63 const struct hash_netport4_elem *ip2, 66 return ip1->ip == ip2->ip && 67 ip1->port == ip2->port && 68 ip1->proto == ip2->proto && 69 ip1->cidr == ip2->cidr; 280 const struct hash_netport6_elem *ip2, 283 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && 284 ip1->port == ip2->port && 285 ip1->proto == ip2->proto && 286 ip1->cidr == ip2 62 hash_netport4_data_equal(const struct hash_netport4_elem *ip1, const struct hash_netport4_elem *ip2, u32 *multi) argument 279 hash_netport6_data_equal(const struct hash_netport6_elem *ip1, const struct hash_netport6_elem *ip2, u32 *multi) argument [all...] |
H A D | ip_set_hash_net.c | 53 const struct hash_net4_elem *ip2, 56 return ip1->ip == ip2->ip && 57 ip1->cidr == ip2->cidr; 224 const struct hash_net6_elem *ip2, 227 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && 228 ip1->cidr == ip2->cidr; 52 hash_net4_data_equal(const struct hash_net4_elem *ip1, const struct hash_net4_elem *ip2, u32 *multi) argument 223 hash_net6_data_equal(const struct hash_net6_elem *ip1, const struct hash_net6_elem *ip2, u32 *multi) argument
|
H A D | ip_set_hash_ip.c | 184 const struct hash_ip6_elem *ip2, 187 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6); 183 hash_ip6_data_equal(const struct hash_ip6_elem *ip1, const struct hash_ip6_elem *ip2, u32 *multi) argument
|
/linux-master/tools/testing/selftests/wireguard/ |
H A D | netns.sh | 42 ip2() { pretty 2 "ip $*"; ip -n $netns2 "$@"; } function 56 ip2 link del dev wg0 57 ip2 link del dev wg1 97 ip2 addr add 192.168.241.2/24 dev wg0 98 ip2 addr add fd00::2/112 dev wg0 114 ip2 link set up dev wg0 167 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip2 -stats link show dev wg0) 180 ip2 link set wg0 mtu $big_mtu 184 ip2 link set wg0 mtu $orig_mtu 191 ip2 lin [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_exchmaps.h | 52 struct xfs_inode *ip2; member in struct:xfs_exchmaps_req 74 * Data device blocks to be moved out of ip2, and free space needed to 82 /* rt blocks to be moved out of ip2. */
|
H A D | xfs_exchmaps.c | 146 ifp2 = xfs_ifork_ptr(req->ip2, whichfork); 966 if (req->blockcount != XFS_B_TO_FSB(mp, req->ip2->i_disk_size)) 984 xmi->xmi_ip2 = req->ip2; 998 xmi->xmi_isize1 = req->ip2->i_disk_size; 1005 if (xfs_is_reflink_inode(req->ip2)) 1081 error = xmi_next(req->ip2, bmap_flags, &irec2, &adj.right2); 1121 if (req->ip1 == req->ip2) { 1128 error = xmi_ensure_delta_nextents(req, req->ip2, d_nexts2); 1222 xfs_assert_ilocked(req->ip2, XFS_ILOCK_EXCL);
|
/linux-master/lib/zstd/compress/ |
H A D | zstd_fast.c | 114 const BYTE* ip2; local 134 * between pairs of positions, from ip0 to ip2 or ip1 to ip3. */ 156 ip2 = ip0 + step; 157 ip3 = ip2 + 1; 170 const U32 rval = MEM_read32(ip2 - rep_offset1); 177 if ((MEM_read32(ip2) == rval) & (rep_offset1 > 0)) { 178 ip0 = ip2; 206 hash1 = ZSTD_hashPtr(ip2, hlog, mls); 210 ip1 = ip2; 211 ip2 [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | tempfile.c | 520 req->ip2 = sc->ip; 640 if (!XFS_IS_QUOTA_ON(tp->t_mountp) || req->ip1 == req->ip2 || 641 (req->ip1->i_udquot == req->ip2->i_udquot && 642 req->ip1->i_gdquot == req->ip2->i_gdquot && 643 req->ip1->i_pdquot == req->ip2->i_pdquot)) 665 return xfs_trans_reserve_quota_nblks(tp, req->ip2,
|
/linux-master/drivers/net/wireguard/selftest/ |
H A D | allowedips.c | 26 u8 ip1[16], ip2[16], cidr1, cidr2; local 51 wg_allowedips_read_node(rcu_dereference_raw(node->bit[0]), ip2, &cidr2); 52 printk(fmt_connection, ip1, cidr1, ip2, cidr2); 55 wg_allowedips_read_node(rcu_dereference_raw(node->bit[1]), ip2, &cidr2); 56 printk(fmt_connection, ip1, cidr1, ip2, cidr2);
|