Lines Matching refs:min_nr
18 int min_nr; /* nr of elements at *elements */ member
34 int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn,
37 int mempool_init(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn,
40 extern mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn,
42 extern mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn,
60 mempool_init_slab_pool(mempool_t *pool, int min_nr, struct kmem_cache *kc) in mempool_init_slab_pool() argument
62 return mempool_init(pool, min_nr, mempool_alloc_slab, in mempool_init_slab_pool()
67 mempool_create_slab_pool(int min_nr, struct kmem_cache *kc) in mempool_create_slab_pool() argument
69 return mempool_create(min_nr, mempool_alloc_slab, mempool_free_slab, in mempool_create_slab_pool()
80 static inline int mempool_init_kmalloc_pool(mempool_t *pool, int min_nr, size_t size) in mempool_init_kmalloc_pool() argument
82 return mempool_init(pool, min_nr, mempool_kmalloc, in mempool_init_kmalloc_pool()
86 static inline mempool_t *mempool_create_kmalloc_pool(int min_nr, size_t size) in mempool_create_kmalloc_pool() argument
88 return mempool_create(min_nr, mempool_kmalloc, mempool_kfree, in mempool_create_kmalloc_pool()
99 static inline int mempool_init_page_pool(mempool_t *pool, int min_nr, int order) in mempool_init_page_pool() argument
101 return mempool_init(pool, min_nr, mempool_alloc_pages, in mempool_init_page_pool()
105 static inline mempool_t *mempool_create_page_pool(int min_nr, int order) in mempool_create_page_pool() argument
107 return mempool_create(min_nr, mempool_alloc_pages, mempool_free_pages, in mempool_create_page_pool()