Searched refs:sw_size (Results 1 – 2 of 2) sorted by relevance
595 size_t sw_size, dma_addr_t *phys, void *metadata, in alloc_ring() argument604 if (sw_size) { in alloc_ring()605 s = kzalloc_node(nelem * sw_size, GFP_KERNEL, node); in alloc_ring()
614 size_t sw_size, dma_addr_t * phys, void *metadata) in alloc_ring() argument622 if (sw_size && metadata) { in alloc_ring()623 s = kcalloc(nelem, sw_size, GFP_KERNEL); in alloc_ring()