Lines Matching refs:scif_info

248 			scif_dev[scif_info.nodeid].node, scifdev->node);  in scif_setup_qp_connect_response()
320 msg.src.node = scif_info.nodeid; in scif_send_exit()
326 wait_event_timeout(scif_info.exitwq, scifdev->exit == OP_COMPLETED, in scif_send_exit()
472 if (dst < 1 || dst > scif_info.maxid) in scif_node_connect()
540 if (!scif_info.p2p_enable) in scif_p2p_setup()
543 for (i = 1; i <= scif_info.maxid; i++) in scif_p2p_setup()
547 for (i = 1; i <= scif_info.maxid; i++) { in scif_p2p_setup()
548 for (j = 1; j <= scif_info.maxid; j++) { in scif_p2p_setup()
604 if (!scif_info.en_msg_log) in scif_display_message()
722 mutex_lock(&scif_info.conflock); in scif_init()
724 mutex_unlock(&scif_info.conflock); in scif_init()
759 wake_up(&scif_info.exitwq); in scif_exit_ack()
834 msg->src.node = scif_info.nodeid; in scif_node_add()
851 msg->src.node = scif_info.nodeid; in scif_node_add()
914 mutex_lock(&scif_info.conflock); in scif_node_add_ack()
915 msg->payload[1] = scif_info.maxid; in scif_node_add_ack()
917 mutex_unlock(&scif_info.conflock); in scif_node_add_ack()
1000 mutex_lock(&scif_info.conflock); in scif_get_node_info_resp()
1001 msg->payload[1] = scif_info.maxid; in scif_get_node_info_resp()
1002 msg->payload[2] = scif_info.total; in scif_get_node_info_resp()
1003 mutex_unlock(&scif_info.conflock); in scif_get_node_info_resp()
1009 mutex_lock(&scif_info.conflock); in scif_get_node_info_resp()
1010 scif_info.maxid = msg->payload[1]; in scif_get_node_info_resp()
1011 scif_info.total = msg->payload[2]; in scif_get_node_info_resp()
1013 mutex_unlock(&scif_info.conflock); in scif_get_node_info_resp()
1139 struct scif_dev *scifdev = scif_info.loopb_dev; in scif_loopb_wq_handler()
1146 if (!list_empty(&scif_info.loopb_recv_q)) { in scif_loopb_wq_handler()
1147 msg = list_first_entry(&scif_info.loopb_recv_q, in scif_loopb_wq_handler()
1211 list_add_tail(&msg->list, &scif_info.loopb_recv_q); in scif_loopb_msg_handler()
1213 queue_work(scif_info.loopb_wq, &scif_info.loopb_work); in scif_loopb_msg_handler()
1234 INIT_LIST_HEAD(&scif_info.loopb_recv_q); in scif_setup_loopback_qp()
1235 snprintf(scif_info.loopb_wqname, sizeof(scif_info.loopb_wqname), in scif_setup_loopback_qp()
1237 scif_info.loopb_wq = in scif_setup_loopback_qp()
1238 alloc_ordered_workqueue(scif_info.loopb_wqname, 0); in scif_setup_loopback_qp()
1239 if (!scif_info.loopb_wq) { in scif_setup_loopback_qp()
1243 INIT_WORK(&scif_info.loopb_work, scif_loopb_wq_handler); in scif_setup_loopback_qp()
1275 scif_info.nodeid = scifdev->node; in scif_setup_loopback_qp()
1279 scif_info.loopb_dev = scifdev; in scif_setup_loopback_qp()
1284 destroy_workqueue(scif_info.loopb_wq); in scif_setup_loopback_qp()
1300 destroy_workqueue(scif_info.loopb_wq); in scif_destroy_loopback_qp()
1305 scif_info.loopb_dev = NULL; in scif_destroy_loopback_qp()
1316 mutex_lock(&scif_info.conflock); in scif_destroy_p2p()
1333 for (bd = SCIF_MGMT_NODE + 1; bd <= scif_info.maxid; bd++) { in scif_destroy_p2p()
1353 mutex_unlock(&scif_info.conflock); in scif_destroy_p2p()