Home
last modified time | relevance | path

Searched refs:nets (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/net/
A Drionet.c244 nets[netid].nact++; in rionet_dbell_event()
256 nets[netid].nact--; in rionet_dbell_event()
426 nets[netid].nact--; in rionet_remove_dev()
563 if (!nets[netid].ndev) { in rionet_add_dev()
592 nets[netid].nact = 0; in rionet_add_dev()
593 nets[netid].ndev = ndev; in rionet_add_dev()
648 if (!nets[i].ndev) in rionet_shutdown()
679 if (nets[id].ndev) { in rionet_remove_mport()
680 ndev = nets[id].ndev; in rionet_remove_mport()
687 nets[id].active = NULL; in rionet_remove_mport()
[all …]
/linux/net/netfilter/ipset/
A Dip_set_hash_gen.h343 } else if (h->nets[i].cidr[n] < cidr) { in mtype_add_cidr()
346 h->nets[CIDR_POS(cidr)].nets[n]++; in mtype_add_cidr()
352 h->nets[i].cidr[n] = h->nets[i - 1].cidr[n]; in mtype_add_cidr()
354 h->nets[i].cidr[n] = cidr; in mtype_add_cidr()
355 h->nets[CIDR_POS(cidr)].nets[n] = 1; in mtype_add_cidr()
367 if (h->nets[i].cidr[n] != cidr) in mtype_del_cidr()
369 h->nets[CIDR_POS(cidr)].nets[n]--; in mtype_del_cidr()
370 if (h->nets[CIDR_POS(cidr)].nets[n] > 0) in mtype_del_cidr()
373 h->nets[j].cidr[n] = h->nets[j + 1].cidr[n]; in mtype_del_cidr()
374 h->nets[j].cidr[n] = 0; in mtype_del_cidr()
[all …]
A Dip_set_hash_netnet.c149 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt()
150 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt()
397 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet6_kadt()
398 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet6_kadt()
A Dip_set_hash_netportnet.c159 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt()
160 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt()
452 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet6_kadt()
453 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet6_kadt()
A Dip_set_hash_net.c120 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt()
297 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt()
A Dip_set_hash_netiface.c164 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt()
388 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt()
A Dip_set_hash_netport.c136 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport4_kadt()
361 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport6_kadt()
A Dip_set_hash_ipportnet.c141 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet4_kadt()
395 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet6_kadt()
/linux/drivers/net/can/usb/
A Desd_usb2.c107 u8 nets; member
191 struct esd_usb2_net_priv *nets[ESD_USB2_MAX_NETS]; member
419 esd_usb2_tx_done_msg(dev->nets[msg->msg.txdone.net], in esd_usb2_read_bulk_callback()
440 if (dev->nets[i]) in esd_usb2_read_bulk_callback()
441 netif_device_detach(dev->nets[i]->netdev); in esd_usb2_read_bulk_callback()
513 static DEVICE_ATTR_RO(nets);
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()
1138 if (dev->nets[i]) { in esd_usb2_disconnect()
[all …]
/linux/drivers/net/can/usb/kvaser_usb/
A Dkvaser_usb_core.c321 if (!dev->nets[i]) in kvaser_usb_read_bulk_callback()
324 netif_device_detach(dev->nets[i]->netdev); in kvaser_usb_read_bulk_callback()
463 struct kvaser_usb_net_priv *priv = dev->nets[i]; in kvaser_usb_unlink_all_urbs()
639 if (!dev->nets[i]) in kvaser_usb_remove_interfaces()
642 unregister_candev(dev->nets[i]->netdev); in kvaser_usb_remove_interfaces()
648 if (!dev->nets[i]) in kvaser_usb_remove_interfaces()
651 free_candev(dev->nets[i]->netdev); in kvaser_usb_remove_interfaces()
715 dev->nets[channel] = priv; in kvaser_usb_init_one()
721 dev->nets[channel] = NULL; in kvaser_usb_init_one()
A Dkvaser_usb_leaf.c626 priv = dev->nets[channel]; in kvaser_usb_leaf_tx_acknowledge()
775 priv = dev->nets[es->channel]; in kvaser_usb_leaf_rx_error()
869 priv = dev->nets[channel]; in kvaser_usb_leaf_usbcan_conditionally_rx_error()
1004 priv = dev->nets[channel]; in kvaser_usb_leaf_rx_can_msg()
1090 priv = dev->nets[channel]; in kvaser_usb_leaf_start_chip_reply()
1113 priv = dev->nets[channel]; in kvaser_usb_leaf_stop_chip_reply()
A Dkvaser_usb.h86 struct kvaser_usb_net_priv *nets[KVASER_USB_MAX_NET_DEVICES]; member
A Dkvaser_usb_hydra.c505 priv = dev->nets[channel]; in kvaser_usb_hydra_net_priv_from_cmd()
/linux/net/appletalk/
A Dddp.c245 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_probe_device()
246 ntohs(atif->nets.nr_firstnet) + 1; in atif_probe_device()
253 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
281 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
293 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_proxy_probe_device()
294 ntohs(atif->nets.nr_firstnet) + 1; in atif_proxy_probe_device()
302 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
328 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
535 ntohs(iface->nets.nr_firstnet) && in atrtr_create()
537 ntohs(iface->nets.nr_lastnet)) in atrtr_create()
[all …]
A Datalk_proc.c72 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/include/linux/
A Datalk.h31 struct atalk_netrange nets; member
/linux/Documentation/trace/coresight/
A Dcoresight-ect.rst55 possible that systems can have nets of CTIs+CTM that are not interconnected by
/linux/Documentation/devicetree/bindings/arm/
A Dcoresight-cti.yaml106 separate CTI/CTM nets. Typically multi-socket systems where the CTM is
/linux/Documentation/admin-guide/laptops/
A Dthinkpad-acpi.rst582 wake up caused by the firmware will have negated most safety nets...

Completed in 44 milliseconds