Home
last modified time | relevance | path

Searched refs:mempool (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c2021 dma_object = ring->mempool->memblocks_dma_arr; in __vxge_hw_ring_first_block_address_get()
2484 static void __vxge_hw_mempool_destroy(struct vxge_hw_mempool *mempool) in __vxge_hw_mempool_destroy() argument
2487 struct __vxge_hw_device *devh = mempool->devh; in __vxge_hw_mempool_destroy()
2489 for (i = 0; i < mempool->memblocks_allocated; i++) { in __vxge_hw_mempool_destroy()
2492 vxge_assert(mempool->memblocks_arr[i]); in __vxge_hw_mempool_destroy()
2493 vxge_assert(mempool->memblocks_dma_arr + i); in __vxge_hw_mempool_destroy()
2495 dma_object = mempool->memblocks_dma_arr + i; in __vxge_hw_mempool_destroy()
2497 for (j = 0; j < mempool->items_per_memblock; j++) { in __vxge_hw_mempool_destroy()
2498 u32 index = i * mempool->items_per_memblock + j; in __vxge_hw_mempool_destroy()
2501 if (index >= mempool->items_current) in __vxge_hw_mempool_destroy()
[all …]
Dvxge-config.h919 struct vxge_hw_mempool *mempool; member
1004 struct vxge_hw_mempool *mempool; member
1950 struct vxge_hw_mempool *mempool, in __vxge_hw_mempool_item_priv() argument
1956 void *memblock = mempool->memblocks_arr[memblock_idx]; in __vxge_hw_mempool_item_priv()
1960 vxge_assert(offset >= 0 && (u32)offset < mempool->memblock_size); in __vxge_hw_mempool_item_priv()
1962 (*memblock_item_idx) = (u32) offset / mempool->item_size; in __vxge_hw_mempool_item_priv()
1963 vxge_assert((*memblock_item_idx) < mempool->items_per_memblock); in __vxge_hw_mempool_item_priv()
1965 return (u8 *)mempool->memblocks_priv_arr[memblock_idx] + in __vxge_hw_mempool_item_priv()
1966 (*memblock_item_idx) * mempool->items_priv_size; in __vxge_hw_mempool_item_priv()
/Linux-v4.19/lib/
Dbtree.c99 node = mempool_alloc(head->mempool, gfp); in btree_node_alloc()
184 void btree_init_mempool(struct btree_head *head, mempool_t *mempool) in btree_init_mempool() argument
187 head->mempool = mempool; in btree_init_mempool()
194 head->mempool = mempool_create(0, btree_alloc, btree_free, NULL); in btree_init()
195 if (!head->mempool) in btree_init()
203 mempool_free(head->node, head->mempool); in btree_destroy()
204 mempool_destroy(head->mempool); in btree_destroy()
205 head->mempool = NULL; in btree_destroy()
447 mempool_free(node, head->mempool); in btree_shrink()
482 mempool_free(new, head->mempool); in btree_insert_level()
[all …]
/Linux-v4.19/include/linux/
Dbtree.h37 mempool_t *mempool; member
67 void btree_init_mempool(struct btree_head *head, mempool_t *mempool);
Dbtree-128.h7 mempool_t *mempool) in btree_init_mempool128() argument
9 btree_init_mempool(&head->h, mempool); in btree_init_mempool128()
Dbtree-type.h15 mempool_t *mempool) in BTREE_FN()
17 btree_init_mempool(&head->h, mempool); in BTREE_FN()
/Linux-v4.19/Documentation/aoe/
Dtodo.txt11 driver. By using a mempool for allocating all but the first few
/Linux-v4.19/Documentation/core-api/
Dmm-api.rst68 .. kernel-doc:: mm/mempool.c
/Linux-v4.19/mm/
DMakefile35 obj-y := filemap.o mempool.o oom_kill.o fadvise.o \
/Linux-v4.19/Documentation/device-mapper/
Ddm-io.txt69 Dm-io will attempt to resize its mempool to make sure enough pages are
/Linux-v4.19/drivers/scsi/fnic/
Dfnic.h200 struct mempool;
/Linux-v4.19/Documentation/block/
Dbiodoc.txt589 This makes use of Ingo Molnar's mempool implementation, which enables
599 could fail if the pool is empty. In general mempool always first tries to
604 the current availability in the pool. The mempool interface lets the
1164 9.3 Discussions on mempool on lkml - Dec 2001.
/Linux-v4.19/net/ceph/
Dosd_client.c545 bool mempool = req->r_mempool; in request_reinit() local
563 req->r_mempool = mempool; in request_reinit()