Searched refs:ip1 (Results 1 - 25 of 29) sorted by relevance

12

/linux-master/tools/testing/selftests/net/forwarding/
H A Dmirror_gre_lib.sh33 local ip1=$1; shift
40 "$backward_type" "$ip1" "$ip2"
54 local ip1=$1; shift
62 "$backward_type" "$ip1" "$ip2"
67 mirror_test v$h1 $ip1 $ip2 $h3 77 10
105 local ip1=$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 Dmirror_lib.sh63 local ip1=$1; shift
67 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect
68 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect
88 local ip1=$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
119 local ip1=$1; shift
126 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect
127 mirror_test v$h2 $ip2 $ip1
[all...]
H A Dvxlan_asymmetric_ipv6.sh400 local ip1=$1; shift
409 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \
/linux-master/fs/xfs/
H A Dxfs_exchrange.c31 struct xfs_inode *ip1,
34 if (ip1 != ip2)
35 xfs_lock_two_inodes(ip1, XFS_ILOCK_EXCL,
38 xfs_ilock(ip1, XFS_ILOCK_EXCL);
40 xfs_trans_ijoin(tp, ip1, 0);
41 if (ip2 != ip1)
50 struct xfs_inode *ip1,
53 if (ip2 != ip1)
55 xfs_iunlock(ip1, XFS_ILOCK_EXCL);
69 xfs_exchrange_ilock(NULL, req->ip1, re
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
660 struct xfs_inode *ip1 = XFS_I(inode1); local
[all...]
H A Dxfs_exchrange.h32 void xfs_exchrange_ilock(struct xfs_trans *tp, struct xfs_inode *ip1,
34 void xfs_exchrange_iunlock(struct xfs_inode *ip1, struct xfs_inode *ip2);
H A Dxfs_exchmaps_item.c366 struct xfs_inode *ip1, *ip2; local
378 &ip1);
393 req->ip1 = ip1;
400 xfs_exchrange_ilock(NULL, ip1, ip2);
402 xfs_exchrange_iunlock(ip1, ip2);
406 *ipp1 = ip1;
415 xfs_irele(ip1);
416 req->ip2 = req->ip1 = NULL;
433 struct xfs_inode *ip1, *ip local
[all...]
H A Dxfs_inode.c530 struct xfs_inode *ip1,
542 ASSERT(ip0->i_ino != ip1->i_ino);
544 if (ip0->i_ino > ip1->i_ino) {
545 swap(ip0, ip1);
559 if (!xfs_ilock_nowait(ip1, xfs_lock_inumorder(ip1_mode, 1))) {
566 xfs_ilock(ip1, xfs_lock_inumorder(ip1_mode, 1));
2915 struct xfs_inode *ip1, /* in: inode of old entry */
2936 i_tab[i++] = ip1;
2991 struct xfs_inode *ip1,
3010 error = xfs_dir_replace(tp, dp2, name2, ip1
527 xfs_lock_two_inodes( struct xfs_inode *ip0, uint ip0_mode, struct xfs_inode *ip1, uint ip1_mode) argument
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 Dxfs_inode.h557 struct xfs_inode *ip1, uint ip1_mode);
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/tools/testing/selftests/wireguard/
H A Dnetns.sh41 ip1() { pretty 1 "ip $*"; ip -n $netns1 "$@"; } function
54 ip1 link del dev wg0
55 ip1 link del dev wg1
94 ip1 addr add 192.168.241.1/24 dev wg0
95 ip1 addr add fd00::1/112 dev wg0
113 ip1 link set up dev wg0
159 [[ $(ip1 link show dev wg0) =~ mtu\ ([0-9]+) ]] && orig_mtu="${BASH_REMATCH[1]}"
169 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip1 -stats link show dev wg0)
179 ip1 link set wg0 mtu $big_mtu
183 ip1 lin
[all...]
/linux-master/net/netfilter/ipset/
H A Dip_set_hash_netiface.c69 hash_netiface4_data_equal(const struct hash_netiface4_elem *ip1, argument
73 return ip1->ip == ip2->ip &&
74 ip1->cidr == ip2->cidr &&
76 ip1->physdev == ip2->physdev &&
77 (ip1->wildcard ?
78 strncmp(ip1->iface, ip2->iface, strlen(ip1->iface)) == 0 :
79 strcmp(ip1->iface, ip2->iface) == 0);
303 hash_netiface6_data_equal(const struct hash_netiface6_elem *ip1, argument
307 return ipv6_addr_equal(&ip1
[all...]
H A Dip_set_hash_ipportip.c51 hash_ipportip4_data_equal(const struct hash_ipportip4_elem *ip1, argument
55 return ip1->ip == ip2->ip &&
56 ip1->ip2 == ip2->ip2 &&
57 ip1->port == ip2->port &&
58 ip1->proto == ip2->proto;
219 hash_ipportip6_data_equal(const struct hash_ipportip6_elem *ip1, argument
223 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
224 ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) &&
225 ip1->port == ip2->port &&
226 ip1
[all...]
H A Dip_set_hash_ipportnet.c64 hash_ipportnet4_data_equal(const struct hash_ipportnet4_elem *ip1, argument
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;
319 hash_ipportnet6_data_equal(const struct hash_ipportnet6_elem *ip1, argument
323 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
324 ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) &&
325 ip1
[all...]
H A Dip_set_hash_ipmark.c47 hash_ipmark4_data_equal(const struct hash_ipmark4_elem *ip1, argument
51 return ip1->ip == ip2->ip &&
52 ip1->mark == ip2->mark;
179 hash_ipmark6_data_equal(const struct hash_ipmark6_elem *ip1, argument
183 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
184 ip1->mark == ip2->mark;
H A Dip_set_hash_ipport.c55 hash_ipport4_data_equal(const struct hash_ipport4_elem *ip1, argument
59 return ip1->ip == ip2->ip &&
60 ip1->port == ip2->port &&
61 ip1->proto == ip2->proto;
222 hash_ipport6_data_equal(const struct hash_ipport6_elem *ip1, argument
226 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
227 ip1->port == ip2->port &&
228 ip1->proto == ip2->proto;
H A Dip_set_hash_netportnet.c62 hash_netportnet4_data_equal(const struct hash_netportnet4_elem *ip1, argument
66 return ip1->ipcmp == ip2->ipcmp &&
67 ip1->ccmp == ip2->ccmp &&
68 ip1->port == ip2->port &&
69 ip1->proto == ip2->proto;
353 hash_netportnet6_data_equal(const struct hash_netportnet6_elem *ip1, argument
357 return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) &&
358 ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) &&
359 ip1->ccmp == ip2->ccmp &&
360 ip1
[all...]
H A Dip_set_hash_netport.c62 hash_netport4_data_equal(const struct hash_netport4_elem *ip1, argument
66 return ip1->ip == ip2->ip &&
67 ip1->port == ip2->port &&
68 ip1->proto == ip2->proto &&
69 ip1->cidr == ip2->cidr;
279 hash_netport6_data_equal(const struct hash_netport6_elem *ip1, argument
283 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
284 ip1->port == ip2->port &&
285 ip1->proto == ip2->proto &&
286 ip1
[all...]
H A Dip_set_hash_net.c52 hash_net4_data_equal(const struct hash_net4_elem *ip1, argument
56 return ip1->ip == ip2->ip &&
57 ip1->cidr == ip2->cidr;
223 hash_net6_data_equal(const struct hash_net6_elem *ip1, argument
227 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) &&
228 ip1->cidr == ip2->cidr;
H A Dip_set_hash_netnet.c60 hash_netnet4_data_equal(const struct hash_netnet4_elem *ip1, argument
64 return ip1->ipcmp == ip2->ipcmp &&
65 ip1->ccmp == ip2->ccmp;
295 hash_netnet6_data_equal(const struct hash_netnet6_elem *ip1, argument
299 return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) &&
300 ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) &&
301 ip1->ccmp == ip2->ccmp;
H A Dip_set_hash_ip.c183 hash_ip6_data_equal(const struct hash_ip6_elem *ip1, argument
187 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6);
/linux-master/fs/xfs/libxfs/
H A Dxfs_exchmaps.c145 ifp1 = xfs_ifork_ptr(req->ip1, whichfork);
664 if (XFS_IS_REALTIME_INODE(req->ip1))
677 struct xfs_mount *mp = req->ip1->i_mount;
958 struct xfs_mount *mp = req->ip1->i_mount;
964 if (req->blockcount != XFS_B_TO_FSB(mp, req->ip1->i_disk_size))
983 xmi->xmi_ip1 = req->ip1;
999 xmi->xmi_isize2 = req->ip1->i_disk_size;
1003 if (xfs_is_reflink_inode(req->ip1))
1077 error = xmi_next(req->ip1, bmap_flags, &irec1, &adj.right1);
1086 d_nexts1 += xmi_delta_nextents_step(req->ip1
[all...]
H A Dxfs_exchmaps.h51 struct xfs_inode *ip1; member in struct:xfs_exchmaps_req
68 * Data device blocks to be moved out of ip1, and free space needed to
79 /* rt blocks to be moved out of ip1. */
/linux-master/lib/zstd/compress/
H A Dzstd_double_fast.c83 size_t hl1; /* the long hash at ip1 */
86 U32 idxl1; /* the long match index for ip1 */
90 const BYTE* matchl1; /* the long match for ip1 */
93 const BYTE* ip1; /* the next position */ local
111 ip1 = ip + step;
113 if (ip1 > ilimit) {
138 hl1 = ZSTD_hashPtr(ip1, hBitsL, 8);
160 if (ip1 >= nextStep) {
161 PREFETCH_L1(ip1 + 64);
162 PREFETCH_L1(ip1
[all...]
H A Dzstd_fast.c113 const BYTE* ip1; local
123 size_t hash1; /* hash for ip1 */
131 /* ip0 and ip1 are always adjacent. The targetLength skipping and
134 * between pairs of positions, from ip0 to ip2 or ip1 to ip3. */
155 ip1 = ip0 + 1;
164 hash1 = ZSTD_hashPtr(ip1, hlog, mls);
209 ip0 = ip1;
210 ip1 = ip2;
238 ip0 = ip1;
239 ip1
[all...]
/linux-master/fs/xfs/scrub/
H A Dtempfile.c519 req->ip1 = sc->tempip;
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))
657 error = xfs_trans_reserve_quota_nblks(tp, req->ip1,
/linux-master/drivers/net/wireguard/selftest/
H A Dallowedips.c26 u8 ip1[16], ip2[16], cidr1, cidr2; local
48 wg_allowedips_read_node(node, ip1, &cidr1);
49 printk(fmt_declaration, ip1, cidr1, style, color);
52 printk(fmt_connection, ip1, cidr1, ip2, cidr2);
56 printk(fmt_connection, ip1, cidr1, ip2, cidr2);

Completed in 856 milliseconds

12