Searched refs:rings (Results 1 – 2 of 2) sorted by relevance
623 static inline int ptr_ring_resize_multiple(struct ptr_ring **rings, in ptr_ring_resize_multiple() argument643 spin_lock_irqsave(&(rings[i])->consumer_lock, flags); in ptr_ring_resize_multiple()644 spin_lock(&(rings[i])->producer_lock); in ptr_ring_resize_multiple()645 queues[i] = __ptr_ring_swap_queue(rings[i], queues[i], in ptr_ring_resize_multiple()647 spin_unlock(&(rings[i])->producer_lock); in ptr_ring_resize_multiple()648 spin_unlock_irqrestore(&(rings[i])->consumer_lock, flags); in ptr_ring_resize_multiple()
205 static inline int skb_array_resize_multiple(struct skb_array **rings, in skb_array_resize_multiple() argument210 return ptr_ring_resize_multiple((struct ptr_ring **)rings, in skb_array_resize_multiple()