/Linux-v5.4/drivers/net/ |
D | rionet.c | 79 static struct rionet_net nets[RIONET_MAX_NETS]; variable 181 add_num = nets[rnet->mport->id].nact; in rionet_start_xmit() 196 if (nets[rnet->mport->id].active[i]) { in rionet_start_xmit() 198 nets[rnet->mport->id].active[i]); in rionet_start_xmit() 205 if (nets[rnet->mport->id].active[destid]) in rionet_start_xmit() 207 nets[rnet->mport->id].active[destid]); in rionet_start_xmit() 238 if (!nets[netid].active[sid]) { in rionet_dbell_event() 239 spin_lock(&nets[netid].lock); in rionet_dbell_event() 240 list_for_each_entry(peer, &nets[netid].peers, node) { in rionet_dbell_event() 242 nets[netid].active[sid] = peer->rdev; in rionet_dbell_event() [all …]
|
/Linux-v5.4/net/netfilter/ipset/ |
D | ip_set_hash_gen.h | 93 u32 nets[IPSET_NET_COUNT]; /* number of elements for this cidr */ member 293 struct net_prefixes nets[NLEN]; /* book-keeping of prefixes */ member 307 for (i = 0, j = -1; i < NLEN && h->nets[i].cidr[n]; i++) { in mtype_add_cidr() 310 } else if (h->nets[i].cidr[n] < cidr) { in mtype_add_cidr() 312 } else if (h->nets[i].cidr[n] == cidr) { in mtype_add_cidr() 313 h->nets[CIDR_POS(cidr)].nets[n]++; in mtype_add_cidr() 319 h->nets[i].cidr[n] = h->nets[i - 1].cidr[n]; in mtype_add_cidr() 321 h->nets[i].cidr[n] = cidr; in mtype_add_cidr() 322 h->nets[CIDR_POS(cidr)].nets[n] = 1; in mtype_add_cidr() 331 if (h->nets[i].cidr[n] != cidr) in mtype_del_cidr() [all …]
|
D | ip_set_hash_netnet.c | 148 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt() 149 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt() 382 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet6_kadt() 383 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet6_kadt()
|
D | ip_set_hash_netportnet.c | 158 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt() 159 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt() 437 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet6_kadt() 438 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet6_kadt()
|
D | ip_set_hash_net.c | 119 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt() 287 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt()
|
D | ip_set_hash_netiface.c | 158 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt() 368 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt()
|
D | ip_set_hash_netport.c | 135 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport4_kadt() 351 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport6_kadt()
|
D | ip_set_hash_ipportnet.c | 140 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet4_kadt() 391 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet6_kadt()
|
/Linux-v5.4/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_core.c | 299 if (!dev->nets[i]) in kvaser_usb_read_bulk_callback() 302 netif_device_detach(dev->nets[i]->netdev); in kvaser_usb_read_bulk_callback() 441 struct kvaser_usb_net_priv *priv = dev->nets[i]; in kvaser_usb_unlink_all_urbs() 617 if (!dev->nets[i]) in kvaser_usb_remove_interfaces() 620 unregister_candev(dev->nets[i]->netdev); in kvaser_usb_remove_interfaces() 626 if (!dev->nets[i]) in kvaser_usb_remove_interfaces() 629 free_candev(dev->nets[i]->netdev); in kvaser_usb_remove_interfaces() 693 dev->nets[channel] = priv; in kvaser_usb_init_one() 699 dev->nets[channel] = NULL; in kvaser_usb_init_one()
|
D | kvaser_usb_leaf.c | 560 priv = dev->nets[channel]; in kvaser_usb_leaf_tx_acknowledge() 709 priv = dev->nets[es->channel]; in kvaser_usb_leaf_rx_error() 803 priv = dev->nets[channel]; in kvaser_usb_leaf_usbcan_conditionally_rx_error() 938 priv = dev->nets[channel]; in kvaser_usb_leaf_rx_can_msg() 1024 priv = dev->nets[channel]; in kvaser_usb_leaf_start_chip_reply() 1047 priv = dev->nets[channel]; in kvaser_usb_leaf_stop_chip_reply()
|
D | kvaser_usb.h | 86 struct kvaser_usb_net_priv *nets[KVASER_USB_MAX_NET_DEVICES]; member
|
D | kvaser_usb_hydra.c | 479 priv = dev->nets[channel]; in kvaser_usb_hydra_net_priv_from_cmd()
|
/Linux-v5.4/drivers/net/can/usb/ |
D | esd_usb2.c | 107 u8 nets; member 191 struct esd_usb2_net_priv *nets[ESD_USB2_MAX_NETS]; member 407 esd_usb2_rx_can_msg(dev->nets[msg->msg.rx.net], msg); in esd_usb2_read_bulk_callback() 416 esd_usb2_tx_done_msg(dev->nets[msg->msg.txdone.net], in esd_usb2_read_bulk_callback() 437 if (dev->nets[i]) in esd_usb2_read_bulk_callback() 438 netif_device_detach(dev->nets[i]->netdev); in esd_usb2_read_bulk_callback() 510 static DEVICE_ATTR(nets, 0444, show_nets, NULL); 666 priv = dev->nets[i]; in unlink_all_urbs() 1021 dev->nets[index] = priv; in esd_usb2_probe_one_net() 1078 dev->net_count = (int)msg->msg.version_reply.nets; in esd_usb2_probe() [all …]
|
/Linux-v5.4/net/appletalk/ |
D | ddp.c | 244 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_probe_device() 245 ntohs(atif->nets.nr_firstnet) + 1; in atif_probe_device() 252 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device() 279 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_probe_device() 280 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device() 292 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_proxy_probe_device() 293 ntohs(atif->nets.nr_firstnet) + 1; in atif_proxy_probe_device() 301 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device() 326 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_proxy_probe_device() 327 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device() [all …]
|
D | atalk_proc.c | 72 iface->address.s_node, ntohs(iface->nets.nr_firstnet), in atalk_seq_interface_show() 73 ntohs(iface->nets.nr_lastnet), iface->status); in atalk_seq_interface_show()
|
/Linux-v5.4/include/linux/ |
D | atalk.h | 31 struct atalk_netrange nets; member
|
/Linux-v5.4/Documentation/admin-guide/laptops/ |
D | thinkpad-acpi.rst | 579 wake up caused by the firmware will have negated most safety nets...
|