Lines Matching refs:qp_count

209 	unsigned int qp_count;  member
590 unsigned int mw_num, mw_count, qp_count; in ntb_transport_setup_qp_mw() local
594 qp_count = nt->qp_count; in ntb_transport_setup_qp_mw()
602 if (qp_count % mw_count && mw_num + 1 < qp_count / mw_count) in ntb_transport_setup_qp_mw()
603 num_qps_mw = qp_count / mw_count + 1; in ntb_transport_setup_qp_mw()
605 num_qps_mw = qp_count / mw_count; in ntb_transport_setup_qp_mw()
773 for (i = 0; i < nt->qp_count; i++) in ntb_transport_link_cleanup()
836 ntb_peer_spad_write(ndev, NUM_QPS, nt->qp_count); in ntb_transport_link_work()
848 if (val != nt->qp_count) in ntb_transport_link_work()
874 for (i = 0; i < nt->qp_count; i++) { in ntb_transport_link_work()
934 unsigned int mw_num, mw_count, qp_count; in ntb_transport_init_queue() local
938 qp_count = nt->qp_count; in ntb_transport_init_queue()
950 if (qp_count % mw_count && mw_num + 1 < qp_count / mw_count) in ntb_transport_init_queue()
951 num_qps_mw = qp_count / mw_count + 1; in ntb_transport_init_queue()
953 num_qps_mw = qp_count / mw_count; in ntb_transport_init_queue()
1012 unsigned int mw_count, qp_count; in ntb_transport_probe() local
1065 qp_count = ilog2(qp_bitmap); in ntb_transport_probe()
1066 if (max_num_clients && max_num_clients < qp_count) in ntb_transport_probe()
1067 qp_count = max_num_clients; in ntb_transport_probe()
1068 else if (mw_count < qp_count) in ntb_transport_probe()
1069 qp_count = mw_count; in ntb_transport_probe()
1071 qp_bitmap &= BIT_ULL(qp_count) - 1; in ntb_transport_probe()
1073 nt->qp_count = qp_count; in ntb_transport_probe()
1077 nt->qp_vec = kzalloc_node(qp_count * sizeof(*nt->qp_vec), in ntb_transport_probe()
1090 for (i = 0; i < qp_count; i++) { in ntb_transport_probe()
1143 for (i = 0; i < nt->qp_count; i++) { in ntb_transport_free()