Searched refs:dest_idx (Results 1 – 4 of 4) sorted by relevance
147 size_t dest_idx = 0, src_idx = 0, merged_idx = 0; in pstore_ftrace_combine_log() local168 if (pstore_ftrace_read_timestamp(&drec[dest_idx]) < in pstore_ftrace_combine_log()170 mrec[merged_idx++] = drec[dest_idx++]; in pstore_ftrace_combine_log()179 mrec[merged_idx++] = drec[dest_idx++]; in pstore_ftrace_combine_log()
660 int dest_idx; in b44_alloc_rx_skb() local666 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() local736 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 …]
6673 int skb_size, data_size, dest_idx; in tg3_alloc_rx_data() local6677 dest_idx = dest_idx_unmasked & tp->rx_std_ring_mask; in tg3_alloc_rx_data()6678 desc = &tpr->rx_std[dest_idx]; in tg3_alloc_rx_data()6679 map = &tpr->rx_std_buffers[dest_idx]; in tg3_alloc_rx_data()6684 dest_idx = dest_idx_unmasked & tp->rx_jmb_ring_mask; in tg3_alloc_rx_data()6685 desc = &tpr->rx_jmb[dest_idx].std; in tg3_alloc_rx_data()6686 map = &tpr->rx_jmb_buffers[dest_idx]; in tg3_alloc_rx_data()6741 int dest_idx; in tg3_recycle_rx() local6745 dest_idx = dest_idx_unmasked & tp->rx_std_ring_mask; in tg3_recycle_rx()6746 dest_desc = &dpr->rx_std[dest_idx]; in tg3_recycle_rx()[all …]
382 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_vport_dest() argument384 dest[dest_idx].type = MLX5_FLOW_DESTINATION_TYPE_VPORT; in esw_setup_vport_dest()385 dest[dest_idx].vport.num = esw_attr->dests[attr_idx].rep->vport; in esw_setup_vport_dest()387 dest[dest_idx].vport.vhca_id = in esw_setup_vport_dest()389 dest[dest_idx].vport.flags |= MLX5_FLOW_DEST_VPORT_VHCA_ID; in esw_setup_vport_dest()396 dest[dest_idx].vport.flags |= MLX5_FLOW_DEST_VPORT_REFORMAT_ID; in esw_setup_vport_dest()397 dest[dest_idx].vport.pkt_reformat = esw_attr->dests[attr_idx].pkt_reformat; in esw_setup_vport_dest()