Lines Matching refs:dev_i
463 struct scif_dev *dev_i = NULL; in scif_node_connect() local
475 dev_i = &scif_dev[dst]; in scif_node_connect()
477 if (!_scifdev_alive(dev_i)) in scif_node_connect()
484 if (!list_empty(&dev_i->p2p)) { in scif_node_connect()
485 list_for_each_safe(pos, tmp, &dev_i->p2p) { in scif_node_connect()
491 p2p_ij = scif_init_p2p_info(dev_i, dev_j); in scif_node_connect()
494 p2p_ji = scif_init_p2p_info(dev_j, dev_i); in scif_node_connect()
496 scif_deinit_p2p_info(dev_i, p2p_ij); in scif_node_connect()
499 list_add_tail(&p2p_ij->ppi_list, &dev_i->p2p); in scif_node_connect()
508 msg.dst.node = dev_i->node; in scif_node_connect()
515 err = scif_nodeqp_send(dev_i, &msg); in scif_node_connect()
524 msg.src.node = dev_i->node; in scif_node_connect()