Lines Matching refs:max_items
72 unsigned long max_items;
348 pool->max_items = fastreg_pool_size;
349 pool->max_free_pinned = pool->max_items * pool->max_message_size / 4;
352 /* We never allow more than max_items MRs to be allocated.
355 * Make sure that max_items > max_items_soft > max_items / 2
357 pool->max_items_soft = pool->max_items * 3 / 4;
366 iinfo->rdma_mr_max = pool->max_items;
414 if (atomic_inc_return(&pool->item_count) <= pool->max_items)
572 atomic_read(&pool->dirty_count) >= pool->max_items / 10)