Lines Matching refs:quota
234 int quota; member
277 if (req < counts->quota) in count_spare_msis()
278 counts->spare += counts->quota - req; in count_spare_msis()
279 else if (req > counts->quota) in count_spare_msis()
316 counts.quota = total / counts.num_devices; in msi_quota_for_device()
317 if (request <= counts.quota) in msi_quota_for_device()
331 counts.quota += counts.spare / counts.over_quota; in msi_quota_for_device()
334 request = min(counts.quota, request); in msi_quota_for_device()
384 int hwirq, virq, i, quota, rc; in rtas_setup_msi_irqs() local
398 quota = msi_quota_for_device(pdev, nvec); in rtas_setup_msi_irqs()
400 if (quota && quota < nvec) in rtas_setup_msi_irqs()
401 return quota; in rtas_setup_msi_irqs()
412 quota = msi_quota_for_device(pdev, m); in rtas_setup_msi_irqs()
414 if (quota >= m) in rtas_setup_msi_irqs()