Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/sunrpc/
Dclnt.h196 const struct sockaddr *sap2) in __rpc_cmp_addr4() argument
199 const struct sockaddr_in *sin2 = (const struct sockaddr_in *)sap2; in __rpc_cmp_addr4()
217 const struct sockaddr *sap2) in __rpc_cmp_addr6() argument
220 const struct sockaddr_in6 *sin2 = (const struct sockaddr_in6 *)sap2; in __rpc_cmp_addr6()
236 const struct sockaddr *sap2) in __rpc_cmp_addr6() argument
257 const struct sockaddr *sap2) in rpc_cmp_addr() argument
259 if (sap1->sa_family == sap2->sa_family) { in rpc_cmp_addr()
262 return __rpc_cmp_addr4(sap1, sap2); in rpc_cmp_addr()
264 return __rpc_cmp_addr6(sap1, sap2); in rpc_cmp_addr()
/linux-2.6.39/fs/nfs/
Dsuper.c2124 struct sockaddr *sap1, *sap2; in nfs_compare_super_address() local
2127 sap2 = (struct sockaddr *)&server2->nfs_client->cl_addr; in nfs_compare_super_address()
2129 if (sap1->sa_family != sap2->sa_family) in nfs_compare_super_address()
2135 struct sockaddr_in *sin2 = (struct sockaddr_in *)sap2; in nfs_compare_super_address()
2144 struct sockaddr_in6 *sin2 = (struct sockaddr_in6 *)sap2; in nfs_compare_super_address()