Searched refs:RTE_PTR_ALIGN_FLOOR (Results 1 – 11 of 11) sorted by relevance
| /dpdk/lib/eal/common/ |
| H A D | eal_common_memalloc.c | 91 aligned_start = RTE_PTR_ALIGN_FLOOR(start, pgsz); in eal_memalloc_is_contig() 114 aligned_start = RTE_PTR_ALIGN_FLOOR(start, pgsz); in eal_memalloc_is_contig()
|
| H A D | eal_common_memzone.c | 355 cur_addr = RTE_PTR_ALIGN_FLOOR(mz->addr, page_sz); in dump_memzone()
|
| H A D | eal_common_memory.c | 660 uintptr_t aligned = RTE_PTR_ALIGN_FLOOR(virtual, page_size); in rte_mem_lock_page() 1219 cur_addr = RTE_PTR_ALIGN_FLOOR(mz->addr, page_sz); in handle_eal_memzone_info_request()
|
| H A D | malloc_elem.c | 64 cur_page = RTE_PTR_ALIGN_FLOOR(contig_seg_start, page_sz); in malloc_elem_find_max_iova_contig()
|
| H A D | malloc_heap.c | 913 aligned_end = RTE_PTR_ALIGN_FLOOR(end, page_sz); in malloc_heap_free()
|
| /dpdk/lib/eal/include/ |
| H A D | rte_common.h | 322 #define RTE_PTR_ALIGN_FLOOR(ptr, align) \ macro 341 RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align)
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_txq.c | 117 munmap(RTE_PTR_ALIGN_FLOOR(addr, page_size), page_size); in txq_uar_uninit_secondary() 177 munmap(RTE_PTR_ALIGN_FLOOR(addr, page_size), page_size); in mlx4_tx_uar_uninit_secondary()
|
| /dpdk/app/test/ |
| H A D | test_common.c | 167 val = RTE_PTR_ALIGN_FLOOR((uintptr_t) i, p); in test_align()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_txq.c | 576 rte_mem_unmap(RTE_PTR_ALIGN_FLOOR(addr, page_size), page_size); in txq_uar_uninit_secondary() 603 rte_mem_unmap(RTE_PTR_ALIGN_FLOOR(addr, page_size), page_size); in mlx5_tx_uar_uninit_secondary()
|
| /dpdk/lib/mbuf/ |
| H A D | rte_mbuf.h | 975 addr = RTE_PTR_ALIGN_FLOOR(RTE_PTR_SUB(buf_end, sizeof(*shinfo)), in rte_pktmbuf_ext_shinfo_init_helper()
|
| /dpdk/drivers/common/mlx5/ |
| H A D | mlx5_common_mr.c | 1370 page_start = RTE_PTR_ALIGN_FLOOR(addr, page_size); in mlx5_mempool_get_extmem_cb()
|