Home
last modified time | relevance | path

Searched full:nets (Results 1 – 25 of 25) sorted by relevance

/Linux-v6.1/drivers/net/
Drionet.c79 static struct rionet_net nets[RIONET_MAX_NETS]; variable
182 add_num = nets[rnet->mport->id].nact; in rionet_start_xmit()
197 if (nets[rnet->mport->id].active[i]) { in rionet_start_xmit()
199 nets[rnet->mport->id].active[i]); in rionet_start_xmit()
206 if (nets[rnet->mport->id].active[destid]) in rionet_start_xmit()
208 nets[rnet->mport->id].active[destid]); in rionet_start_xmit()
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()
[all …]
/Linux-v6.1/net/netfilter/ipset/
Dip_set_hash_gen.h100 u32 nets[IPSET_NET_COUNT]; /* number of elements for this cidr */ member
292 struct net_prefixes nets[NLEN]; /* book-keeping of prefixes */ member
317 for (i = 0, j = -1; i < NLEN && h->nets[i].cidr[n]; i++) { in mtype_add_cidr()
320 } else if (h->nets[i].cidr[n] < cidr) { in mtype_add_cidr()
322 } else if (h->nets[i].cidr[n] == cidr) { in mtype_add_cidr()
323 h->nets[CIDR_POS(cidr)].nets[n]++; in mtype_add_cidr()
329 h->nets[i].cidr[n] = h->nets[i - 1].cidr[n]; in mtype_add_cidr()
331 h->nets[i].cidr[n] = cidr; in mtype_add_cidr()
332 h->nets[CIDR_POS(cidr)].nets[n] = 1; in mtype_add_cidr()
344 if (h->nets[i].cidr[n] != cidr) in mtype_del_cidr()
[all …]
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()
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()
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()
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()
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()
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-v6.1/drivers/net/can/usb/
Desd_usb.c33 /* Maximum number of CAN nets */
115 u8 nets; member
198 struct esd_usb_net_priv *nets[ESD_USB_MAX_NETS]; member
421 esd_usb_rx_can_msg(dev->nets[msg->msg.rx.net], msg); in esd_usb_read_bulk_callback()
430 esd_usb_tx_done_msg(dev->nets[msg->msg.txdone.net], in esd_usb_read_bulk_callback()
451 if (dev->nets[i]) in esd_usb_read_bulk_callback()
452 netif_device_detach(dev->nets[i]->netdev); in esd_usb_read_bulk_callback()
520 static DEVICE_ATTR_RO(nets);
685 priv = dev->nets[i]; in unlink_all_urbs()
1042 dev->nets[index] = priv; in esd_usb_probe_one_net()
[all …]
/Linux-v6.1/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_core.c354 if (!dev->nets[i]) in kvaser_usb_read_bulk_callback()
357 netif_device_detach(dev->nets[i]->netdev); in kvaser_usb_read_bulk_callback()
497 struct kvaser_usb_net_priv *priv = dev->nets[i]; in kvaser_usb_unlink_all_urbs()
690 if (!dev->nets[i]) in kvaser_usb_remove_interfaces()
693 unregister_candev(dev->nets[i]->netdev); in kvaser_usb_remove_interfaces()
699 if (!dev->nets[i]) in kvaser_usb_remove_interfaces()
702 free_candev(dev->nets[i]->netdev); in kvaser_usb_remove_interfaces()
773 dev->nets[channel] = priv; in kvaser_usb_init_one()
779 dev->nets[channel] = NULL; in kvaser_usb_init_one()
Dkvaser_usb_leaf.c714 priv = dev->nets[channel]; in kvaser_usb_leaf_tx_acknowledge()
860 priv = dev->nets[es->channel]; in kvaser_usb_leaf_rx_error()
955 priv = dev->nets[channel]; in kvaser_usb_leaf_usbcan_conditionally_rx_error()
1090 priv = dev->nets[channel]; in kvaser_usb_leaf_rx_can_msg()
1177 priv = dev->nets[channel]; in kvaser_usb_leaf_start_chip_reply()
1200 priv = dev->nets[channel]; in kvaser_usb_leaf_stop_chip_reply()
Dkvaser_usb.h82 struct kvaser_usb_net_priv *nets[KVASER_USB_MAX_NET_DEVICES]; member
Dkvaser_usb_hydra.c507 priv = dev->nets[channel]; in kvaser_usb_hydra_net_priv_from_cmd()
/Linux-v6.1/net/appletalk/
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()
280 if (probe_net > ntohs(atif->nets.nr_lastnet)) 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()
327 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_proxy_probe_device()
328 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
[all …]
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-v6.1/include/linux/
Datalk.h22 * @nets - Associated direct netrange
31 struct atalk_netrange nets; member
/Linux-v6.1/drivers/cpuidle/governors/
Dteo.c168 * One of the safety nets has triggered or the wakeup was close in teo_update()
490 * nets, assume that the CPU might have been idle for the entire sleep in teo_reflect()
/Linux-v6.1/Documentation/trace/coresight/
Dcoresight-ect.rst55 possible that systems can have nets of CTIs+CTM that are not interconnected by
/Linux-v6.1/Documentation/devicetree/bindings/arm/
Darm,coresight-cti.yaml108 separate CTI/CTM nets. Typically multi-socket systems where the CTM is
/Linux-v6.1/drivers/net/can/softing/
Dsofting_main.c768 dev_warn(&pdev->dev, "%u nets??\n", pdat->nbus); in softing_pdev_probe()
/Linux-v6.1/net/core/
Dnet_namespace.c575 * between net_kill_list's nets, as they've already in cleanup_net()
/Linux-v6.1/drivers/net/ppp/
Dpppoe.c97 * nets by injecting net id into the hash but
/Linux-v6.1/Documentation/admin-guide/laptops/
Dthinkpad-acpi.rst582 wake up caused by the firmware will have negated most safety nets...
/Linux-v6.1/drivers/staging/rtl8192e/
Drtllib_softmac.c1401 * Here we will check if there are good nets to associate in rtllib_associate_abort()
/Linux-v6.1/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c1168 * Here we will check if there are good nets to associate in ieee80211_associate_abort()