Home
last modified time | relevance | path

Searched refs:sap1 (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/include/linux/sunrpc/
Daddr.h50 static inline bool rpc_cmp_addr4(const struct sockaddr *sap1, in rpc_cmp_addr4() argument
53 const struct sockaddr_in *sin1 = (const struct sockaddr_in *)sap1; in rpc_cmp_addr4()
71 static inline bool rpc_cmp_addr6(const struct sockaddr *sap1, in rpc_cmp_addr6() argument
74 const struct sockaddr_in6 *sin1 = (const struct sockaddr_in6 *)sap1; in rpc_cmp_addr6()
97 static inline bool rpc_cmp_addr6(const struct sockaddr *sap1, in rpc_cmp_addr6() argument
120 static inline bool rpc_cmp_addr(const struct sockaddr *sap1, in rpc_cmp_addr() argument
123 if (sap1->sa_family == sap2->sa_family) { in rpc_cmp_addr()
124 switch (sap1->sa_family) { in rpc_cmp_addr()
126 return rpc_cmp_addr4(sap1, sap2); in rpc_cmp_addr()
128 return rpc_cmp_addr6(sap1, sap2); in rpc_cmp_addr()
[all …]
/linux-4.19.296/fs/nfs/
Dsuper.c2449 struct sockaddr *sap1, *sap2; in nfs_compare_super_address() local
2456 sap1 = (struct sockaddr *)&server1->nfs_client->cl_addr; in nfs_compare_super_address()
2459 if (sap1->sa_family != sap2->sa_family) in nfs_compare_super_address()
2462 switch (sap1->sa_family) { in nfs_compare_super_address()
2464 struct sockaddr_in *sin1 = (struct sockaddr_in *)sap1; in nfs_compare_super_address()
2473 struct sockaddr_in6 *sin1 = (struct sockaddr_in6 *)sap1; in nfs_compare_super_address()