Home
last modified time | relevance | path

Searched refs:sin (Results 1 – 18 of 18) sorted by relevance

/fs/nfsd/
Dflexfilelayout.c104 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()
Dnfssvc.c482 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()
Dnfsd.h423 struct sockaddr_in *sin = (struct sockaddr_in *)addr; in nfsd4_set_netaddr() local
430 port = ntohs(sin->sin_port); in nfsd4_set_netaddr()
Dnfs4xdr.c1843 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/
Daddr_list.c284 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()
Dvl_alias.c50 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()
Dserver.c58 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/
Dtransport_tcp.c428 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()
Dtransport_rdma.c2103 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/
Dtcp.c1782 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/
Dsvc.c270 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()
Dmon.c70 struct sockaddr_in sin = { in nsm_create() local
77 .address = (struct sockaddr *)&sin, in nsm_create()
78 .addrsize = sizeof(sin), in nsm_create()
Dhost.c77 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/
Dfscache.c50 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()
Dpnfs_nfs.c952 struct sockaddr_in *sin = in _nfs4_pnfs_v4_ds_connect() local
967 "%pI4", &sin->sin_addr.s_addr); in _nfs4_pnfs_v4_ds_connect()
Dsuper.c381 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/
Dlowcomms.c1003 struct sockaddr_in *sin = (struct sockaddr_in *)&peeraddr; in accept_from_sock() local
1006 &sin->sin_addr); in accept_from_sock()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c2311 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()