Lines Matching defs:max_vectors
58 u16 i, max_vectors;
60 max_vectors = mrioc->intr_info_count;
62 for (i = 0; i < max_vectors; i++)
752 static void mpi3mr_calc_poll_queues(struct mpi3mr_ioc *mrioc, u16 max_vectors)
758 if (max_vectors > 2 &&
759 (mrioc->requested_poll_qcount < max_vectors - 2)) {
762 mrioc->requested_poll_qcount, max_vectors);
766 mrioc->requested_poll_qcount, max_vectors);
783 int max_vectors, min_vec;
794 max_vectors = 1;
796 1, max_vectors, irq_flags);
803 max_vectors =
807 mpi3mr_calc_poll_queues(mrioc, max_vectors);
814 max_vectors, mrioc->requested_poll_qcount);
821 min_vec, max_vectors, irq_flags, &desc);
836 else if (retval != (max_vectors)) {
839 retval, max_vectors);
842 max_vectors = retval;
843 mrioc->op_reply_q_offset = (max_vectors > 1) ? 1 : 0;
845 mpi3mr_calc_poll_queues(mrioc, max_vectors);
849 mrioc->intr_info = kzalloc(sizeof(struct mpi3mr_intr_info) * max_vectors,
856 for (i = 0; i < max_vectors; i++) {
865 mrioc->intr_info_count = max_vectors;