Searched refs:num_q_pages (Results 1 – 4 of 4) sorted by relevance
90 & ((wq)->num_q_pages - 1)); in WQE_PAGE_NUM()381 wq->shadow_wqe = devm_kcalloc(&pdev->dev, wq->num_q_pages, in alloc_wqes_shadow()386 wq->shadow_idx = devm_kcalloc(&pdev->dev, wq->num_q_pages, in alloc_wqes_shadow()418 int num_q_pages) in free_wq_pages() argument423 for (i = 0; i < num_q_pages; i++) { in free_wq_pages()448 int i, err, num_q_pages; in alloc_wq_pages() local450 num_q_pages = ALIGN(WQ_SIZE(wq), wq->wq_page_size) / wq->wq_page_size; in alloc_wq_pages()451 if (num_q_pages > max_pages) { in alloc_wq_pages()456 if (num_q_pages & (num_q_pages - 1)) { in alloc_wq_pages()461 wq->num_q_pages = num_q_pages; in alloc_wq_pages()[all …]
40 int num_q_pages; member
713 if (wq->num_q_pages != 1) { in cmdq_init_queue_ctxt()
112 if (wq->num_q_pages == 1) in hinic_sq_prepare_ctxt()