| /linux/drivers/net/ |
| H A D | rionet.c | 233 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/net/mctp/ |
| H A D | route.c | 185 unsigned int netid, mctp_eid_t peer, in mctp_lookup_key() argument 201 if (!mctp_key_match(key, netid, mh->dest, peer, tag)) in mctp_lookup_key() 437 unsigned int netid; in mctp_dst_input() local 464 netid = mctp_cb(skb)->net; in mctp_dst_input() 478 key = mctp_lookup_key(net, skb, netid, mh->src, &f); in mctp_dst_input() 492 any_key = mctp_lookup_key(net, skb, netid, in mctp_dst_input() 531 key = mctp_key_alloc(msk, netid, mh->dest, mh->src, in mctp_dst_input() 725 unsigned int netid, in mctp_alloc_local_tag() argument 740 key = mctp_key_alloc(msk, netid, local, peer, 0, GFP_KERNEL); in mctp_alloc_local_tag() 758 if (tmp->net != netid) in mctp_alloc_local_tag() [all …]
|
| /linux/net/mctp/test/ |
| H A D | route-test.c | 178 unsigned int netid) 187 if (netid != MCTP_NET_ANY) in __mctp_route_test_init() argument 188 WRITE_ONCE(dev->mdev->net, netid); in __mctp_route_test_init() 196 addr.smctp_network = netid; in __mctp_route_test_init() 559 unsigned int netid; 577 t->msg.data = t->netid; 579 __mctp_route_test_init(test, &t->dev, &t->dst, &t->sock, t->netid); 602 t1.netid = 1; 603 t2.netid = 2; 621 t1.netid); in mctp_test_route_input_multiple_nets_bind() 573 unsigned int netid; global() member 1067 const unsigned int netid = 50; mctp_test_route_output_key_create() local 1277 unsigned int netid; mctp_test_route_gw_mtu() local [all...] |
| H A D | utils.h | 54 unsigned int netid,
|
| H A D | utils.c | 146 unsigned int netid, 163 rt->rt.gateway.net = netid; in mctp_test_create_route_gw() 148 mctp_test_create_route_gw(struct net * net,unsigned int netid,mctp_eid_t eid,mctp_eid_t gw,unsigned int mtu) mctp_test_create_route_gw() argument
|
| /linux/fs/nfsd/ |
| H A D | flexfilelayout.c | 108 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp"); in nfsd4_ff_proc_getdeviceinfo() 115 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp6"); in nfsd4_ff_proc_getdeviceinfo()
|
| H A D | flexfilelayoutxdr.h | 20 char netid[FF_NETID_LEN + 1]; member
|
| H A D | flexfilelayoutxdr.c | 112 p = xdr_encode_opaque(p, da->netaddr.netid, da->netaddr.netid_len); in nfsd4_ff_encode_getdeviceinfo()
|
| H A D | nfsd.h | 491 sprintf(netaddr->netid, "tcp"); in nfsd4_set_netaddr() 496 sprintf(netaddr->netid, "tcp6"); in nfsd4_set_netaddr()
|
| H A D | trace.h | 1621 const char *netid, 1624 TP_ARGS(clp, netid, authflavor), 1630 __string(netid, netid) 1635 __assign_str(netid); 1642 __get_str(netid), show_nfsd_authflavor(__entry->authflavor))
|
| H A D | nfs4xdr.c | 2125 memcpy(naddr->netid, p, naddr->netid_len); in nfsd4_decode_clone() 2753 status = nfsd4_encode_opaque(xdr, addr->netid, addr->netid_len); in nfsd4_encode_pathname4()
|
| H A D | nfs4proc.c | 1731 strncmp(naddr->netid, match_netid, naddr->netid_len)) in nfs42_ssc_open()
|
| /linux/net/sunrpc/ |
| H A D | svc.c | 1022 * Register an "inet" protocol family netid with the local 1041 const char *netid; in __svc_rpcb_register6() 1046 netid = RPCBIND_NETID_UDP; in __svc_rpcb_register6() 1049 netid = RPCBIND_NETID_TCP; in __svc_rpcb_register6() 1056 (const struct sockaddr *)&sin, netid); in __svc_rpcb_register6() 1070 * Register an "inet6" protocol family netid with the local 1089 const char *netid; in __svc_register() 1094 netid = RPCBIND_NETID_UDP6; in __svc_register() 1097 netid = RPCBIND_NETID_TCP6; in __svc_register() 1104 (const struct sockaddr *)&sin6, netid); in svc_rpcbind_set_version() 995 const char *netid; __svc_rpcb_register4() local 1043 const char *netid; __svc_rpcb_register6() local [all...] |
| H A D | xprt.c | 191 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()
|
| H A D | xprtsock.c | 309 const char *netid) in xs_format_peer_addresses() argument 312 xprt->address_strings[RPC_DISPLAY_NETID] = netid; in xs_format_peer_addresses() 3631 .netid = { "" }, 3640 .netid = { "udp", "udp6", "" }, 3649 .netid = { "tcp", "tcp6", "" }, 3658 .netid = { "tcp", "tcp6", "" }, 3667 .netid = { "" },
|
| /linux/fs/nfs/ |
| H A D | pnfs_nfs.c | 1069 char *netid; in nfs4_decode_mp_ds_addr() local 1076 nlen = xdr_stream_decode_string_dup(xdr, &netid, XDR_MAX_NETOBJ, in nfs4_decode_mp_ds_addr() 1139 da->da_transport = xprt_find_transport_ident(netid); in nfs4_decode_mp_ds_addr() 1142 __func__, netid); in nfs4_decode_mp_ds_addr() 1146 da->da_netid = netid; in nfs4_decode_mp_ds_addr() 1167 kfree(netid); in nfs4_decode_mp_ds_addr()
|
| H A D | nfs42xdr.c | 322 ns->u.nl4_addr.netid); in encode_nl4_server() 940 memcpy(naddr->netid, dummy_str, naddr->netid_len); in decode_nl4_server()
|
| H A D | nfs42proc.c | 33 naddr->netid_len = scnprintf(naddr->netid, in nfs42_set_netaddr() 34 sizeof(naddr->netid), "%s", in nfs42_set_netaddr()
|
| /linux/include/trace/events/ |
| H A D | sunrpc.h | 1474 const char *netid 1477 TP_ARGS(program, version, addr, netid), 1483 __string(netid, netid) 1490 __assign_str(netid); 1495 __get_str(addr), __get_str(netid) 1503 const char *netid 1506 TP_ARGS(program, version, netid), 1511 __string(netid, netid) 1517 __assign_str(netid); 1521 __entry->program, __entry->version, __get_str(netid)
|
| /linux/include/net/ |
| H A D | mctp.h | 296 unsigned int netid,
|
| /linux/include/linux/sunrpc/ |
| H A D | xprt.h | 370 const char * netid[]; member
|
| /linux/include/linux/ |
| H A D | nfs4.h | 844 char netid[RPCBIND_MAXNETIDLEN]; 840 char netid[RPCBIND_MAXNETIDLEN]; global() member
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | transport.c | 760 .netid = { "rdma", "rdma6", "" },
|