/fs/nfsd/ |
D | flexfilelayout.c | 104 struct sockaddr_in *sin; in nfsd4_ff_proc_getdeviceinfo() local 106 sin = (struct sockaddr_in *)&rqstp->rq_daddr; in nfsd4_ff_proc_getdeviceinfo() 107 port = ntohs(sin->sin_port); in nfsd4_ff_proc_getdeviceinfo()
|
D | nfssvc.c | 482 struct sockaddr_in sin; in nfsd_inetaddr_event() local 490 sin.sin_family = AF_INET; in nfsd_inetaddr_event() 491 sin.sin_addr.s_addr = ifa->ifa_local; in nfsd_inetaddr_event() 492 svc_age_temp_xprts_now(nn->nfsd_serv, (struct sockaddr *)&sin); in nfsd_inetaddr_event()
|
D | nfsd.h | 423 struct sockaddr_in *sin = (struct sockaddr_in *)addr; in nfsd4_set_netaddr() local 430 port = ntohs(sin->sin_port); in nfsd4_set_netaddr()
|
D | nfs4xdr.c | 1843 struct nfsd4_secinfo_no_name *sin = &u->secinfo_no_name; in nfsd4_decode_secinfo_no_name() local 1844 if (xdr_stream_decode_u32(argp->xdr, &sin->sin_style) < 0) in nfsd4_decode_secinfo_no_name() 1847 sin->sin_exp = NULL; in nfsd4_decode_secinfo_no_name()
|
/fs/afs/ |
D | addr_list.c | 284 struct sockaddr_in *a = &alist->addrs[i].transport.sin; in afs_merge_fs_addr4() 304 srx->transport_len = sizeof(srx->transport.sin); in afs_merge_fs_addr4() 305 srx->transport.sin.sin_family = AF_INET; in afs_merge_fs_addr4() 306 srx->transport.sin.sin_port = htons(port); in afs_merge_fs_addr4() 307 srx->transport.sin.sin_addr.s_addr = xdr; in afs_merge_fs_addr4()
|
D | vl_alias.c | 50 const struct sockaddr_in *a = &srx_a->transport.sin; in afs_compare_addrs() 51 const struct sockaddr_in *b = &srx_b->transport.sin; in afs_compare_addrs()
|
D | server.c | 58 const struct sockaddr_in *a = &srx->transport.sin, *b; in afs_find_server() 62 b = &alist->addrs[i].transport.sin; in afs_find_server()
|
/fs/smb/server/ |
D | transport_tcp.c | 428 struct sockaddr_in sin; in create_socket() local 443 sin.sin_family = PF_INET; in create_socket() 444 sin.sin_addr.s_addr = htonl(INADDR_ANY); in create_socket() 445 sin.sin_port = htons(server_conf.tcp_port); in create_socket() 471 ret = kernel_bind(ksmbd_socket, (struct sockaddr *)&sin, in create_socket() 472 sizeof(sin)); in create_socket()
|
D | transport_rdma.c | 2103 struct sockaddr_in sin = { in smb_direct_listen() local 2116 ret = rdma_bind_addr(cm_id, (struct sockaddr *)&sin); in smb_direct_listen()
|
/fs/ocfs2/cluster/ |
D | tcp.c | 1782 struct sockaddr_in sin; in o2net_accept_one() local 1815 ret = new_sock->ops->getname(new_sock, (struct sockaddr *) &sin, 1); in o2net_accept_one() 1819 node = o2nm_get_node_by_ip(sin.sin_addr.s_addr); in o2net_accept_one() 1822 "node at %pI4:%d\n", &sin.sin_addr.s_addr, in o2net_accept_one() 1823 ntohs(sin.sin_port)); in o2net_accept_one() 1838 node->nd_num, &sin.sin_addr.s_addr, in o2net_accept_one() 1839 ntohs(sin.sin_port)); in o2net_accept_one() 1849 node->nd_name, &sin.sin_addr.s_addr, in o2net_accept_one() 1850 ntohs(sin.sin_port)); in o2net_accept_one() 1866 node->nd_name, &sin.sin_addr.s_addr, in o2net_accept_one() [all …]
|
/fs/lockd/ |
D | svc.c | 270 struct sockaddr_in sin; in lockd_inetaddr_event() local 278 sin.sin_family = AF_INET; in lockd_inetaddr_event() 279 sin.sin_addr.s_addr = ifa->ifa_local; in lockd_inetaddr_event() 280 svc_age_temp_xprts_now(nlmsvc_serv, (struct sockaddr *)&sin); in lockd_inetaddr_event()
|
D | mon.c | 70 struct sockaddr_in sin = { in nsm_create() local 77 .address = (struct sockaddr *)&sin, in nsm_create() 78 .addrsize = sizeof(sin), in nsm_create()
|
D | host.c | 77 const struct sockaddr_in *sin = (struct sockaddr_in *)sap; in __nlm_hash_addr4() local 78 return __nlm_hash32(sin->sin_addr.s_addr); in __nlm_hash_addr4()
|
/fs/nfs/ |
D | fscache.c | 50 const struct sockaddr_in *sin = (struct sockaddr_in *) &clp->cl_addr; in nfs_fscache_get_client_key() local 60 if (!nfs_append_int(key, _len, sin->sin_port) || in nfs_fscache_get_client_key() 61 !nfs_append_int(key, _len, sin->sin_addr.s_addr)) in nfs_fscache_get_client_key()
|
D | pnfs_nfs.c | 952 struct sockaddr_in *sin = in _nfs4_pnfs_v4_ds_connect() local 967 "%pI4", &sin->sin_addr.s_addr); in _nfs4_pnfs_v4_ds_connect()
|
D | super.c | 381 struct sockaddr_in *sin = (struct sockaddr_in *)sap; in nfs_show_mountd_options() local 382 seq_printf(m, ",mountaddr=%pI4", &sin->sin_addr.s_addr); in nfs_show_mountd_options()
|
/fs/dlm/ |
D | lowcomms.c | 1003 struct sockaddr_in *sin = (struct sockaddr_in *)&peeraddr; in accept_from_sock() local 1006 &sin->sin_addr); in accept_from_sock()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 2311 const struct sockaddr_in *sin = (struct sockaddr_in *)sap; in ff_layout_ntop4() local 2313 return snprintf(buf, buflen, "%pI4", &sin->sin_addr); in ff_layout_ntop4()
|