nets              107 drivers/net/can/usb/esd_usb2.c 	u8 nets;
nets              191 drivers/net/can/usb/esd_usb2.c 	struct esd_usb2_net_priv *nets[ESD_USB2_MAX_NETS];
nets              407 drivers/net/can/usb/esd_usb2.c 			esd_usb2_rx_can_msg(dev->nets[msg->msg.rx.net], msg);
nets              416 drivers/net/can/usb/esd_usb2.c 			esd_usb2_tx_done_msg(dev->nets[msg->msg.txdone.net],
nets              437 drivers/net/can/usb/esd_usb2.c 			if (dev->nets[i])
nets              438 drivers/net/can/usb/esd_usb2.c 				netif_device_detach(dev->nets[i]->netdev);
nets              510 drivers/net/can/usb/esd_usb2.c static DEVICE_ATTR(nets, 0444, show_nets, NULL);
nets              666 drivers/net/can/usb/esd_usb2.c 		priv = dev->nets[i];
nets             1021 drivers/net/can/usb/esd_usb2.c 	dev->nets[index] = priv;
nets             1078 drivers/net/can/usb/esd_usb2.c 	dev->net_count = (int)msg->msg.version_reply.nets;
nets             1122 drivers/net/can/usb/esd_usb2.c 			if (dev->nets[i]) {
nets             1123 drivers/net/can/usb/esd_usb2.c 				netdev = dev->nets[i]->netdev;
nets               86 drivers/net/can/usb/kvaser_usb/kvaser_usb.h 	struct kvaser_usb_net_priv *nets[KVASER_USB_MAX_NET_DEVICES];
nets              299 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c 			if (!dev->nets[i])
nets              302 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c 			netif_device_detach(dev->nets[i]->netdev);
nets              441 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c 		struct kvaser_usb_net_priv *priv = dev->nets[i];
nets              617 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c 		if (!dev->nets[i])
nets              620 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c 		unregister_candev(dev->nets[i]->netdev);
nets              626 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c 		if (!dev->nets[i])
nets              629 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c 		free_candev(dev->nets[i]->netdev);
nets              693 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c 	dev->nets[channel] = priv;
nets              699 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c 		dev->nets[channel] = NULL;
nets              479 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 		priv = dev->nets[channel];
nets              560 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	priv = dev->nets[channel];
nets              709 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	priv = dev->nets[es->channel];
nets              803 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	priv = dev->nets[channel];
nets              938 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	priv = dev->nets[channel];
nets             1024 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	priv = dev->nets[channel];
nets             1047 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	priv = dev->nets[channel];
nets               79 drivers/net/rionet.c static struct rionet_net nets[RIONET_MAX_NETS];
nets              181 drivers/net/rionet.c 		add_num = nets[rnet->mport->id].nact;
nets              196 drivers/net/rionet.c 			if (nets[rnet->mport->id].active[i]) {
nets              198 drivers/net/rionet.c 					nets[rnet->mport->id].active[i]);
nets              205 drivers/net/rionet.c 		if (nets[rnet->mport->id].active[destid])
nets              207 drivers/net/rionet.c 					nets[rnet->mport->id].active[destid]);
nets              238 drivers/net/rionet.c 		if (!nets[netid].active[sid]) {
nets              239 drivers/net/rionet.c 			spin_lock(&nets[netid].lock);
nets              240 drivers/net/rionet.c 			list_for_each_entry(peer, &nets[netid].peers, node) {
nets              242 drivers/net/rionet.c 					nets[netid].active[sid] = peer->rdev;
nets              243 drivers/net/rionet.c 					nets[netid].nact++;
nets              246 drivers/net/rionet.c 			spin_unlock(&nets[netid].lock);
nets              252 drivers/net/rionet.c 		spin_lock(&nets[netid].lock);
nets              253 drivers/net/rionet.c 		if (nets[netid].active[sid]) {
nets              254 drivers/net/rionet.c 			nets[netid].active[sid] = NULL;
nets              255 drivers/net/rionet.c 			nets[netid].nact--;
nets              257 drivers/net/rionet.c 		spin_unlock(&nets[netid].lock);
nets              353 drivers/net/rionet.c 	spin_lock_irqsave(&nets[netid].lock, flags);
nets              354 drivers/net/rionet.c 	list_for_each_entry(peer, &nets[netid].peers, node) {
nets              358 drivers/net/rionet.c 	spin_unlock_irqrestore(&nets[netid].lock, flags);
nets              383 drivers/net/rionet.c 	spin_lock_irqsave(&nets[netid].lock, flags);
nets              384 drivers/net/rionet.c 	list_for_each_entry(peer, &nets[netid].peers, node) {
nets              385 drivers/net/rionet.c 		if (nets[netid].active[peer->rdev->destid]) {
nets              387 drivers/net/rionet.c 			nets[netid].active[peer->rdev->destid] = NULL;
nets              392 drivers/net/rionet.c 	spin_unlock_irqrestore(&nets[netid].lock, flags);
nets              413 drivers/net/rionet.c 	spin_lock_irqsave(&nets[netid].lock, flags);
nets              414 drivers/net/rionet.c 	list_for_each_entry(peer, &nets[netid].peers, node) {
nets              417 drivers/net/rionet.c 			if (nets[netid].active[rdev->destid]) {
nets              424 drivers/net/rionet.c 				nets[netid].active[rdev->destid] = NULL;
nets              425 drivers/net/rionet.c 				nets[netid].nact--;
nets              431 drivers/net/rionet.c 	spin_unlock_irqrestore(&nets[netid].lock, flags);
nets              488 drivers/net/rionet.c 	nets[mport->id].active = (struct rio_dev **)__get_free_pages(GFP_KERNEL,
nets              490 drivers/net/rionet.c 	if (!nets[mport->id].active) {
nets              494 drivers/net/rionet.c 	memset((void *)nets[mport->id].active, 0, rionet_active_bytes);
nets              526 drivers/net/rionet.c 		free_pages((unsigned long)nets[mport->id].active,
nets              560 drivers/net/rionet.c 	if (!nets[netid].ndev) {
nets              587 drivers/net/rionet.c 		INIT_LIST_HEAD(&nets[netid].peers);
nets              588 drivers/net/rionet.c 		spin_lock_init(&nets[netid].lock);
nets              589 drivers/net/rionet.c 		nets[netid].nact = 0;
nets              590 drivers/net/rionet.c 		nets[netid].ndev = ndev;
nets              601 drivers/net/rionet.c 		rnet = netdev_priv(nets[netid].ndev);
nets              619 drivers/net/rionet.c 		spin_lock_irqsave(&nets[netid].lock, flags);
nets              620 drivers/net/rionet.c 		list_add_tail(&peer->node, &nets[netid].peers);
nets              621 drivers/net/rionet.c 		spin_unlock_irqrestore(&nets[netid].lock, flags);
nets              645 drivers/net/rionet.c 		if (!nets[i].ndev)
nets              648 drivers/net/rionet.c 		spin_lock_irqsave(&nets[i].lock, flags);
nets              649 drivers/net/rionet.c 		list_for_each_entry(peer, &nets[i].peers, node) {
nets              650 drivers/net/rionet.c 			if (nets[i].active[peer->rdev->destid]) {
nets              653 drivers/net/rionet.c 				nets[i].active[peer->rdev->destid] = NULL;
nets              656 drivers/net/rionet.c 		spin_unlock_irqrestore(&nets[i].lock, flags);
nets              671 drivers/net/rionet.c 	WARN(nets[id].nact, "%s called when connected to %d peers\n",
nets              672 drivers/net/rionet.c 	     __func__, nets[id].nact);
nets              673 drivers/net/rionet.c 	WARN(!nets[id].ndev, "%s called for mport without NDEV\n",
nets              676 drivers/net/rionet.c 	if (nets[id].ndev) {
nets              677 drivers/net/rionet.c 		ndev = nets[id].ndev;
nets              681 drivers/net/rionet.c 		free_pages((unsigned long)nets[id].active,
nets              684 drivers/net/rionet.c 		nets[id].active = NULL;
nets              686 drivers/net/rionet.c 		nets[id].ndev = NULL;
nets               31 include/linux/atalk.h 	struct atalk_netrange	nets;
nets               72 net/appletalk/atalk_proc.c 		   iface->address.s_node, ntohs(iface->nets.nr_firstnet),
nets               73 net/appletalk/atalk_proc.c 		   ntohs(iface->nets.nr_lastnet), iface->status);
nets              244 net/appletalk/ddp.c 	int netrange = ntohs(atif->nets.nr_lastnet) -
nets              245 net/appletalk/ddp.c 			ntohs(atif->nets.nr_firstnet) + 1;
nets              252 net/appletalk/ddp.c 		probe_net = ntohs(atif->nets.nr_firstnet);
nets              279 net/appletalk/ddp.c 		if (probe_net > ntohs(atif->nets.nr_lastnet))
nets              280 net/appletalk/ddp.c 			probe_net = ntohs(atif->nets.nr_firstnet);
nets              292 net/appletalk/ddp.c 	int netrange = ntohs(atif->nets.nr_lastnet) -
nets              293 net/appletalk/ddp.c 			ntohs(atif->nets.nr_firstnet) + 1;
nets              301 net/appletalk/ddp.c 		probe_net = ntohs(atif->nets.nr_firstnet);
nets              326 net/appletalk/ddp.c 		if (probe_net > ntohs(atif->nets.nr_lastnet))
nets              327 net/appletalk/ddp.c 			probe_net = ntohs(atif->nets.nr_firstnet);
nets              409 net/appletalk/ddp.c 		    ntohs(iface->nets.nr_firstnet) <= ntohs(net) &&
nets              410 net/appletalk/ddp.c 		    ntohs(net) <= ntohs(iface->nets.nr_lastnet))
nets              534 net/appletalk/ddp.c 					ntohs(iface->nets.nr_firstnet) &&
nets              536 net/appletalk/ddp.c 					ntohs(iface->nets.nr_lastnet))
nets              729 net/appletalk/ddp.c 		atif->nets = *nr;
nets              827 net/appletalk/ddp.c 		nr = (struct atalk_netrange *)&(atif->nets);
nets              125 net/netfilter/ipset/ip_set_hash_gen.h 	u32 nets[IPSET_NET_COUNT]; /* number of elements for this cidr */
nets              333 net/netfilter/ipset/ip_set_hash_gen.h 	struct net_prefixes nets[NLEN]; /* book-keeping of prefixes */
nets              358 net/netfilter/ipset/ip_set_hash_gen.h 	for (i = 0, j = -1; i < NLEN && h->nets[i].cidr[n]; i++) {
nets              361 net/netfilter/ipset/ip_set_hash_gen.h 		} else if (h->nets[i].cidr[n] < cidr) {
nets              363 net/netfilter/ipset/ip_set_hash_gen.h 		} else if (h->nets[i].cidr[n] == cidr) {
nets              364 net/netfilter/ipset/ip_set_hash_gen.h 			h->nets[CIDR_POS(cidr)].nets[n]++;
nets              370 net/netfilter/ipset/ip_set_hash_gen.h 			h->nets[i].cidr[n] = h->nets[i - 1].cidr[n];
nets              372 net/netfilter/ipset/ip_set_hash_gen.h 	h->nets[i].cidr[n] = cidr;
nets              373 net/netfilter/ipset/ip_set_hash_gen.h 	h->nets[CIDR_POS(cidr)].nets[n] = 1;
nets              385 net/netfilter/ipset/ip_set_hash_gen.h 		if (h->nets[i].cidr[n] != cidr)
nets              387 net/netfilter/ipset/ip_set_hash_gen.h 		h->nets[CIDR_POS(cidr)].nets[n]--;
nets              388 net/netfilter/ipset/ip_set_hash_gen.h 		if (h->nets[CIDR_POS(cidr)].nets[n] > 0)
nets              390 net/netfilter/ipset/ip_set_hash_gen.h 		for (j = i; j < net_end && h->nets[j].cidr[n]; j++)
nets              391 net/netfilter/ipset/ip_set_hash_gen.h 			h->nets[j].cidr[n] = h->nets[j + 1].cidr[n];
nets              392 net/netfilter/ipset/ip_set_hash_gen.h 		h->nets[j].cidr[n] = 0;
nets              449 net/netfilter/ipset/ip_set_hash_gen.h 	memset(h->nets, 0, sizeof(h->nets));
nets             1187 net/netfilter/ipset/ip_set_hash_gen.h 	for (; j < NLEN && h->nets[j].cidr[0] && !multi; j++) {
nets             1190 net/netfilter/ipset/ip_set_hash_gen.h 		mtype_data_netmask(d, NCIDR_GET(h->nets[j].cidr[0]), false);
nets             1191 net/netfilter/ipset/ip_set_hash_gen.h 		for (k = 0; k < NLEN && h->nets[k].cidr[1] && !multi;
nets             1193 net/netfilter/ipset/ip_set_hash_gen.h 			mtype_data_netmask(d, NCIDR_GET(h->nets[k].cidr[1]),
nets             1196 net/netfilter/ipset/ip_set_hash_gen.h 		mtype_data_netmask(d, NCIDR_GET(h->nets[j].cidr[0]));
nets              140 net/netfilter/ipset/ip_set_hash_ipportnet.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
nets              391 net/netfilter/ipset/ip_set_hash_ipportnet.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
nets              119 net/netfilter/ipset/ip_set_hash_net.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
nets              287 net/netfilter/ipset/ip_set_hash_net.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
nets              158 net/netfilter/ipset/ip_set_hash_netiface.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
nets              368 net/netfilter/ipset/ip_set_hash_netiface.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
nets              148 net/netfilter/ipset/ip_set_hash_netnet.c 	e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK);
nets              149 net/netfilter/ipset/ip_set_hash_netnet.c 	e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK);
nets              382 net/netfilter/ipset/ip_set_hash_netnet.c 	e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK);
nets              383 net/netfilter/ipset/ip_set_hash_netnet.c 	e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK);
nets              135 net/netfilter/ipset/ip_set_hash_netport.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
nets              351 net/netfilter/ipset/ip_set_hash_netport.c 		.cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK),
nets              158 net/netfilter/ipset/ip_set_hash_netportnet.c 	e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK);
nets              159 net/netfilter/ipset/ip_set_hash_netportnet.c 	e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK);
nets              437 net/netfilter/ipset/ip_set_hash_netportnet.c 	e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK);
nets              438 net/netfilter/ipset/ip_set_hash_netportnet.c 	e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK);