| /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() 440 unsigned int netid; in mctp_dst_input() local 468 netid = mctp_cb(skb)->net; in mctp_dst_input() 483 key = mctp_lookup_key(net, skb, netid, mh->src, &f); in mctp_dst_input() 497 any_key = mctp_lookup_key(net, skb, netid, in mctp_dst_input() 536 key = mctp_key_alloc(msk, netid, mh->dest, mh->src, in mctp_dst_input() 738 unsigned int netid, in mctp_alloc_local_tag() 753 key = mctp_key_alloc(msk, netid, local, peer, 0, GFP_KERNEL); in mctp_alloc_local_tag() 771 if (tmp->net != netid) in mctp_alloc_local_tag() 730 mctp_alloc_local_tag(struct mctp_sock * msk,unsigned int netid,mctp_eid_t local,mctp_eid_t peer,bool manual,u8 * tagp) mctp_alloc_local_tag() argument 814 mctp_lookup_prealloc_tag(struct mctp_sock * msk,unsigned int netid,mctp_eid_t daddr,u8 req_tag,u8 * tagp) mctp_lookup_prealloc_tag() argument 1153 unsigned int netid; mctp_local_output() local 1249 mctp_route_remove(struct net * net,unsigned int netid,mctp_eid_t daddr_start,unsigned int daddr_extent,unsigned char type) mctp_route_remove() argument 1507 mctp_route_nlparse_lookup(struct net * net,struct nlmsghdr * nlh,struct netlink_ext_ack * extack,unsigned char * type,unsigned int * netid,mctp_eid_t * daddr_start,unsigned int * daddr_extent) mctp_route_nlparse_lookup() argument 1630 unsigned int netid, daddr_extent; mctp_delroute() local [all...] |
| /linux/net/mctp/test/ |
| H A D | route-test.c | 184 unsigned int netid) in __mctp_route_test_init() argument 193 if (netid != MCTP_NET_ANY) in __mctp_route_test_init() 194 WRITE_ONCE(dev->mdev->net, netid); in __mctp_route_test_init() 206 addr.smctp_network = netid; in __mctp_route_test_init() 569 unsigned int netid; member 587 t->msg.data = t->netid; in mctp_test_route_input_multiple_nets_bind_init() 589 __mctp_route_test_init(test, &t->dev, &t->dst, &t->sock, t->netid); in mctp_test_route_input_multiple_nets_bind_init() 612 t1.netid = 1; in mctp_test_route_input_multiple_nets_bind() 613 t2.netid = 2; in mctp_test_route_input_multiple_nets_bind() 631 t1.netid); in mctp_test_route_input_multiple_nets_bind() [all …]
|
| H A D | utils.c | 166 unsigned int netid, in mctp_test_create_route_gw() argument 183 rt->rt.gateway.net = netid; in mctp_test_create_route_gw()
|
| /linux/fs/nfsd/ |
| H A D | flexfilelayout.c | 112 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp"); in nfsd4_ff_proc_getdeviceinfo() 119 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp6"); in nfsd4_ff_proc_getdeviceinfo()
|
| H A D | flexfilelayoutxdr.h | 21 char netid[FF_NETID_LEN + 1]; 20 char netid[FF_NETID_LEN + 1]; global() member
|
| H A D | flexfilelayoutxdr.c | 119 p = xdr_encode_opaque(p, da->netaddr.netid, da->netaddr.netid_len); in nfsd4_ff_encode_getdeviceinfo()
|
| H A D | trace.h | 1659 const char *netid, 1662 TP_ARGS(clp, netid, authflavor), 1668 __string(netid, netid) 1673 __assign_str(netid); 1680 __get_str(netid), show_nfsd_authflavor(__entry->authflavor))
|
| H A D | nfs4proc.c | 1877 strncmp(naddr->netid, match_netid, naddr->netid_len)) 2474 sprintf(netaddr->netid, "tcp"); in nfsd4_offload_status() 2479 sprintf(netaddr->netid, "tcp6"); in nfsd4_offload_status()
|
| H A D | nfs4xdr.c | 2168 memcpy(naddr->netid, p, naddr->netid_len); in nfsd4_decode_nl4_server() 2877 status = nfsd4_encode_opaque(xdr, addr->netid, addr->netid_len); in nfsd4_encode_pathname4()
|
| /linux/net/sunrpc/ |
| H A D | svc.c | 1019 * Register an "inet" protocol family netid with the local 1038 const char *netid; in __svc_rpcb_register4() 1043 netid = RPCBIND_NETID_UDP; in __svc_rpcb_register4() 1046 netid = RPCBIND_NETID_TCP; in __svc_rpcb_register4() 1053 (const struct sockaddr *)&sin, netid); in __svc_rpcb_register4() 1067 * Register an "inet6" protocol family netid with the local 1086 const char *netid; in __svc_rpcb_register6() 1091 netid = RPCBIND_NETID_UDP6; in __svc_rpcb_register6() 1094 netid = RPCBIND_NETID_TCP6; in __svc_rpcb_register6() 1101 (const struct sockaddr *)&sin6, netid); in __svc_rpcb_register6() 1036 const char *netid; __svc_rpcb_register4() local 1084 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() 226 * xprt_find_transport_ident - convert a netid into a transport identifier 227 * @netid 233 xprt_find_transport_ident(const char * netid) xprt_find_transport_ident() argument [all...] |
| 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() 3657 .netid = { "" }, 3666 .netid = { "udp", "udp6", "" }, 3675 .netid = { "tcp", "tcp6", "" }, 3684 .netid = { "tcp", "tcp6", "" }, 3693 .netid = { "" },
|
| H A D | rpcb_clnt.c | 582 * @netid: netid of transport protocol to (un)register 592 * netid] tuple they wish to advertise. in rpcb_v4_register() 597 * a service by passing a NULL @address argument. If @netid is "" in rpcb_v4_register() 621 const struct sockaddr *address, const char *netid) in rpcb_v4_register() 626 .r_netid = netid, in rpcb_call_async() 593 rpcb_v4_register(struct net * net,const u32 program,const u32 version,const struct sockaddr * address,const char * netid) rpcb_v4_register() argument
|
| /linux/fs/nfs/ |
| H A D | pnfs_nfs.c | 1141 char *netid; in nfs4_decode_mp_ds_addr() 1148 nlen = xdr_stream_decode_string_dup(xdr, &netid, XDR_MAX_NETOBJ, in nfs4_decode_mp_ds_addr() 1211 da->da_transport = xprt_find_transport_ident(netid); in pnfs_layout_mark_request_commit() 1214 __func__, netid); in pnfs_layout_mark_request_commit() 1218 da->da_netid = netid; 1239 kfree(netid); 1077 char *netid; nfs4_decode_mp_ds_addr() local
|
| H A D | nfs42xdr.c | 324 ns->u.nl4_addr.netid); in encode_nl4_server() 943 memcpy(naddr->netid, dummy_str, naddr->netid_len); in decode_nl4_server()
|
| /linux/include/linux/sunrpc/ |
| H A D | clnt.h | 207 const char *netid);
|
| H A D | xprt.h | 376 const char * netid[]; 370 const char * netid[]; global() member
|
| /linux/include/linux/ |
| H A D | nfs4.h | 732 char netid[RPCBIND_MAXNETIDLEN]; 726 char netid[RPCBIND_MAXNETIDLEN]; global() member
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | transport.c | 826 .netid = { "rdma", "rdma6", "" },
|