Searched refs:all_pg_count (Results 1 – 1 of 1) sorted by relevance
745 int all_pg_count = 0; in mtr_alloc_bufs() local778 all_pg_count = ib_umem_num_dma_blocks(mtr->umem, page_size); in mtr_alloc_bufs()796 all_pg_count = mtr->kmem->npages; in mtr_alloc_bufs()800 if (best_pg_shift < HNS_HW_PAGE_SHIFT || all_pg_count < 1) { in mtr_alloc_bufs()803 best_pg_shift, all_pg_count); in mtr_alloc_bufs()808 mtr->hem_cfg.buf_pg_count = all_pg_count; in mtr_alloc_bufs()