| /f-stack/dpdk/lib/librte_mempool/ |
| H A D | rte_mempool_ops_default.c | 85 if (RTE_PTR_ALIGN(obj, pg_sz) != RTE_PTR_ALIGN(obj + elt_sz - 1, pg_sz)) in check_obj_bounds()
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | rte_common.h | 275 #define RTE_PTR_ALIGN(ptr, align) RTE_PTR_ALIGN_CEIL(ptr, align) macro 328 return RTE_PTR_ALIGN(ptr, align) == ptr; in rte_is_aligned()
|
| /f-stack/dpdk/lib/librte_eal/include/ |
| H A D | rte_common.h | 314 #define RTE_PTR_ALIGN(ptr, align) RTE_PTR_ALIGN_CEIL(ptr, align) macro 367 return RTE_PTR_ALIGN(ptr, align) == ptr; in rte_is_aligned()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_malloc.c | 489 while(RTE_PTR_ALIGN(ptr7, new_align) == ptr7) in test_realloc_socket() 497 if (RTE_PTR_ALIGN(ptr8, new_align) != ptr8){ in test_realloc_socket() 697 if (RTE_PTR_ALIGN(entry, align)!= entry) in test_random_alloc_free()
|
| H A D | test_common.c | 172 val = RTE_PTR_ALIGN((uintptr_t) i, p); in test_align()
|
| H A D | test_memzone.c | 578 if (mz->addr != RTE_PTR_ALIGN(mz->addr, align)) { in test_memzone_reserve_max_aligned()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_memory.c | 76 requested_addr = RTE_PTR_ALIGN(requested_addr, page_sz); in eal_get_virtual_area() 89 requested_addr == RTE_PTR_ALIGN(requested_addr, page_sz) && in eal_get_virtual_area() 124 RTE_PTR_ALIGN(mapped_addr, page_sz); in eal_get_virtual_area()
|
| H A D | rte_malloc.c | 181 RTE_PTR_ALIGN(ptr, align) == ptr && in rte_realloc_socket()
|
| H A D | malloc_elem.c | 94 contig_seg_start = RTE_PTR_ALIGN(cur_page, align); in malloc_elem_find_max_iova_contig()
|
| /f-stack/dpdk/drivers/crypto/octeontx2/ |
| H A D | otx2_ipsec_po_ops.h | 36 meta = (void *)RTE_PTR_ALIGN((uint8_t *)maddr, 16); in alloc_request_struct()
|
| H A D | otx2_cryptodev_sec.c | 98 res = (struct otx2_cpt_res *)RTE_PTR_ALIGN(mdata, 16); in otx2_cpt_enq_sa_write()
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_ethdev_sec_tx.h | 110 sd = (void *)RTE_PTR_ALIGN(data - desc_headroom, OTX2_CPT_RES_ALIGN); in otx2_sec_event_tx()
|
| /f-stack/dpdk/drivers/net/fm10k/ |
| H A D | fm10k.h | 269 mb->data_off = (uint16_t)(RTE_PTR_ALIGN((char *)mb->buf_addr + in fm10k_pktmbuf_reset()
|
| H A D | fm10k_rxtx_vec.c | 331 mb0->data_off = (uint16_t)(RTE_PTR_ALIGN((char *)mb0->buf_addr in fm10k_rxq_rearm() 334 mb1->data_off = (uint16_t)(RTE_PTR_ALIGN((char *)mb1->buf_addr in fm10k_rxq_rearm()
|
| /f-stack/dpdk/drivers/common/cpt/ |
| H A D | cpt_ucode.h | 505 size = (uint8_t *)RTE_PTR_ALIGN((uint8_t *)m_vaddr, 16) - in cpt_digest_gen_prep() 706 size = (uint8_t *)RTE_PTR_ALIGN((uint8_t *)m_vaddr, 16) - in cpt_enc_hmac_prep() 717 size = (uint8_t *)RTE_PTR_ALIGN(m_vaddr, 8) - in cpt_enc_hmac_prep() 1094 size = (uint8_t *)RTE_PTR_ALIGN((uint8_t *)m_vaddr, 16) - in cpt_dec_hmac_prep() 1104 size = (uint8_t *)RTE_PTR_ALIGN(m_vaddr, 8) - in cpt_dec_hmac_prep() 1422 size = (uint8_t *)RTE_PTR_ALIGN((uint8_t *)m_vaddr, 16) - in cpt_zuc_snow3g_enc_prep() 1733 size = (uint8_t *)RTE_PTR_ALIGN((uint8_t *)m_vaddr, 16) - in cpt_zuc_snow3g_dec_prep() 1997 size = (uint8_t *)RTE_PTR_ALIGN((uint8_t *)m_vaddr, 16) - in cpt_kasumi_enc_prep() 2219 size = (uint8_t *)RTE_PTR_ALIGN((uint8_t *)m_vaddr, 16) - in cpt_kasumi_dec_prep()
|
| H A D | cpt_ucode_asym.h | 216 void *completion_addr = RTE_PTR_ALIGN(addr.vaddr, 16); in cpt_fill_req_comp_addr()
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_rxtx.c | 2409 MLX5_ASSERT(pdst == RTE_PTR_ALIGN(pdst, sizeof(uint16_t))); in mlx5_tx_eseg_dmin() 2502 MLX5_ASSERT(pdst == RTE_PTR_ALIGN(pdst, sizeof(uint16_t))); in mlx5_tx_eseg_data() 2515 MLX5_ASSERT(pdst == RTE_PTR_ALIGN(pdst, MLX5_WSEG_SIZE)); in mlx5_tx_eseg_data() 2533 pdst = RTE_PTR_ALIGN(pdst, MLX5_WSEG_SIZE); in mlx5_tx_eseg_data() 2744 pdst = RTE_PTR_ALIGN(pdst, MLX5_WSEG_SIZE); in mlx5_tx_eseg_mdat() 2828 MLX5_ASSERT(dst == RTE_PTR_ALIGN(dst, sizeof(uint32_t))); in mlx5_tx_dseg_iptr() 2910 pdst = RTE_PTR_ALIGN(pdst, MLX5_WSEG_SIZE); in mlx5_tx_dseg_empw() 2973 MLX5_ASSERT(pdst == RTE_PTR_ALIGN(pdst, MLX5_WSEG_SIZE)); in mlx5_tx_dseg_vlan() 2991 pdst = RTE_PTR_ALIGN(pdst, MLX5_WSEG_SIZE); in mlx5_tx_dseg_vlan()
|
| /f-stack/dpdk/drivers/bus/pci/linux/ |
| H A D | pci_uio.c | 355 pci_map_addr = RTE_PTR_ALIGN(pci_map_addr, sysconf(_SC_PAGE_SIZE)); in pci_uio_map_resource_by_index()
|
| H A D | pci_vfio.c | 802 pci_map_addr = RTE_PTR_ALIGN(pci_map_addr, in pci_vfio_map_resource_primary()
|
| /f-stack/dpdk/drivers/net/cxgbe/ |
| H A D | sge.c | 401 RTE_PTR_ALIGN((char *)mbuf->buf_addr + in refill_fl_usembufs()
|
| /f-stack/dpdk/app/test-bbdev/ |
| H A D | test_bbdev_perf.c | 971 TEST_ASSERT(data == RTE_PTR_ALIGN( in init_op_data_objs() 995 TEST_ASSERT(data == RTE_PTR_ALIGN(data, in init_op_data_objs()
|