Searched refs:max_wqs (Results 1 – 4 of 4) sorted by relevance
304 int hinic_wqs_alloc(struct hinic_wqs *wqs, int max_wqs, in hinic_wqs_alloc() argument310 max_wqs = ALIGN(max_wqs, WQS_BLOCKS_PER_PAGE); in hinic_wqs_alloc()311 if (max_wqs > WQS_MAX_NUM_BLOCKS) { in hinic_wqs_alloc()312 dev_err(&pdev->dev, "Invalid max_wqs = %d\n", max_wqs); in hinic_wqs_alloc()317 wqs->num_pages = max_wqs / WQS_BLOCKS_PER_PAGE; in hinic_wqs_alloc()
84 int max_wqs; member
61 if (WARN_ON(entry->n_wqs == entry->max_wqs)) in wq_table_add()85 memset(entry->wqs, 0, entry->max_wqs * sizeof(struct idxd_wq *)); in wq_table_clear_entry()710 static int alloc_wq_table(int max_wqs) in alloc_wq_table() argument721 entry->wqs = kzalloc_objs(*entry->wqs, max_wqs); in alloc_wq_table()727 entry->max_wqs = max_wqs; in alloc_wq_table()1749 ret = alloc_wq_table(wq->idxd->max_wqs); in iaa_crypto_probe()
47 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_reinit()474 for (i = 0; i < idxd->max_wqs; i++) { in idxd_misc_thread()