Lines Matching refs:active
75 struct rio_dev **active; member
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()
243 nets[netid].active[sid] = peer->rdev; in rionet_dbell_event()
254 if (nets[netid].active[sid]) { in rionet_dbell_event()
255 nets[netid].active[sid] = NULL; in rionet_dbell_event()
386 if (nets[netid].active[peer->rdev->destid]) { in rionet_close()
388 nets[netid].active[peer->rdev->destid] = NULL; in rionet_close()
418 if (nets[netid].active[rdev->destid]) { in rionet_remove_dev()
425 nets[netid].active[rdev->destid] = NULL; in rionet_remove_dev()
490 nets[mport->id].active = (struct rio_dev **)__get_free_pages(GFP_KERNEL, in rionet_setup_netdev()
492 if (!nets[mport->id].active) { in rionet_setup_netdev()
496 memset((void *)nets[mport->id].active, 0, rionet_active_bytes); in rionet_setup_netdev()
529 free_pages((unsigned long)nets[mport->id].active, in rionet_setup_netdev()
653 if (nets[i].active[peer->rdev->destid]) { in rionet_shutdown()
656 nets[i].active[peer->rdev->destid] = NULL; in rionet_shutdown()
684 free_pages((unsigned long)nets[id].active, in rionet_remove_mport()
687 nets[id].active = NULL; in rionet_remove_mport()