Home
last modified time | relevance | path

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

/linux/drivers/net/
H A 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/net/netfilter/ipset/
H A Dip_set_hash_gen.h101 u32 nets[IPSET_NET_COUNT]; /* number of elements for this cidr */ member
307 struct net_prefixes nets[NLEN]; /* book-keeping of prefixes */ member
332 for (i = 0, j = -1; i < NLEN && h->nets[i].cidr[n]; i++) { in mtype_add_cidr()
335 } else if (h->nets[i].cidr[n] < cidr) { in mtype_add_cidr()
337 } else if (h->nets[i].cidr[n] == cidr) { in mtype_add_cidr()
338 h->nets[CIDR_POS(cidr)].nets[n]++; in mtype_add_cidr()
344 h->nets[i].cidr[n] = h->nets[i - 1].cidr[n]; in mtype_add_cidr()
346 h->nets[ in mtype_add_cidr()
[all...]
H A Dip_set_hash_netnet.c152 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt()
153 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt()
391 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet6_kadt()
392 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet6_kadt()
H A Dip_set_hash_netportnet.c160 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt()
161 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt()
455 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet6_kadt()
456 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet6_kadt()
H A Dip_set_hash_net.c120 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt()
294 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt()
H A Dip_set_hash_netiface.c164 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt()
385 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt()
H A Dip_set_hash_netport.c136 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport4_kadt()
356 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport6_kadt()
H A Dip_set_hash_ipportnet.c141 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet4_kadt()
398 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet6_kadt()
/linux/net/appletalk/
H A Dddp.c258 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_probe_device()
259 ntohs(atif->nets.nr_firstnet) + 1; in atif_probe_device()
266 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
293 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_probe_device()
294 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
306 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_proxy_probe_device()
307 ntohs(atif->nets.nr_firstnet) + 1; in atif_proxy_probe_device()
315 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
340 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_proxy_probe_device()
341 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
[all …]
H 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/
H A Datalk.h22 * @nets - Associated direct netrange
31 struct atalk_netrange nets; member
/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_core.c369 priv = dev->nets[i]; in kvaser_usb_read_bulk_callback()
509 struct kvaser_usb_net_priv *priv = dev->nets[i]; in kvaser_usb_unlink_all_urbs()
804 priv = dev->nets[i]; in kvaser_usb_remove_interfaces()
814 priv = dev->nets[i]; in kvaser_usb_remove_interfaces()
890 dev->nets[channel] = priv; in kvaser_usb_init_one()
918 dev->nets[channel] = NULL; in kvaser_usb_init_one()
H A Dkvaser_usb_leaf.c1023 priv = dev->nets[channel]; in kvaser_usb_leaf_tx_acknowledge()
1202 priv = dev->nets[es->channel]; in kvaser_usb_leaf_rx_error()
1307 priv = dev->nets[channel]; in kvaser_usb_leaf_usbcan_conditionally_rx_error()
1443 priv = dev->nets[channel]; in kvaser_usb_leaf_rx_can_msg()
1601 priv = dev->nets[channel]; in kvaser_usb_leaf_start_chip_reply()
1624 priv = dev->nets[channel]; in kvaser_usb_leaf_stop_chip_reply()
1641 priv = dev->nets[channel]; in kvaser_usb_leaf_get_busparams_reply()
H A Dkvaser_usb.h108 struct kvaser_usb_net_priv *nets[KVASER_USB_MAX_NET_DEVICES]; member
H A Dkvaser_usb_hydra.c550 priv = dev->nets[channel]; in kvaser_usb_hydra_net_priv_from_cmd()
/linux/drivers/gpio/
H A Dgpio-cros-ec.c23 /* Prefix all names to avoid collisions with EC <-> AP nets */
/linux/drivers/cpuidle/governors/
H A Dteo.c167 * If one of the safety nets has triggered, assume that this in teo_update()
514 * safety nets. in teo_reflect()
/linux/Documentation/trace/coresight/
H A Dcoresight-ect.rst55 possible that systems can have nets of CTIs+CTM that are not interconnected by
/linux/net/mctp/test/
H A Dsock-test.c271 /* ADDR_ANY different nets, OK */
H A Droute-test.c610 /* Test that skbs from different nets (otherwise identical) get routed to their
691 /* test that skbs from different nets (otherwise identical) get routed to their
/linux/drivers/net/can/softing/
H A Dsofting_main.c767 dev_warn(&pdev->dev, "%u nets??\n", pdat->nbus); in softing_pdev_probe()
/linux/net/core/
H A Dnet_namespace.c683 * between net_kill_list's nets, as they've already in cleanup_net()
/linux/Documentation/admin-guide/laptops/
H A Dthinkpad-acpi.rst592 wake up caused by the firmware will have negated most safety nets...
/linux/fs/btrfs/
H A Dscrub.c1180 * faster and we have extra safety nets to rely on. in scrub_stripe_read_repair_worker()