| /linux/fs/xfs/ |
| A D | xfs_exchrange.c | 32 struct xfs_inode *ip2) in xfs_exchrange_ilock() argument 34 if (ip1 != ip2) in xfs_exchrange_ilock() 36 ip2, XFS_ILOCK_EXCL); in xfs_exchrange_ilock() 41 if (ip2 != ip1) in xfs_exchrange_ilock() 51 struct xfs_inode *ip2) in xfs_exchrange_iunlock() argument 53 if (ip2 != ip1) in xfs_exchrange_iunlock() 85 struct xfs_inode *ip2) in xfs_exchrange_check_freshness() argument 192 struct xfs_inode *ip2) in xfs_exchrange_mappings() argument 197 .ip2 = ip2, in xfs_exchrange_mappings() 582 if (ip1 == ip2 && in xfs_exchrange_check_rtalign() [all …]
|
| A D | xfs_exchmaps_item.c | 366 struct xfs_inode *ip1, *ip2; in xfs_xmi_item_recover_intent() local 386 &ip2); in xfs_xmi_item_recover_intent() 394 req->ip2 = ip2; in xfs_xmi_item_recover_intent() 402 xfs_exchrange_iunlock(ip1, ip2); in xfs_xmi_item_recover_intent() 407 *ipp2 = ip2; in xfs_xmi_item_recover_intent() 413 xfs_irele(ip2); in xfs_xmi_item_recover_intent() 416 req->ip2 = req->ip1 = NULL; in xfs_xmi_item_recover_intent() 433 struct xfs_inode *ip1, *ip2; in xfs_exchmaps_recover_work() local 444 &ip1, &ip2); in xfs_exchmaps_recover_work() 477 xfs_exchrange_iunlock(ip1, ip2); in xfs_exchmaps_recover_work() [all …]
|
| A D | xfs_inode.c | 2008 if (ip2) in xfs_sort_for_rename() 2009 i_tab[i++] = ip2; in xfs_sort_for_rename() 2704 struct xfs_inode *ip2) in xfs_mmaplock_two_inodes_and_break_dax_layout() argument 2711 swap(ip1, ip2); in xfs_mmaplock_two_inodes_and_break_dax_layout() 2725 if (ip1 == ip2) in xfs_mmaplock_two_inodes_and_break_dax_layout() 2752 struct xfs_inode *ip2) in xfs_ilock2_io_mmap() argument 2764 if (ip1 != ip2) in xfs_ilock2_io_mmap() 2783 if (ip1 != ip2) in xfs_iunlock2_io_mmap() 2790 if (ip1 != ip2) in xfs_iunlock2_io_mmap() 2802 if (ip1 != ip2) in xfs_iunlock2_remapping() [all …]
|
| A D | xfs_exchrange.h | 47 struct xfs_inode *ip2); 48 void xfs_exchrange_iunlock(struct xfs_inode *ip1, struct xfs_inode *ip2);
|
| A D | xfs_inode.h | 620 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2); 621 void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2); 622 void xfs_iunlock2_remapping(struct xfs_inode *ip1, struct xfs_inode *ip2);
|
| /linux/tools/testing/selftests/net/forwarding/ |
| A D | mirror_lib.sh | 66 local ip2=$1; shift 71 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect 75 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect 83 local ip2=$1; shift 97 local ip2=$1; shift 103 mirror_test v$h1 $ip1 $ip2 $dev 100 10 107 mirror_test v$h2 $ip2 $ip1 $dev 100 10 128 local ip2=$1; shift 145 local ip2=$1; shift 148 "$ip1" "$ip2" [all …]
|
| A D | mirror_gre_lib.sh | 9 local ip2=$1; shift 21 local ip2=$1; shift 23 do_test_span_dir_ips 0 h3-$tundev "$ip1" "$ip2" 32 local ip2=$1; shift 35 "$backward_type" "$ip1" "$ip2" 46 local ip2=$1; shift 52 "$backward_type" "$ip1" "$ip2" 67 local ip2=$1; shift 74 "$backward_type" "$ip1" "$ip2" 79 mirror_test v$h1 $ip1 $ip2 $h3 77 '>= 10' [all …]
|
| A D | vxlan_asymmetric.sh | 406 local ip2=$1; shift 416 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
|
| /linux/net/netfilter/ipset/ |
| A D | ip_set_hash_ipportnet.c | 54 __be32 ip2; member 68 return ip1->ip == ip2->ip && in hash_ipportnet4_data_equal() 69 ip1->ip2 == ip2->ip2 && in hash_ipportnet4_data_equal() 126 next->ip2 = d->ip2; in hash_ipportnet4_data_next() 272 ip2 = ntohl(h->next.ip2); in hash_ipportnet4_uadt() 275 ip2 = ip2_from; in hash_ipportnet4_uadt() 283 e.ip2 = htonl(ip2); in hash_ipportnet4_uadt() 284 ip2 = ip_set_range_to_cidr(ip2, ip2_to, &cidr); in hash_ipportnet4_uadt() 298 ip2 = ip2_from; in hash_ipportnet4_uadt() 309 union nf_inet_addr ip2; member [all …]
|
| A D | ip_set_hash_ipportip.c | 44 __be32 ip2; member 52 const struct hash_ipportip4_elem *ip2, in hash_ipportip4_data_equal() argument 55 return ip1->ip == ip2->ip && in hash_ipportip4_data_equal() 56 ip1->ip2 == ip2->ip2 && in hash_ipportip4_data_equal() 57 ip1->port == ip2->port && in hash_ipportip4_data_equal() 58 ip1->proto == ip2->proto; in hash_ipportip4_data_equal() 210 union nf_inet_addr ip2; member 220 const struct hash_ipportip6_elem *ip2, in hash_ipportip6_data_equal() argument 224 ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) && in hash_ipportip6_data_equal() 225 ip1->port == ip2->port && in hash_ipportip6_data_equal() [all …]
|
| A D | ip_set_hash_netportnet.c | 66 return ip1->ipcmp == ip2->ipcmp && in hash_netportnet4_data_equal() 67 ip1->ccmp == ip2->ccmp && in hash_netportnet4_data_equal() 68 ip1->port == ip2->port && in hash_netportnet4_data_equal() 69 ip1->proto == ip2->proto; in hash_netportnet4_data_equal() 302 ip2 = ntohl(h->next.ip[1]); in hash_netportnet4_uadt() 305 ip2 = ip2_from; in hash_netportnet4_uadt() 315 e.ip[1] = htonl(ip2); in hash_netportnet4_uadt() 321 ip2 = hash_netportnet4_range_to_cidr(ip2, in hash_netportnet4_uadt() 328 } while (ip2++ < ip2_to); in hash_netportnet4_uadt() 329 ip2 = ip2_from; in hash_netportnet4_uadt() [all …]
|
| A D | ip_set_hash_netnet.c | 61 const struct hash_netnet4_elem *ip2, in hash_netnet4_data_equal() argument 64 return ip1->ipcmp == ip2->ipcmp && in hash_netnet4_data_equal() 65 ip1->ccmp == ip2->ccmp; in hash_netnet4_data_equal() 253 ip2 = ntohl(h->next.ip[1]); in hash_netnet4_uadt() 255 ip2 = ip2_from; in hash_netnet4_uadt() 263 e.ip[1] = htonl(ip2); in hash_netnet4_uadt() 268 ip2 = ip_set_range_to_cidr(ip2, ip2_to, &e.cidr[1]); in hash_netnet4_uadt() 274 } while (ip2++ < ip2_to); in hash_netnet4_uadt() 275 ip2 = ip2_from; in hash_netnet4_uadt() 296 const struct hash_netnet6_elem *ip2, in hash_netnet6_data_equal() argument [all …]
|
| A D | ip_set_hash_netiface.c | 70 const struct hash_netiface4_elem *ip2, in hash_netiface4_data_equal() argument 73 return ip1->ip == ip2->ip && in hash_netiface4_data_equal() 74 ip1->cidr == ip2->cidr && in hash_netiface4_data_equal() 76 ip1->physdev == ip2->physdev && in hash_netiface4_data_equal() 78 strncmp(ip1->iface, ip2->iface, strlen(ip1->iface)) == 0 : in hash_netiface4_data_equal() 79 strcmp(ip1->iface, ip2->iface) == 0); in hash_netiface4_data_equal() 304 const struct hash_netiface6_elem *ip2, in hash_netiface6_data_equal() argument 307 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_netiface6_data_equal() 308 ip1->cidr == ip2->cidr && in hash_netiface6_data_equal() 310 ip1->physdev == ip2->physdev && in hash_netiface6_data_equal() [all …]
|
| A D | ip_set_hash_netport.c | 63 const struct hash_netport4_elem *ip2, in hash_netport4_data_equal() argument 66 return ip1->ip == ip2->ip && in hash_netport4_data_equal() 67 ip1->port == ip2->port && in hash_netport4_data_equal() 68 ip1->proto == ip2->proto && in hash_netport4_data_equal() 69 ip1->cidr == ip2->cidr; in hash_netport4_data_equal() 280 const struct hash_netport6_elem *ip2, in hash_netport6_data_equal() argument 283 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_netport6_data_equal() 284 ip1->port == ip2->port && in hash_netport6_data_equal() 285 ip1->proto == ip2->proto && in hash_netport6_data_equal() 286 ip1->cidr == ip2->cidr; in hash_netport6_data_equal()
|
| A D | ip_set_hash_ipmark.c | 48 const struct hash_ipmark4_elem *ip2, in hash_ipmark4_data_equal() argument 51 return ip1->ip == ip2->ip && in hash_ipmark4_data_equal() 52 ip1->mark == ip2->mark; in hash_ipmark4_data_equal() 180 const struct hash_ipmark6_elem *ip2, in hash_ipmark6_data_equal() argument 183 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipmark6_data_equal() 184 ip1->mark == ip2->mark; in hash_ipmark6_data_equal()
|
| A D | ip_set_hash_ipport.c | 56 const struct hash_ipport4_elem *ip2, in hash_ipport4_data_equal() argument 59 return ip1->ip == ip2->ip && in hash_ipport4_data_equal() 60 ip1->port == ip2->port && in hash_ipport4_data_equal() 61 ip1->proto == ip2->proto; in hash_ipport4_data_equal() 223 const struct hash_ipport6_elem *ip2, in hash_ipport6_data_equal() argument 226 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipport6_data_equal() 227 ip1->port == ip2->port && in hash_ipport6_data_equal() 228 ip1->proto == ip2->proto; in hash_ipport6_data_equal()
|
| A D | ip_set_hash_net.c | 53 const struct hash_net4_elem *ip2, in hash_net4_data_equal() argument 56 return ip1->ip == ip2->ip && in hash_net4_data_equal() 57 ip1->cidr == ip2->cidr; in hash_net4_data_equal() 224 const struct hash_net6_elem *ip2, in hash_net6_data_equal() argument 227 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_net6_data_equal() 228 ip1->cidr == ip2->cidr; in hash_net6_data_equal()
|
| A D | ip_set_hash_ip.c | 184 const struct hash_ip6_elem *ip2, in hash_ip6_data_equal() argument 187 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6); in hash_ip6_data_equal()
|
| /linux/tools/testing/selftests/wireguard/ |
| A D | netns.sh | 56 ip2 link del dev wg0 57 ip2 link del dev wg1 255 ip2 addr flush dev wg0 277 ip2 link del wg0 278 ip2 link del wg1 328 ip2 link set veths up 362 ip2 link set wg1 up 364 ip2 link del wg1 401 ip2 link del wg0 432 ip2 link set veth2 up [all …]
|
| /linux/lib/zstd/compress/ |
| A D | zstd_fast.c | 114 const BYTE* ip2; in ZSTD_compressBlock_fast_noDict_generic() local 156 ip2 = ip0 + step; in ZSTD_compressBlock_fast_noDict_generic() 157 ip3 = ip2 + 1; in ZSTD_compressBlock_fast_noDict_generic() 178 ip0 = ip2; in ZSTD_compressBlock_fast_noDict_generic() 206 hash1 = ZSTD_hashPtr(ip2, hlog, mls); in ZSTD_compressBlock_fast_noDict_generic() 210 ip1 = ip2; in ZSTD_compressBlock_fast_noDict_generic() 211 ip2 = ip3; in ZSTD_compressBlock_fast_noDict_generic() 235 hash1 = ZSTD_hashPtr(ip2, hlog, mls); in ZSTD_compressBlock_fast_noDict_generic() 239 ip1 = ip2; in ZSTD_compressBlock_fast_noDict_generic() 240 ip2 = ip0 + step; in ZSTD_compressBlock_fast_noDict_generic() [all …]
|
| /linux/fs/xfs/libxfs/ |
| A D | xfs_exchmaps.c | 146 ifp2 = xfs_ifork_ptr(req->ip2, whichfork); in xfs_exchmaps_check_forks() 966 if (req->blockcount != XFS_B_TO_FSB(mp, req->ip2->i_disk_size)) in xmi_can_exchange_reflink_flags() 984 xmi->xmi_ip2 = req->ip2; in xfs_exchmaps_init_intent() 998 xmi->xmi_isize1 = req->ip2->i_disk_size; in xfs_exchmaps_init_intent() 1005 if (xfs_is_reflink_inode(req->ip2)) in xfs_exchmaps_init_intent() 1081 error = xmi_next(req->ip2, bmap_flags, &irec2, &adj.right2); in xfs_exchmaps_estimate() 1121 if (req->ip1 == req->ip2) { in xfs_exchmaps_estimate() 1128 error = xmi_ensure_delta_nextents(req, req->ip2, d_nexts2); in xfs_exchmaps_estimate() 1222 xfs_assert_ilocked(req->ip2, XFS_ILOCK_EXCL); in xfs_exchange_mappings()
|
| A D | xfs_dir2.c | 1057 struct xfs_inode *ip2 = du2->ip; in xfs_dir_exchange_children() local 1064 error = xfs_dir_replace(tp, dp1, name1, ip2->i_ino, spaceres); in xfs_dir_exchange_children() 1081 if (S_ISDIR(VFS_I(ip2)->i_mode)) { in xfs_dir_exchange_children() 1082 error = xfs_dir_replace(tp, ip2, &xfs_name_dotdot, in xfs_dir_exchange_children() 1112 if (!S_ISDIR(VFS_I(ip2)->i_mode)) { in xfs_dir_exchange_children() 1135 xfs_trans_ichgtime(tp, ip2, ip2_flags); in xfs_dir_exchange_children() 1136 xfs_trans_log_inode(tp, ip2, XFS_ILOG_CORE); in xfs_dir_exchange_children() 1155 dp1, name1, ip2); in xfs_dir_exchange_children() 1169 xfs_dir_update_hook(dp2, ip2, -1, name2); in xfs_dir_exchange_children() 1170 xfs_dir_update_hook(dp1, ip2, 1, name1); in xfs_dir_exchange_children()
|
| A D | xfs_exchmaps.h | 52 struct xfs_inode *ip2; member
|
| /linux/fs/xfs/scrub/ |
| A D | tempfile.c | 521 req->ip2 = sc->ip; in xrep_tempexch_prep_request() 641 if (!XFS_IS_QUOTA_ON(tp->t_mountp) || req->ip1 == req->ip2 || in xrep_tempexch_reserve_quota() 642 (req->ip1->i_udquot == req->ip2->i_udquot && in xrep_tempexch_reserve_quota() 643 req->ip1->i_gdquot == req->ip2->i_gdquot && in xrep_tempexch_reserve_quota() 644 req->ip1->i_pdquot == req->ip2->i_pdquot)) in xrep_tempexch_reserve_quota() 666 return xfs_trans_reserve_quota_nblks(tp, req->ip2, in xrep_tempexch_reserve_quota()
|
| /linux/drivers/net/wireguard/selftest/ |
| A D | allowedips.c | 26 u8 ip1[16], ip2[16], cidr1, cidr2; in print_node() local 51 wg_allowedips_read_node(rcu_dereference_raw(node->bit[0]), ip2, &cidr2); in print_node() 52 printk(fmt_connection, ip1, cidr1, ip2, cidr2); in print_node() 55 wg_allowedips_read_node(rcu_dereference_raw(node->bit[1]), ip2, &cidr2); in print_node() 56 printk(fmt_connection, ip1, cidr1, ip2, cidr2); in print_node()
|