Home
last modified time | relevance | path

Searched defs:align (Results 1 – 25 of 50) sorted by relevance

12

/dpdk/lib/eal/common/
H A Drte_malloc.c54 malloc_socket(const char *type, size_t size, unsigned int align, in malloc_socket()
84 rte_malloc_socket(const char *type, size_t size, unsigned int align, in rte_malloc_socket()
91 eal_malloc_no_trace(const char *type, size_t size, unsigned int align) in eal_malloc_no_trace()
100 rte_malloc(const char *type, size_t size, unsigned align) in rte_malloc()
109 rte_zmalloc_socket(const char *type, size_t size, unsigned align, int socket) in rte_zmalloc_socket()
138 rte_zmalloc(const char *type, size_t size, unsigned align) in rte_zmalloc()
147 rte_calloc_socket(const char *type, size_t num, size_t size, unsigned align, int socket) in rte_calloc_socket()
156 rte_calloc(const char *type, size_t num, size_t size, unsigned align) in rte_calloc()
165 rte_realloc_socket(void *ptr, size_t size, unsigned int align, int socket) in rte_realloc_socket()
216 rte_realloc(void *ptr, size_t size, unsigned int align) in rte_realloc()
H A Dmalloc_heap.c151 unsigned int flags, size_t align, size_t bound, bool contig) in find_suitable_element()
185 unsigned int flags, size_t align, bool contig) in find_biggest_element()
233 unsigned int flags, size_t align, size_t bound, bool contig) in heap_alloc()
259 unsigned int flags, size_t align, bool contig) in heap_alloc_biggest()
295 int socket, unsigned int flags, size_t align, size_t bound, in alloc_pages_on_heap()
498 int socket, unsigned int flags, size_t align, size_t bound, in try_expand_heap()
536 unsigned int flags, size_t align, size_t bound, bool contig) in alloc_more_mem_on_socket()
644 unsigned int heap_id, unsigned int flags, size_t align, in malloc_heap_alloc_on_heap_id()
725 unsigned int flags, size_t align, size_t bound, bool contig) in malloc_heap_alloc()
769 unsigned int flags, size_t align, bool contig) in heap_alloc_biggest_on_heap_id()
[all …]
H A Deal_common_memzone.c66 int socket_id, unsigned int flags, unsigned int align, in memzone_reserve_aligned_thread_unsafe()
205 unsigned int flags, unsigned int align, unsigned int bound) in rte_memzone_reserve_thread_safe()
233 unsigned flags, unsigned align, unsigned bound) in rte_memzone_reserve_bounded()
245 unsigned flags, unsigned align) in rte_memzone_reserve_aligned()
H A Dmalloc_elem.c33 malloc_elem_find_max_iova_contig(struct malloc_elem *elem, size_t align) in malloc_elem_find_max_iova_contig()
219 elem_start_pt(struct malloc_elem *elem, size_t size, unsigned align, in elem_start_pt()
280 malloc_elem_can_hold(struct malloc_elem *elem, size_t size, unsigned align, in malloc_elem_can_hold()
428 malloc_elem_alloc(struct malloc_elem *elem, size_t size, unsigned align, in malloc_elem_alloc()
H A Dmalloc_mp.h36 size_t align; member
/dpdk/drivers/bus/dpaa/base/qbman/
H A Ddpaa_alloc.c13 int bman_alloc_bpid_range(u32 *result, u32 count, u32 align, int partial) in bman_alloc_bpid_range()
28 int qman_alloc_fqid_range(u32 *result, u32 count, u32 align, int partial) in qman_alloc_fqid_range()
43 int qman_alloc_pool_range(u32 *result, u32 count, u32 align, int partial) in qman_alloc_pool_range()
58 int qman_alloc_cgrid_range(u32 *result, u32 count, u32 align, int partial) in qman_alloc_cgrid_range()
/dpdk/drivers/common/mlx5/
H A Dmlx5_malloc.c149 mlx5_alloc_align(size_t size, unsigned int align, unsigned int zero) in mlx5_alloc_align()
165 mlx5_malloc(uint32_t flags, size_t size, unsigned int align, int socket) in mlx5_malloc()
209 mlx5_realloc(void *addr, uint32_t flags, size_t size, unsigned int align, in mlx5_realloc()
/dpdk/drivers/crypto/bcmfs/
H A Dbcmfs_qp.c29 uint32_t align) in bcmfs_qp_check_queue_alignment()
66 int socket_id, unsigned int align) in queue_dma_zone_reserve()
102 unsigned int align; in bcmfs_queue_create() local
/dpdk/lib/eal/include/
H A Drte_common.h322 #define RTE_PTR_ALIGN_FLOOR(ptr, align) \ argument
331 #define RTE_ALIGN_FLOOR(val, align) \ argument
340 #define RTE_PTR_ALIGN_CEIL(ptr, align) \ argument
349 #define RTE_ALIGN_CEIL(val, align) \ argument
359 #define RTE_PTR_ALIGN(ptr, align) RTE_PTR_ALIGN_CEIL(ptr, align) argument
368 #define RTE_ALIGN(val, align) RTE_ALIGN_CEIL(val, align) argument
410 rte_is_aligned(void *ptr, unsigned align) in rte_is_aligned()
/dpdk/app/test/
H A Dtest_malloc.c62 is_aligned(void *p, int align) in is_aligned()
273 int align = 1024; in test_multi_alloc_statistics() local
703 const unsigned align = 1 << (rte_rand() % 12); /* up to 4k alignment */ in test_random_alloc_free() local
835 unsigned align = RTE_CACHE_LINE_SIZE; in test_malloc_bad_params() local
920 const unsigned align = 0; in test_alloc_single_socket() local
H A Dtest_memzone.c494 find_max_block_free_size(unsigned int align, unsigned int socket_id) in find_max_block_free_size()
577 const unsigned int align = 1 << ((rte_rand() % 8) + 5); /* from 128 up to 4k alignment */ in test_memzone_reserve_max_aligned() local
773 check_memzone_bounded(const char *name, uint32_t len, uint32_t align, in check_memzone_bounded()
/dpdk/drivers/net/virtio/
H A Dvirtio_ring.h132 vring_size(struct virtio_hw *hw, unsigned int num, unsigned long align) in vring_size()
152 vring_init_split(struct vring *vr, uint8_t *p, unsigned long align, in vring_init_split()
164 vring_init_packed(struct vring_packed *vr, uint8_t *p, unsigned long align, in vring_init_packed()
/dpdk/lib/mempool/
H A Drte_mempool_ops_default.c13 size_t *min_chunk_size, size_t *align) in rte_mempool_op_calc_mem_size_helper()
71 size_t *min_chunk_size, size_t *align) in rte_mempool_op_calc_mem_size_default()
H A Drte_mempool_ops.c113 size_t *min_chunk_size, size_t *align) in rte_mempool_ops_calc_mem_size()
/dpdk/app/test-gpudev/
H A Dmain.c71 unsigned int align = 4096; in alloc_gpu_memory() local
194 unsigned int align = 4096; in gpu_mem_cpu_map() local
/dpdk/drivers/crypto/virtio/
H A Dvirtio_ring.h101 vring_size(unsigned int num, unsigned long align) in vring_size()
115 unsigned long align) in vring_init()
/dpdk/drivers/net/ice/base/
H A Dice_common.h84 #define ICE_ALIGN(ptr, align) (((ptr) + ((align) - 1)) & ~((align) - 1)) argument
/dpdk/lib/mbuf/
H A Drte_mbuf_dyn.h88 size_t align; /**< The alignment constraint (power of 2). */ member
H A Drte_mbuf_dyn.c63 size_t off, align, size, i; in process_score() local
144 check_offset(size_t offset, size_t size, size_t align) in check_offset()
/dpdk/drivers/net/mlx4/
H A Dmlx4_utils.c66 size_t align = (uintptr_t)vec[i].align; in mlx4_mallocv_inline() local
H A Dmlx4_utils.h95 size_t align; /**< Alignment constraint (power of 2), 0 if unknown. */ member
/dpdk/drivers/mempool/bucket/
H A Drte_mempool_bucket.c376 uintptr_t align; in count_underfilled_buckets() local
567 size_t *align) in bucket_calc_mem_size()
597 uintptr_t align; in bucket_populate() local
/dpdk/drivers/common/mlx5/windows/
H A Dmlx5_common_os.h37 mlx5_os_malloc(size_t align, size_t size) in mlx5_os_malloc()
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_common_os.h255 mlx5_os_malloc(size_t align, size_t size) in mlx5_os_malloc()
/dpdk/drivers/common/cnxk/
H A Droc_platform.h160 #define plt_zmalloc(sz, align) rte_zmalloc("cnxk", sz, align) argument
184 #define plt_memzone_reserve_aligned(name, len, flags, align) \ argument
279 plt_lmt_region_reserve_aligned(const char *name, size_t len, uint32_t align) in plt_lmt_region_reserve_aligned()

12