/linux-4.1.27/drivers/net/ |
D | rionet.c | 78 static struct rionet_net nets[RIONET_MAX_NETS]; variable 184 add_num = nets[rnet->mport->id].nact; in rionet_start_xmit() 199 if (nets[rnet->mport->id].active[i]) { in rionet_start_xmit() 201 nets[rnet->mport->id].active[i]); in rionet_start_xmit() 208 if (nets[rnet->mport->id].active[destid]) in rionet_start_xmit() 210 nets[rnet->mport->id].active[destid]); in rionet_start_xmit() 240 if (!nets[rnet->mport->id].active[sid]) { in rionet_dbell_event() 242 &nets[rnet->mport->id].peers, node) { in rionet_dbell_event() 244 nets[rnet->mport->id].active[sid] = in rionet_dbell_event() 246 nets[rnet->mport->id].nact++; in rionet_dbell_event() [all …]
|
/linux-4.1.27/net/netfilter/ipset/ |
D | ip_set_hash_gen.h | 86 u32 nets[IPSET_NET_COUNT]; /* number of elements per cidr */ member 287 struct net_prefixes nets[0]; /* book-keeping of prefixes */ member 301 for (i = 0, j = -1; i < nets_length && h->nets[i].cidr[n]; i++) { in mtype_add_cidr() 304 else if (h->nets[i].cidr[n] < cidr) in mtype_add_cidr() 306 else if (h->nets[i].cidr[n] == cidr) { in mtype_add_cidr() 307 h->nets[cidr - 1].nets[n]++; in mtype_add_cidr() 313 h->nets[i].cidr[n] = h->nets[i - 1].cidr[n]; in mtype_add_cidr() 315 h->nets[i].cidr[n] = cidr; in mtype_add_cidr() 316 h->nets[cidr - 1].nets[n] = 1; in mtype_add_cidr() 325 if (h->nets[i].cidr[n] != cidr) in mtype_del_cidr() [all …]
|
D | ip_set_hash_netnet.c | 145 e.cidr[0] = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt() 146 e.cidr[1] = IP_SET_INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt() 376 e.cidr[0] = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet6_kadt() 377 e.cidr[1] = IP_SET_INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet6_kadt()
|
D | ip_set_hash_netportnet.c | 156 e.cidr[0] = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt() 157 e.cidr[1] = IP_SET_INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt() 433 e.cidr[0] = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet6_kadt() 434 e.cidr[1] = IP_SET_INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet6_kadt()
|
D | ip_set_hash_net.c | 124 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt() 297 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt()
|
D | ip_set_hash_netport.c | 140 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK) - 1, in hash_netport4_kadt() 360 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK) - 1, in hash_netport6_kadt()
|
D | ip_set_hash_netiface.c | 239 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt() 479 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt()
|
D | ip_set_hash_ipportnet.c | 145 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK) - 1, in hash_ipportnet4_kadt() 401 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK) - 1, in hash_ipportnet6_kadt()
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
D | config.c | 633 struct list_head nets; in lnet_parse_route() local 650 INIT_LIST_HEAD(&nets); in lnet_parse_route() 677 tmp2 = &nets; /* expanding nets */ in lnet_parse_route() 732 LASSERT(!list_empty(&nets)); in lnet_parse_route() 735 list_for_each(tmp1, &nets) { in lnet_parse_route() 767 lnet_free_text_bufs(&nets); in lnet_parse_route() 907 lnet_splitnets(char *source, struct list_head *nets) in lnet_splitnets() argument 919 LASSERT(!list_empty(nets)); in lnet_splitnets() 920 LASSERT(nets->next == nets->prev); /* single entry */ in lnet_splitnets() 922 tb = list_entry(nets->next, struct lnet_text_buf_t, ltb_list); in lnet_splitnets() [all …]
|
D | api-ni.c | 73 char *nets; in lnet_get_networks() local 82 rc = lnet_parse_ip2nets(&nets, ip2nets); in lnet_get_networks() 83 return (rc == 0) ? nets : NULL; in lnet_get_networks() 1040 char *nets = lnet_get_networks(); in lnet_startup_lndnis() local 1044 if (nets == NULL) in lnet_startup_lndnis() 1047 rc = lnet_parse_networks(&nilist, nets); in lnet_startup_lndnis()
|
/linux-4.1.27/drivers/net/can/usb/ |
D | esd_usb2.c | 119 u8 nets; member 203 struct esd_usb2_net_priv *nets[ESD_USB2_MAX_NETS]; member 420 esd_usb2_rx_can_msg(dev->nets[msg->msg.rx.net], msg); in esd_usb2_read_bulk_callback() 429 esd_usb2_tx_done_msg(dev->nets[msg->msg.txdone.net], in esd_usb2_read_bulk_callback() 450 if (dev->nets[i]) in esd_usb2_read_bulk_callback() 451 netif_device_detach(dev->nets[i]->netdev); in esd_usb2_read_bulk_callback() 523 static DEVICE_ATTR(nets, S_IRUGO, show_nets, NULL); 681 priv = dev->nets[i]; in unlink_all_urbs() 1037 dev->nets[index] = priv; in esd_usb2_probe_one_net() 1094 dev->net_count = (int)msg->msg.version_reply.nets; in esd_usb2_probe() [all …]
|
D | kvaser_usb.c | 454 struct kvaser_usb_net_priv *nets[MAX_NET_DEVICES]; member 719 priv = dev->nets[channel]; in kvaser_usb_tx_acknowledge() 901 priv = dev->nets[es->channel]; in kvaser_usb_rx_error() 995 priv = dev->nets[channel]; in kvaser_usbcan_conditionally_rx_error() 1147 priv = dev->nets[channel]; in kvaser_usb_rx_can_msg() 1232 priv = dev->nets[channel]; in kvaser_usb_start_chip_reply() 1255 priv = dev->nets[channel]; in kvaser_usb_stop_chip_reply() 1364 if (!dev->nets[i]) in kvaser_usb_read_bulk_callback() 1367 netif_device_detach(dev->nets[i]->netdev); in kvaser_usb_read_bulk_callback() 1554 struct kvaser_usb_net_priv *priv = dev->nets[i]; in kvaser_usb_unlink_all_urbs() [all …]
|
/linux-4.1.27/net/appletalk/ |
D | ddp.c | 250 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_probe_device() 251 ntohs(atif->nets.nr_firstnet) + 1; in atif_probe_device() 258 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device() 285 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_probe_device() 286 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device() 298 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_proxy_probe_device() 299 ntohs(atif->nets.nr_firstnet) + 1; in atif_proxy_probe_device() 307 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device() 332 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_proxy_probe_device() 333 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device() [all …]
|
D | atalk_proc.c | 75 iface->address.s_node, ntohs(iface->nets.nr_firstnet), in atalk_seq_interface_show() 76 ntohs(iface->nets.nr_lastnet), iface->status); in atalk_seq_interface_show()
|
/linux-4.1.27/include/linux/ |
D | atalk.h | 30 struct atalk_netrange nets; member
|
/linux-4.1.27/Documentation/laptops/ |
D | thinkpad-acpi.txt | 547 wake up caused by the firmware will have negated most safety nets...
|