Home
last modified time | relevance | path

Searched refs:dstaddr (Results 1 – 25 of 29) sorted by relevance

12

/linux/fs/smb/client/
H A Dcifs_spnego.c90 struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; in cifs_get_spnego_key()
91 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) &server->dstaddr; in cifs_get_spnego_key()
124 if (server->dstaddr.ss_family == AF_INET) in cifs_get_spnego_key()
126 else if (server->dstaddr.ss_family == AF_INET6) in cifs_get_spnego_key()
H A Dcifs_swn.c117 addr = &swnreg->tcon->ses->server->dstaddr; in cifs_swn_send_register_message()
211 &swnreg->tcon->ses->server->dstaddr); in cifs_swn_send_unregister_message()
469 if (cifs_sockaddr_equal(&tcon->ses->server->dstaddr, addr)) in cifs_swn_reconnect()
472 ret = cifs_swn_store_swn_addr(addr, &tcon->ses->server->dstaddr, in cifs_swn_reconnect()
641 switch (swnreg->tcon->ses->server->dstaddr.ss_family) { in cifs_swn_dump()
643 sa = (struct sockaddr_in *) &swnreg->tcon->ses->server->dstaddr; in cifs_swn_dump()
647 sa6 = (struct sockaddr_in6 *) &swnreg->tcon->ses->server->dstaddr; in cifs_swn_dump()
H A Dconnect.c97 ss = server->dstaddr; in reconn_set_ipaddr_from_hostname()
108 memcpy(&server->dstaddr, &ss, sizeof(server->dstaddr)); in reconn_set_ipaddr_from_hostname()
839 cifs_set_port((struct sockaddr *)&server->dstaddr, CIFS_PORT); in is_smb_response()
1448 sport = &((struct sockaddr_in *) &server->dstaddr)->sin_port; in match_port()
1452 sport = &((struct sockaddr_in6 *) &server->dstaddr)->sin6_port; in match_port()
1473 if (!cifs_match_ipaddr(addr, (struct sockaddr *)&server->dstaddr)) in match_server_address()
1507 struct sockaddr *addr = (struct sockaddr *)&ctx->dstaddr; in match_server()
1760 memcpy(&tcp_ses->dstaddr, &ctx->dstaddr, in cifs_get_tcp_session()
1761 sizeof(tcp_ses->dstaddr)); in cifs_get_tcp_session()
1787 tcp_ses, (struct sockaddr *)&ctx->dstaddr); in cifs_get_tcp_session()
[all …]
H A Dcifs_swn.h30 server->dstaddr = server->swn_dstaddr; in cifs_swn_set_server_dstaddr()
H A Dsess.c36 struct sockaddr_in *s4 = (struct sockaddr_in *)&server->dstaddr; in is_server_using_iface()
37 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *)&server->dstaddr; in is_server_using_iface()
39 if (server->dstaddr.ss_family != iface->sockaddr.ss_family) in is_server_using_iface()
41 if (server->dstaddr.ss_family == AF_INET) { in is_server_using_iface()
44 } else if (server->dstaddr.ss_family == AF_INET6) { in is_server_using_iface()
381 ss = server->dstaddr; in cifs_chan_update_iface()
562 memcpy(&ctx->dstaddr, &iface->sockaddr, sizeof(ctx->dstaddr)); in cifs_ses_add_channel()
H A Dfscache.c40 const struct sockaddr *sa = (struct sockaddr *)&server->dstaddr; in cifs_fscache_get_super_cookie()
H A Ddfs.c49 rc = dns_resolve_server_name_to_ip(path, (struct sockaddr *)&ctx->dstaddr, NULL); in dfs_parse_target_referral()
263 struct sockaddr *addr = (struct sockaddr *)&ctx->dstaddr; in update_fs_context_dstaddr()
H A Dfs_context.c743 if (!cifs_convert_address((struct sockaddr *)&ctx->dstaddr, in smb3_fs_context_validate()
751 cifs_set_port((struct sockaddr *)&ctx->dstaddr, ctx->port); in smb3_fs_context_validate()
1337 if (!cifs_convert_address((struct sockaddr *)&ctx->dstaddr, in smb3_fs_context_parse_param()
H A Dcifsfs.c456 struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; in cifs_show_address()
457 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) &server->dstaddr; in cifs_show_address()
461 switch (server->dstaddr.ss_family) { in cifs_show_address()
H A Ddfs_cache.c1125 match = cifs_match_ipaddr((struct sockaddr *)&server->dstaddr, (struct sockaddr *)&ss); in target_share_equal()
/linux/fs/nfs/
H A Dnfs4trace.h44 __string(dstaddr, clp->cl_hostname)
50 __assign_str(dstaddr);
57 __get_str(dstaddr)
1349 __string(dstaddr, clp ? clp->cl_hostname : "unknown")
1362 __assign_str(dstaddr);
1373 __get_str(dstaddr)
1404 __string(dstaddr, clp ? clp->cl_hostname : "unknown")
1419 __assign_str(dstaddr);
1435 __get_str(dstaddr)
1958 __string(dstaddr, clp->cl_hostname)
[all …]
H A Dpnfs_nfs.c824 .dstaddr = (struct sockaddr *)&da->da_addr, in _nfs4_pnfs_v3_ds_connect()
884 .dstaddr = (struct sockaddr *)&da->da_addr, in _nfs4_pnfs_v4_ds_connect()
H A Dnfs4client.c430 xprt_args.dstaddr = clp_sap; in nfs4_add_trunk()
1341 .dstaddr = (struct sockaddr *)sap, in nfs4_update_server()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-rnbd-client12 > Usage: echo "sessname=<name of the rtrs session> path=<[srcaddr,]dstaddr>
13 > [path=<[srcaddr,]dstaddr>] device_path=<full path on remote side>
25 path=<[srcaddr,]dstaddr> [path=<[srcaddr,]dstaddr> ...]
/linux/arch/s390/kvm/
H A Dintercept.c360 unsigned long srcaddr, dstaddr; in handle_mvpg_pei() local
376 reg1, &dstaddr, GACC_STORE, 0); in handle_mvpg_pei()
379 rc = kvm_arch_fault_in_page(vcpu, dstaddr, 1); in handle_mvpg_pei()
/linux/drivers/dma/
H A Dsun4i-dma.c802 dma_addr_t srcaddr, dstaddr; in sun4i_dma_prep_slave_sg() local
843 dstaddr = sconfig->dst_addr; in sun4i_dma_prep_slave_sg()
846 dstaddr = sg_dma_address(sg); in sun4i_dma_prep_slave_sg()
862 promise = generate_ddma_promise(chan, srcaddr, dstaddr, in sun4i_dma_prep_slave_sg()
866 promise = generate_ndma_promise(chan, srcaddr, dstaddr, in sun4i_dma_prep_slave_sg()
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-sysfs.c168 struct sockaddr_storage srcaddr, dstaddr; in add_path_store() local
171 .dst = &dstaddr in add_path_store()
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_backchannel.c259 memcpy(&xprt->addr, args->dstaddr, args->addrlen); in xprt_setup_rdma_bc()
H A Dtransport.c335 sap = args->dstaddr; in xprt_setup_rdma()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dpcie.c579 void *dstaddr, u32 len) in brcmf_pcie_copy_dev_tomem() argument
586 if (((ulong)address & 4) || ((ulong)dstaddr & 4) || (len & 4)) { in brcmf_pcie_copy_dev_tomem()
587 if (((ulong)address & 2) || ((ulong)dstaddr & 2) || (len & 2)) { in brcmf_pcie_copy_dev_tomem()
588 dst8 = (u8 *)dstaddr; in brcmf_pcie_copy_dev_tomem()
597 dst16 = (__le16 *)dstaddr; in brcmf_pcie_copy_dev_tomem()
607 dst32 = (__le32 *)dstaddr; in brcmf_pcie_copy_dev_tomem()
/linux/net/sunrpc/
H A Dxprtsock.c3178 memcpy(&xprt->addr, args->dstaddr, args->addrlen); in xs_setup_xprt()
3184 err = xs_init_anyaddr(args->dstaddr->sa_family, in xs_setup_xprt()
3209 struct sockaddr_un *sun = (struct sockaddr_un *)args->dstaddr; in xs_setup_local()
3276 struct sockaddr *addr = args->dstaddr; in xs_setup_udp()
3353 struct sockaddr *addr = args->dstaddr; in xs_setup_tcp()
3435 struct sockaddr *addr = args->dstaddr; in xs_setup_tcp_tls()
3523 struct sockaddr *addr = args->dstaddr; in xs_setup_bc_tcp()
H A Dsysfs.c401 static struct kobj_attribute rpc_sysfs_xprt_dstaddr = __ATTR(dstaddr,
/linux/include/linux/sunrpc/
H A Dxprt.h338 struct sockaddr * dstaddr; /* remote peer address */ member
/linux/include/trace/events/
H A Drpcrdma.h646 __array(unsigned char, dstaddr, sizeof(struct sockaddr_in6))
658 memcpy(__entry->dstaddr, &id->route.addr.dst_addr,
663 __entry->srcaddr, __entry->dstaddr,
/linux/drivers/usb/isp1760/
H A Disp1760-hcd.c451 static void isp1763_mem_write(struct usb_hcd *hcd, u16 dstaddr, u16 *src, in isp1763_mem_write() argument
457 isp1760_reg_write(priv->regs, ISP1763_HC_MEMORY, dstaddr); in isp1763_mem_write()

12