Lines Matching refs:min_t

340 	vmdq_i = min_t(u16, vmdq_i, MAX_TX_QUEUES / tcs);  in ixgbe_set_dcb_sriov_queues()
347 vmdq_i = min_t(u16, vmdq_i, 16); in ixgbe_set_dcb_sriov_queues()
351 vmdq_i = min_t(u16, vmdq_i, 32); in ixgbe_set_dcb_sriov_queues()
391 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_dcb_sriov_queues()
439 rss_i = min_t(u16, rss_i, 4); in ixgbe_set_dcb_queues()
443 rss_i = min_t(u16, rss_i, 8); in ixgbe_set_dcb_queues()
447 rss_i = min_t(u16, rss_i, 16); in ixgbe_set_dcb_queues()
453 rss_i = min_t(int, rss_i, f->limit); in ixgbe_set_dcb_queues()
470 f->indices = min_t(u16, rss_i, f->limit); in ixgbe_set_dcb_queues()
510 rss_i = min_t(u16, rss_i, MAX_TX_QUEUES / vmdq_i); in ixgbe_set_sriov_queues()
516 vmdq_i = min_t(u16, IXGBE_MAX_VMDQ_INDICES, vmdq_i); in ixgbe_set_sriov_queues()
522 rss_i = min_t(u16, rss_i, 2); in ixgbe_set_sriov_queues()
569 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
577 fcoe_i = min_t(u16, fcoe_i + rss_i, num_online_cpus()); in ixgbe_set_sriov_queues()
584 fcoe->indices = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
669 fcoe_i = min_t(u16, f->limit + rss_i, num_online_cpus()); in ixgbe_set_rss_queues()
670 fcoe_i = min_t(u16, fcoe_i, dev->num_tx_queues); in ixgbe_set_rss_queues()
677 f->indices = min_t(u16, fcoe_i, f->limit); in ixgbe_set_rss_queues()
748 vectors = min_t(int, vectors, num_online_cpus()); in ixgbe_acquire_msix_vectors()
759 vectors = min_t(int, vectors, hw->mac.max_msix_vectors); in ixgbe_acquire_msix_vectors()
801 adapter->num_q_vectors = min_t(int, vectors, adapter->max_q_vectors); in ixgbe_acquire_msix_vectors()