/fs/nfs/ |
D | nfs4client.c | 249 struct sockaddr *sap = (struct sockaddr *)&cb_addr; in nfs4_alloc_client() 411 struct sockaddr *clp_sap = (struct sockaddr *)&clp_addr; in nfs4_add_trunk() 412 struct sockaddr *old_sap = (struct sockaddr *)&old_addr; in nfs4_add_trunk() 826 static bool nfs4_cb_match_client(const struct sockaddr *addr, in nfs4_cb_match_client() 829 struct sockaddr *clap = (struct sockaddr *)&clp->cl_addr; in nfs4_cb_match_client() 855 nfs4_find_client_sessionid(struct net *net, const struct sockaddr *addr, in nfs4_find_client_sessionid() 885 nfs4_find_client_sessionid(struct net *net, const struct sockaddr *addr, in nfs4_find_client_sessionid() 937 server->port = rpc_get_port((struct sockaddr *)addr); in nfs4_set_client() 997 if (rpc_ntop((struct sockaddr *)ds_addr, buf, sizeof(buf)) <= 0) in nfs4_set_ds_client() 1339 .dstaddr = (struct sockaddr *)sap, in nfs4_update_server() [all …]
|
D | pnfs_nfs.c | 581 same_sockaddr(struct sockaddr *addr1, struct sockaddr *addr2) in same_sockaddr() 632 struct sockaddr *sa1, *sa2; in _same_data_server_addrs_locked() 636 sa1 = (struct sockaddr *)&da1->da_addr; in _same_data_server_addrs_locked() 639 sa2 = (struct sockaddr *)&da2->da_addr; in _same_data_server_addrs_locked() 871 .dstaddr = (struct sockaddr *)&da->da_addr, in _nfs4_pnfs_v3_ds_connect() 931 .dstaddr = (struct sockaddr *)&da->da_addr, in _nfs4_pnfs_v4_ds_connect() 950 struct sockaddr *addr = in _nfs4_pnfs_v4_ds_connect() 951 (struct sockaddr *)&da->da_addr; in _nfs4_pnfs_v4_ds_connect() 1136 if (!rpc_pton(net, buf, portstr-buf, (struct sockaddr *)&da->da_addr, in nfs4_decode_mp_ds_addr()
|
D | super.c | 342 struct sockaddr *sap = (struct sockaddr *) &nfss->mountd_address; in nfs_show_mountd_netid() 374 struct sockaddr *sap = (struct sockaddr *)&nfss->mountd_address; in nfs_show_mountd_options() 997 !rpc_cmp_addr((struct sockaddr *)&ctx->nfs_server.address, in nfs_compare_remount_data() 998 (struct sockaddr *)&nfss->nfs_client->cl_addr)) in nfs_compare_remount_data() 1145 struct sockaddr *sap1, *sap2; in nfs_compare_super_address() 1152 sap1 = (struct sockaddr *)&server1->nfs_client->cl_addr; in nfs_compare_super_address() 1153 sap2 = (struct sockaddr *)&server2->nfs_client->cl_addr; in nfs_compare_super_address()
|
D | dns_resolve.c | 23 struct sockaddr *sa = (struct sockaddr *)ss; in nfs_dns_resolve_name() 194 rpc_ntop((struct sockaddr *)&item->addr, buf, sizeof(buf)); in nfs_dns_show() 245 (struct sockaddr *)&key.addr, in nfs_dns_parse()
|
D | nfs4namespace.c | 170 struct sockaddr *sa = (struct sockaddr *)ss; in nfs_parse_server_name() 512 rpc_set_port((struct sockaddr *)sap, NFS_PORT); in nfs4_try_replacing_one_location()
|
D | internal.h | 118 struct sockaddr address; 130 struct sockaddr address; 223 nfs4_find_client_sessionid(struct net *, const struct sockaddr *, 918 rpc_set_port((struct sockaddr *)sap, *port); in nfs_set_port()
|
D | client.c | 283 const struct sockaddr *sap = (struct sockaddr *)data->addr; in nfs_match_client() 289 const struct sockaddr *clap = (struct sockaddr *)&clp->cl_addr; in nfs_match_client() 510 .address = (struct sockaddr *)&clp->cl_addr, in nfs_create_rpc_client() 573 .address = (struct sockaddr *)&clp->cl_addr, in nfs_start_lockd()
|
D | nfs3client.c | 109 if (rpc_ntop((struct sockaddr *)ds_addr, buf, sizeof(buf)) <= 0) in nfs3_set_ds_client()
|
D | mount_clnt.c | 161 .address = (struct sockaddr *)info->sap, in nfs_mount() 248 .address = (struct sockaddr *)info->sap, in nfs_umount()
|
/fs/lockd/ |
D | mon.c | 63 static inline struct sockaddr *nsm_addr(const struct nsm_handle *nsm) in nsm_addr() 65 return (struct sockaddr *)&nsm->sm_addr; in nsm_addr() 77 .address = (struct sockaddr *)&sin, in nsm_create() 223 const struct sockaddr *sap) in nsm_lookup_addr() 272 static struct nsm_handle *nsm_create_handle(const struct sockaddr *sap, in nsm_create_handle() 318 const struct sockaddr *sap, in nsm_get_handle()
|
D | host.c | 55 const struct sockaddr *sap; /* address to search for */ 75 static unsigned int __nlm_hash_addr4(const struct sockaddr *sap) in __nlm_hash_addr4() 81 static unsigned int __nlm_hash_addr6(const struct sockaddr *sap) in __nlm_hash_addr6() 91 static unsigned int nlm_hash_address(const struct sockaddr *sap) in nlm_hash_address() 216 struct nlm_host *nlmclnt_lookup_host(const struct sockaddr *sap, in nlmclnt_lookup_host() 335 struct sockaddr *src_sap = svc_daddr(rqstp); in nlmsvc_lookup_host()
|
D | trace.h | 51 const struct sockaddr *addr, 90 const struct sockaddr *addr, \
|
D | clntproc.c | 457 (const struct sockaddr *)&req->a_host->h_addr, in nlmclnt_test() 614 (const struct sockaddr *)&req->a_host->h_addr, in nlmclnt_lock() 621 (const struct sockaddr *)&req->a_host->h_addr, in nlmclnt_lock() 719 (const struct sockaddr *)&req->a_host->h_addr, in nlmclnt_unlock()
|
/fs/smb/server/ |
D | transport_ipc.h | 19 struct sockaddr; 25 struct sockaddr *peer_addr);
|
D | transport_tcp.c | 163 static unsigned short ksmbd_tcp_get_port(const struct sockaddr *sa) in ksmbd_tcp_get_port() 185 struct sockaddr *csin; in ksmbd_tcp_new_connection() 471 ret = kernel_bind(ksmbd_socket, (struct sockaddr *)&sin, in create_socket() 474 ret = kernel_bind(ksmbd_socket, (struct sockaddr *)&sin6, in create_socket()
|
/fs/smb/client/ |
D | sess.c | 34 struct sockaddr_in *i4 = (struct sockaddr_in *)&iface->sockaddr; in is_server_using_iface() 35 struct sockaddr_in6 *i6 = (struct sockaddr_in6 *)&iface->sockaddr; in is_server_using_iface() 39 if (server->dstaddr.ss_family != iface->sockaddr.ss_family) in is_server_using_iface() 272 &iface->sockaddr, in cifs_try_adding_channels() 283 &iface->sockaddr); in cifs_try_adding_channels() 411 if (!cifs_match_ipaddr((struct sockaddr *) &ss, in cifs_chan_update_iface() 412 (struct sockaddr *) &iface->sockaddr)) in cifs_chan_update_iface() 450 &old_iface->sockaddr); in cifs_chan_update_iface() 460 &old_iface->sockaddr, in cifs_chan_update_iface() 461 &iface->sockaddr); in cifs_chan_update_iface() [all …]
|
D | smbdirect.h | 267 struct TCP_Server_Info *server, struct sockaddr *dstaddr); 312 struct TCP_Server_Info *server, struct sockaddr *dstaddr) {return NULL;} in smbd_get_connection()
|
D | cifsproto.h | 92 extern int cifs_ipaddr_cmp(struct sockaddr *srcaddr, struct sockaddr *rhs); 93 extern bool cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs); 164 extern int cifs_convert_address(struct sockaddr *dst, const char *src, int len); 165 extern void cifs_set_port(struct sockaddr *addr, const unsigned short int port);
|
D | dns_resolve.h | 17 int dns_resolve_server_name_to_ip(const char *unc, struct sockaddr *ip_addr, time64_t *expiry);
|
D | fscache.c | 40 const struct sockaddr *sa = (struct sockaddr *)&server->dstaddr; in cifs_fscache_get_super_cookie()
|
D | connect.c | 100 rc = dns_resolve_server_name_to_ip(unc, (struct sockaddr *)&ss, NULL); in reconn_set_ipaddr_from_hostname() 843 cifs_set_port((struct sockaddr *)&server->dstaddr, CIFS_PORT); in is_smb_response() 1358 cifs_ipaddr_cmp(struct sockaddr *srcaddr, struct sockaddr *rhs) in cifs_ipaddr_cmp() 1412 cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs) in cifs_match_ipaddr() 1442 match_port(struct TCP_Server_Info *server, struct sockaddr *addr) in match_port() 1475 static bool match_server_address(struct TCP_Server_Info *server, struct sockaddr *addr) in match_server_address() 1477 if (!cifs_match_ipaddr(addr, (struct sockaddr *)&server->dstaddr)) in match_server_address() 1511 struct sockaddr *addr = (struct sockaddr *)&ctx->dstaddr; in match_server() 1536 if (!cifs_match_ipaddr((struct sockaddr *)&ctx->srcaddr, in match_server() 1537 (struct sockaddr *)&server->srcaddr)) in match_server() [all …]
|
D | dns_resolve.c | 32 dns_resolve_server_name_to_ip(const char *unc, struct sockaddr *ip_addr, time64_t *expiry) in dns_resolve_server_name_to_ip()
|
D | dfs.c | 49 rc = dns_resolve_server_name_to_ip(path, (struct sockaddr *)&ctx->dstaddr, NULL); in dfs_parse_target_referral() 270 struct sockaddr *addr = (struct sockaddr *)&ctx->dstaddr; in update_fs_context_dstaddr()
|
/fs/dlm/ |
D | lowcomms.c | 164 struct sockaddr *addr, int addr_len); 360 struct sockaddr *sa_out, bool try_new_addr, in nodeid_to_addr() 992 len = newsock->ops->getname(newsock, (struct sockaddr *)&peeraddr, 2); in accept_from_sock() 1123 struct sockaddr *addr = (struct sockaddr *)&localaddr; in sctp_bind_addrs() 1582 result = dlm_proto_ops->connect(con, sock, (struct sockaddr *)&addr, in dlm_connect() 1808 result = kernel_bind(sock, (struct sockaddr *)&src_addr, in dlm_tcp_bind() 1819 struct sockaddr *addr, int addr_len) in dlm_tcp_connect() 1853 return kernel_bind(sock, (struct sockaddr *)&dlm_local_addr[0], in dlm_tcp_listen_bind() 1874 struct sockaddr *addr, int addr_len) in dlm_sctp_connect()
|
/fs/nfsd/ |
D | flexfilelayout.c | 101 rpc_ntop((struct sockaddr *)&rqstp->rq_daddr, in nfsd4_ff_proc_getdeviceinfo()
|