Lines Matching refs:sz
48 size_t sz; in test_ring_inc_ptr() local
50 sz = sizeof(void *); in test_ring_inc_ptr()
53 sz = esize; in test_ring_inc_ptr()
55 return (void *)((uint32_t *)obj + (n * sz / sizeof(uint32_t))); in test_ring_inc_ptr()
61 size_t sz; in test_ring_mem_copy() local
63 sz = num * sizeof(void *); in test_ring_mem_copy()
65 sz = esize * num; in test_ring_mem_copy()
67 memcpy(dst, src, sz); in test_ring_mem_copy()
228 unsigned int sz; in test_ring_calloc() local
233 sz = sizeof(void *); in test_ring_calloc()
235 sz = esize; in test_ring_calloc()
237 p = rte_zmalloc(NULL, rsize * sz, RTE_CACHE_LINE_SIZE); in test_ring_calloc()