Lines Matching refs:netid
402 unsigned char netid = rdev->net->hport->id; in rionet_remove_dev() local
406 list_for_each_entry_safe(peer, tmp, &nets[netid].peers, node) { in rionet_remove_dev()
408 if (nets[netid].active[rdev->destid]) { in rionet_remove_dev()
409 nets[netid].active[rdev->destid] = NULL; in rionet_remove_dev()
410 nets[netid].nact--; in rionet_remove_dev()
527 unsigned char netid = rdev->net->hport->id; in rionet_add_dev() local
530 if (netid >= RIONET_MAX_NETS) in rionet_add_dev()
533 oldnet = test_and_set_bit(netid, net_table); in rionet_add_dev()
558 nets[netid].ndev = ndev; in rionet_add_dev()
566 INIT_LIST_HEAD(&nets[netid].peers); in rionet_add_dev()
567 nets[netid].nact = 0; in rionet_add_dev()
568 } else if (nets[netid].ndev == NULL) in rionet_add_dev()
581 list_add_tail(&peer->node, &nets[netid].peers); in rionet_add_dev()