Home
last modified time | relevance | path

Searched refs:dest_idx (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/pstore/
Dftrace.c141 size_t dest_idx = 0, src_idx = 0, merged_idx = 0; in pstore_ftrace_combine_log() local
162 if (pstore_ftrace_read_timestamp(&drec[dest_idx]) < in pstore_ftrace_combine_log()
164 mrec[merged_idx++] = drec[dest_idx++]; in pstore_ftrace_combine_log()
173 mrec[merged_idx++] = drec[dest_idx++]; in pstore_ftrace_combine_log()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Db44.c660 int dest_idx; in b44_alloc_rx_skb() local
666 dest_idx = dest_idx_unmasked & (B44_RX_RING_SIZE - 1); in b44_alloc_rx_skb()
667 map = &bp->rx_buffers[dest_idx]; in b44_alloc_rx_skb()
713 if (dest_idx == (B44_RX_RING_SIZE - 1)) in b44_alloc_rx_skb()
716 dp = &bp->rx_ring[dest_idx]; in b44_alloc_rx_skb()
722 dest_idx * sizeof(*dp), in b44_alloc_rx_skb()
733 int dest_idx; in b44_recycle_rx() local
736 dest_idx = dest_idx_unmasked & (B44_RX_RING_SIZE - 1); in b44_recycle_rx()
737 dest_desc = &bp->rx_ring[dest_idx]; in b44_recycle_rx()
738 dest_map = &bp->rx_buffers[dest_idx]; in b44_recycle_rx()
[all …]
Dtg3.c6681 int skb_size, data_size, dest_idx; in tg3_alloc_rx_data() local
6685 dest_idx = dest_idx_unmasked & tp->rx_std_ring_mask; in tg3_alloc_rx_data()
6686 desc = &tpr->rx_std[dest_idx]; in tg3_alloc_rx_data()
6687 map = &tpr->rx_std_buffers[dest_idx]; in tg3_alloc_rx_data()
6692 dest_idx = dest_idx_unmasked & tp->rx_jmb_ring_mask; in tg3_alloc_rx_data()
6693 desc = &tpr->rx_jmb[dest_idx].std; in tg3_alloc_rx_data()
6694 map = &tpr->rx_jmb_buffers[dest_idx]; in tg3_alloc_rx_data()
6751 int dest_idx; in tg3_recycle_rx() local
6755 dest_idx = dest_idx_unmasked & tp->rx_std_ring_mask; in tg3_recycle_rx()
6756 dest_desc = &dpr->rx_std[dest_idx]; in tg3_recycle_rx()
[all …]