/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 | svc.c | 315 (struct sockaddr *)&sin); in lockd_inetaddr_event() 346 (struct sockaddr *)&sin6); in lockd_inet6addr_event()
|
/fs/nfs/ |
D | nfs4client.c | 247 struct sockaddr *sap = (struct sockaddr *)&cb_addr; in nfs4_alloc_client() 792 static bool nfs4_cb_match_client(const struct sockaddr *addr, in nfs4_cb_match_client() 795 struct sockaddr *clap = (struct sockaddr *)&clp->cl_addr; in nfs4_cb_match_client() 821 nfs4_find_client_sessionid(struct net *net, const struct sockaddr *addr, in nfs4_find_client_sessionid() 851 nfs4_find_client_sessionid(struct net *net, const struct sockaddr *addr, in nfs4_find_client_sessionid() 863 const struct sockaddr *addr, in nfs4_set_client() 931 const struct sockaddr *ds_addr, int ds_addrlen, in nfs4_set_ds_client() 1294 struct sockaddr *sap, size_t salen, struct net *net) in nfs4_update_server() 1307 struct sockaddr *localaddr = (struct sockaddr *)&address; in nfs4_update_server()
|
D | internal.h | 78 const struct sockaddr *addr; /* Address of the server */ 118 struct sockaddr address; 130 struct sockaddr address; 186 struct sockaddr *sap; 222 nfs4_find_client_sessionid(struct net *, const struct sockaddr *, 228 struct sockaddr *sap, size_t salen, 240 const struct sockaddr *ds_addr, 248 const struct sockaddr *ds_addr, int ds_addrlen, 845 static inline void nfs_set_port(struct sockaddr *sap, int *port, in nfs_set_port()
|
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() 810 const struct sockaddr *ds_addr, 856 .dstaddr = (struct sockaddr *)&da->da_addr, in _nfs4_pnfs_v3_ds_connect() 866 (struct sockaddr *)&da->da_addr, in _nfs4_pnfs_v3_ds_connect() 907 .dstaddr = (struct sockaddr *)&da->da_addr, in _nfs4_pnfs_v4_ds_connect() 931 (struct sockaddr *)&da->da_addr, in _nfs4_pnfs_v4_ds_connect() 1098 if (!rpc_pton(net, buf, portstr-buf, (struct sockaddr *)&da->da_addr, in nfs4_decode_mp_ds_addr()
|
D | super.c | 330 struct sockaddr *sap = (struct sockaddr *) &nfss->mountd_address; in nfs_show_mountd_netid() 362 struct sockaddr *sap = (struct sockaddr *)&nfss->mountd_address; in nfs_show_mountd_options() 808 .sap = (struct sockaddr *) in nfs_request_mount() 978 !rpc_cmp_addr((struct sockaddr *)&ctx->nfs_server.address, in nfs_compare_remount_data() 979 (struct sockaddr *)&nfss->nfs_client->cl_addr)) in nfs_compare_remount_data() 1119 struct sockaddr *sap1, *sap2; in nfs_compare_super_address() 1126 sap1 = (struct sockaddr *)&server1->nfs_client->cl_addr; in nfs_compare_super_address() 1127 sap2 = (struct sockaddr *)&server2->nfs_client->cl_addr; in nfs_compare_super_address()
|
D | dns_resolve.c | 19 struct sockaddr *sa, size_t salen) in nfs_dns_resolve_name() 195 rpc_ntop((struct sockaddr *)&item->addr, buf, sizeof(buf)); in nfs_dns_show() 246 (struct sockaddr *)&key.addr, in nfs_dns_parse() 344 size_t namelen, struct sockaddr *sa, size_t salen) in nfs_dns_resolve_name()
|
D | dns_resolve.h | 35 size_t namelen, struct sockaddr *sa, size_t salen);
|
D | fs_context.c | 254 static int nfs_verify_server_address(struct sockaddr *addr) in nfs_verify_server_address() 894 struct sockaddr *sap = (struct sockaddr *)&ctx->nfs_server.address; in nfs23_parse_monolithic() 1121 struct sockaddr *sap = (struct sockaddr *)&ctx->nfs_server.address; in nfs4_parse_monolithic() 1237 struct sockaddr *sap = (struct sockaddr *)&ctx->nfs_server.address; in nfs_fs_context_validate()
|
D | client.c | 286 const struct sockaddr *sap = data->addr; in nfs_match_client() 292 const struct sockaddr *clap = (struct sockaddr *)&clp->cl_addr; in nfs_match_client() 509 .address = (struct sockaddr *)&clp->cl_addr, in nfs_create_rpc_client() 567 .address = (struct sockaddr *)&clp->cl_addr, in nfs_start_lockd() 673 .addr = (const struct sockaddr *)&ctx->nfs_server.address, in nfs_init_server()
|
D | nfs3client.c | 81 const struct sockaddr *ds_addr, int ds_addrlen, in nfs3_set_ds_client()
|
D | nfs4namespace.c | 167 size_t nfs_parse_server_name(char *string, size_t len, struct sockaddr *sa, in nfs_parse_server_name() 483 struct sockaddr *sap; in nfs4_try_replacing_one_location()
|
D | callback.h | 99 struct sockaddr *csa_addr;
|
/fs/cifs/ |
D | smbdirect.h | 263 struct TCP_Server_Info *server, struct sockaddr *dstaddr); 309 struct TCP_Server_Info *server, struct sockaddr *dstaddr) {return NULL;} in smbd_get_connection()
|
D | dns_resolve.c | 75 rc = cifs_convert_address((struct sockaddr *)&ss, hostname, len); in dns_resolve_server_name_to_ip()
|
D | cifsproto.h | 92 extern bool cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs); 154 extern int cifs_convert_address(struct sockaddr *dst, const char *src, int len); 155 extern void cifs_set_port(struct sockaddr *addr, const unsigned short int port);
|
D | connect.c | 324 rc = cifs_convert_address((struct sockaddr *)&server->dstaddr, ipaddr, in reconn_set_ipaddr() 813 cifs_set_port((struct sockaddr *)&server->dstaddr, CIFS_PORT); in is_smb_response() 1407 struct sockaddr *dstaddr = (struct sockaddr *)&vol->dstaddr; in cifs_parse_mount_options() 2081 (struct sockaddr *)&vol->srcaddr, in cifs_parse_mount_options() 2295 cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs) in cifs_match_ipaddr() 2322 match_port(struct TCP_Server_Info *server, struct sockaddr *addr) in match_port() 2356 match_address(struct TCP_Server_Info *server, struct sockaddr *addr, in match_address() 2357 struct sockaddr *srcaddr) in match_address() 2386 if (!cifs_match_ipaddr(srcaddr, (struct sockaddr *)&server->srcaddr)) in match_address() 2417 struct sockaddr *addr = (struct sockaddr *)&vol->dstaddr; in match_server() [all …]
|
D | sess.c | 40 struct sockaddr_in *i4 = (struct sockaddr_in *)&iface->sockaddr; in is_server_using_iface() 41 struct sockaddr_in6 *i6 = (struct sockaddr_in6 *)&iface->sockaddr; in is_server_using_iface() 45 if (server->dstaddr.ss_family != iface->sockaddr.ss_family) in is_server_using_iface() 182 struct sockaddr_in *ipv4 = (struct sockaddr_in *)&iface->sockaddr; in cifs_ses_add_channel() 183 struct sockaddr_in6 *ipv6 = (struct sockaddr_in6 *)&iface->sockaddr; in cifs_ses_add_channel() 187 if (iface->sockaddr.ss_family == AF_INET) in cifs_ses_add_channel() 248 memcpy(&vol.dstaddr, &iface->sockaddr, sizeof(struct sockaddr_storage)); in cifs_ses_add_channel()
|
D | fscache.c | 45 const struct sockaddr *sa = (struct sockaddr *) &server->dstaddr; in cifs_fscache_get_client_cookie()
|
D | cifs_debug.c | 148 struct sockaddr_in *ipv4 = (struct sockaddr_in *)&iface->sockaddr; in cifs_dump_iface() 149 struct sockaddr_in6 *ipv6 = (struct sockaddr_in6 *)&iface->sockaddr; in cifs_dump_iface() 158 if (iface->sockaddr.ss_family == AF_INET) in cifs_dump_iface() 160 else if (iface->sockaddr.ss_family == AF_INET6) in cifs_dump_iface()
|
/fs/dlm/ |
D | lowcomms.c | 289 struct sockaddr *sa_out, bool try_new_addr) in nodeid_to_addr() 794 len = newsock->ops->getname(newsock, (struct sockaddr *)&peeraddr, 2); in accept_from_sock() 932 struct sockaddr *addr = (struct sockaddr *)&localaddr; in sctp_bind_addrs() 1020 result = sock->ops->connect(sock, (struct sockaddr *)&daddr, addr_len, in sctp_connect_to_sock() 1103 result = sock->ops->bind(sock, (struct sockaddr *) &src_addr, in tcp_connect_to_sock() 1117 result = sock->ops->connect(sock, (struct sockaddr *)&saddr, addr_len, in tcp_connect_to_sock() 1188 result = sock->ops->bind(sock, (struct sockaddr *) saddr, addr_len); in tcp_create_listen_sock()
|
/fs/nfsd/ |
D | flexfilelayout.c | 100 rpc_ntop((struct sockaddr *)&rqstp->rq_daddr, in nfsd4_ff_proc_getdeviceinfo()
|
D | fault_inject.c | 67 size = rpc_pton(net, write_buf, size, (struct sockaddr *)&sa, sizeof(sa)); in fault_inject_write()
|
/fs/afs/ |
D | rxrpc.c | 64 ret = kernel_bind(socket, (struct sockaddr *) &srx, sizeof(srx)); in afs_open_socket() 67 ret = kernel_bind(socket, (struct sockaddr *) &srx, sizeof(srx)); in afs_open_socket() 73 ret = kernel_bind(socket, (struct sockaddr *) &srx, sizeof(srx)); in afs_open_socket()
|