Searched refs:memhdr (Results 1 – 9 of 9) sorted by relevance
| /f-stack/dpdk/lib/librte_mempool/ |
| H A D | rte_mempool.c | 285 memhdr->free_cb(memhdr, memhdr->opaque); in rte_mempool_free_memchunks() 286 rte_free(memhdr); in rte_mempool_free_memchunks() 328 memhdr = rte_zmalloc("MEMPOOL_MEMHDR", sizeof(*memhdr), 0); in rte_mempool_populate_iova() 329 if (memhdr == NULL) in rte_mempool_populate_iova() 332 memhdr->mp = mp; in rte_mempool_populate_iova() 333 memhdr->addr = vaddr; in rte_mempool_populate_iova() 334 memhdr->iova = iova; in rte_mempool_populate_iova() 335 memhdr->len = len; in rte_mempool_populate_iova() 336 memhdr->free_cb = free_cb; in rte_mempool_populate_iova() 337 memhdr->opaque = opaque; in rte_mempool_populate_iova() [all …]
|
| H A D | rte_mempool.h | 174 typedef void (rte_mempool_memchunk_free_cb_t)(struct rte_mempool_memhdr *memhdr, 911 void *opaque, struct rte_mempool_memhdr *memhdr,
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_mr.c | 247 struct rte_mempool_memhdr *memhdr, in mlx5_mr_update_ext_mp_cb() argument 256 uintptr_t addr = (uintptr_t)memhdr->addr; in mlx5_mr_update_ext_mp_cb() 257 size_t len = memhdr->len; in mlx5_mr_update_ext_mp_cb() 495 struct rte_mempool_memhdr *memhdr, in mlx5_mr_update_mp_cb() argument 510 (uintptr_t)memhdr->addr, in mlx5_mr_update_mp_cb()
|
| /f-stack/dpdk/drivers/mempool/bucket/ |
| H A D | rte_mempool_bucket.c | 369 struct rte_mempool_memhdr *memhdr, in count_underfilled_buckets() argument 379 align = (uintptr_t)RTE_PTR_ALIGN_CEIL(memhdr->addr, bucket_page_sz) - in count_underfilled_buckets() 380 (uintptr_t)memhdr->addr; in count_underfilled_buckets() 382 for (iter = (uint8_t *)memhdr->addr + align; in count_underfilled_buckets() 383 iter < (uint8_t *)memhdr->addr + memhdr->len; in count_underfilled_buckets()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | testpmd.c | 862 ret = rte_dev_dma_unmap(dev->device, memhdr->addr, 0, in dma_unmap_cb() 863 memhdr->len); in dma_unmap_cb() 868 memhdr->addr, dev->data->name); in dma_unmap_cb() 871 ret = rte_extmem_unregister(memhdr->addr, memhdr->len); in dma_unmap_cb() 874 "unable to un-register addr 0x%p\n", memhdr->addr); in dma_unmap_cb() 880 struct rte_mempool_memhdr *memhdr, unsigned mem_idx __rte_unused) in dma_map_cb() argument 886 ret = rte_extmem_register(memhdr->addr, memhdr->len, NULL, 0, in dma_map_cb() 890 "unable to register addr 0x%p\n", memhdr->addr); in dma_map_cb() 897 ret = rte_dev_dma_map(dev->device, memhdr->addr, 0, in dma_map_cb() 898 memhdr->len); in dma_map_cb() [all …]
|
| /f-stack/dpdk/drivers/net/mlx4/ |
| H A D | mlx4_mr.c | 1212 struct rte_mempool_memhdr *memhdr, in mlx4_mr_update_ext_mp_cb() argument 1220 uintptr_t addr = (uintptr_t)memhdr->addr; in mlx4_mr_update_ext_mp_cb() 1221 size_t len = memhdr->len; in mlx4_mr_update_ext_mp_cb() 1336 struct rte_mempool_memhdr *memhdr, in mlx4_mr_update_mp_cb() argument 1347 (uintptr_t)memhdr->addr); in mlx4_mr_update_mp_cb()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_mempool.c | 464 __rte_unused struct rte_mempool_memhdr *memhdr, in test_mp_mem_init() argument
|
| /f-stack/dpdk/drivers/net/af_xdp/ |
| H A D | rte_eth_af_xdp.c | 915 struct rte_mempool_memhdr *memhdr; in get_base_addr() local 918 memhdr = STAILQ_FIRST(&mp->mem_list); in get_base_addr() 919 memhdr_addr = (uintptr_t)memhdr->addr; in get_base_addr()
|
| /f-stack/dpdk/examples/ntb/ |
| H A D | ntb_fwd.c | 1229 ntb_mempool_mz_free(__rte_unused struct rte_mempool_memhdr *memhdr, in ntb_mempool_mz_free() argument
|