Home
last modified time | relevance | path

Searched refs:netid (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.1/drivers/net/
Drionet.c233 unsigned char netid = rnet->mport->id; in rionet_dbell_event() local
239 if (!nets[netid].active[sid]) { in rionet_dbell_event()
240 spin_lock(&nets[netid].lock); in rionet_dbell_event()
241 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_dbell_event()
243 nets[netid].active[sid] = peer->rdev; in rionet_dbell_event()
244 nets[netid].nact++; in rionet_dbell_event()
247 spin_unlock(&nets[netid].lock); in rionet_dbell_event()
253 spin_lock(&nets[netid].lock); in rionet_dbell_event()
254 if (nets[netid].active[sid]) { in rionet_dbell_event()
255 nets[netid].active[sid] = NULL; in rionet_dbell_event()
[all …]
/Linux-v6.1/drivers/s390/char/
Dsclp_ocf.c46 struct gds_subvector *sv, *netid, *cpc; in sclp_ocf_handler() local
63 netid = sclp_find_gds_subvector(sv + 1, (void *) sv + sv->length, 1); in sclp_ocf_handler()
68 if (netid) { in sclp_ocf_handler()
69 size = min(OCF_LENGTH_HMC_NETWORK, (size_t) netid->length); in sclp_ocf_handler()
70 memcpy(hmc_network, netid + 1, size); in sclp_ocf_handler()
/Linux-v6.1/fs/nfsd/
Dflexfilelayout.c107 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp"); in nfsd4_ff_proc_getdeviceinfo()
114 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp6"); in nfsd4_ff_proc_getdeviceinfo()
Dflexfilelayoutxdr.h20 char netid[FF_NETID_LEN + 1]; member
Dflexfilelayoutxdr.c104 p = xdr_encode_opaque(p, da->netaddr.netid, da->netaddr.netid_len); in nfsd4_ff_encode_getdeviceinfo()
Dtrace.h1338 const char *netid,
1341 TP_ARGS(clp, netid, authflavor),
1347 __array(unsigned char, netid, 8)
1352 strlcpy(__entry->netid, netid, sizeof(__entry->netid));
1359 __entry->netid, show_nfsd_authflavor(__entry->authflavor))
Dnfsd.h432 sprintf(netaddr->netid, "tcp"); in nfsd4_set_netaddr()
437 sprintf(netaddr->netid, "tcp6"); in nfsd4_set_netaddr()
Dnfs4xdr.c1907 memcpy(naddr->netid, p, naddr->netid_len); in nfsd4_decode_nl4_server()
4722 p = xdr_encode_opaque_fixed(p, addr->netid, in nfsd42_encode_nl4_server()
Dnfs4proc.c1404 strncmp(naddr->netid, match_netid, naddr->netid_len)) in nfsd4_interssc_connect()
/Linux-v6.1/net/sunrpc/
Dsvc.c904 const char *netid; in __svc_rpcb_register4() local
909 netid = RPCBIND_NETID_UDP; in __svc_rpcb_register4()
912 netid = RPCBIND_NETID_TCP; in __svc_rpcb_register4()
919 (const struct sockaddr *)&sin, netid); in __svc_rpcb_register4()
952 const char *netid; in __svc_rpcb_register6() local
957 netid = RPCBIND_NETID_UDP6; in __svc_rpcb_register6()
960 netid = RPCBIND_NETID_TCP6; in __svc_rpcb_register6()
967 (const struct sockaddr *)&sin6, netid); in __svc_rpcb_register6()
Dxprt.c191 xprt_class_find_by_netid_locked(const char *netid) in xprt_class_find_by_netid_locked() argument
197 for (i = 0; t->netid[i][0] != '\0'; i++) { in xprt_class_find_by_netid_locked()
198 if (strcmp(t->netid[i], netid) != 0) in xprt_class_find_by_netid_locked()
209 xprt_class_find_by_netid(const char *netid) in xprt_class_find_by_netid() argument
214 t = xprt_class_find_by_netid_locked(netid); in xprt_class_find_by_netid()
217 request_module("rpc%s", netid); in xprt_class_find_by_netid()
219 t = xprt_class_find_by_netid_locked(netid); in xprt_class_find_by_netid()
233 int xprt_find_transport_ident(const char *netid) in xprt_find_transport_ident() argument
238 t = xprt_class_find_by_netid(netid); in xprt_find_transport_ident()
Dxprtsock.c303 const char *netid) in xs_format_peer_addresses() argument
306 xprt->address_strings[RPC_DISPLAY_NETID] = netid; in xs_format_peer_addresses()
3137 .netid = { "" },
3146 .netid = { "udp", "udp6", "" },
3155 .netid = { "tcp", "tcp6", "" },
3164 .netid = { "" },
Drpcb_clnt.c566 const struct sockaddr *address, const char *netid) in rpcb_v4_register() argument
571 .r_netid = netid, in rpcb_v4_register()
/Linux-v6.1/include/trace/events/
Dsunrpc.h1445 const char *netid
1448 TP_ARGS(program, version, addr, netid),
1454 __string(netid, netid)
1461 __assign_str(netid, netid);
1466 __get_str(addr), __get_str(netid)
1474 const char *netid
1477 TP_ARGS(program, version, netid),
1482 __string(netid, netid)
1488 __assign_str(netid, netid);
1492 __entry->program, __entry->version, __get_str(netid)
/Linux-v6.1/fs/nfs/
Dpnfs_nfs.c1050 char *netid; in nfs4_decode_mp_ds_addr() local
1057 nlen = xdr_stream_decode_string_dup(xdr, &netid, XDR_MAX_NETOBJ, in nfs4_decode_mp_ds_addr()
1120 da->da_transport = xprt_find_transport_ident(netid); in nfs4_decode_mp_ds_addr()
1123 __func__, netid); in nfs4_decode_mp_ds_addr()
1127 da->da_netid = netid; in nfs4_decode_mp_ds_addr()
1148 kfree(netid); in nfs4_decode_mp_ds_addr()
Dnfs42proc.c31 naddr->netid_len = scnprintf(naddr->netid, in nfs42_set_netaddr()
32 sizeof(naddr->netid), "%s", in nfs42_set_netaddr()
Dnfs42xdr.c288 ns->u.nl4_addr.netid); in encode_nl4_server()
938 memcpy(naddr->netid, dummy_str, naddr->netid_len); in decode_nl4_server()
/Linux-v6.1/include/linux/sunrpc/
Dclnt.h188 const char *netid);
Dxprt.h344 const char * netid[]; member
/Linux-v6.1/include/linux/
Dnfs4.h696 char netid[RPCBIND_MAXNETIDLEN]; member
/Linux-v6.1/net/sunrpc/xprtrdma/
Dtransport.c770 .netid = { "rdma", "rdma6", "" },