Home
last modified time | relevance | path

Searched refs:next_index (Results 1 – 12 of 12) sorted by relevance

/drivers/misc/ibmasm/
Devent.c53 event = &buffer->events[buffer->next_index]; in ibmasm_receive_event()
59 buffer->next_index = (buffer->next_index + 1) % IBMASM_NUM_EVENTS; in ibmasm_receive_event()
95 index = buffer->next_index; in ibmasm_get_next_event()
146 buffer->next_index = 0; in ibmasm_event_buffer_init()
Dibmasm.h116 unsigned int next_index; member
/drivers/net/bonding/
Dbond_alb.c111 u32 next_index = tx_hash_table[index].next; in __tlb_clear_slave() local
113 index = next_index; in __tlb_clear_slave()
210 u32 next_index = slave_info->head; in __tlb_choose_channel() local
213 hash_table[hash_index].next = next_index; in __tlb_choose_channel()
216 if (next_index != TLB_NULL_INDEX) in __tlb_choose_channel()
217 hash_table[next_index].prev = hash_index; in __tlb_choose_channel()
388 u32 index, next_index; in rlb_clear_slave() local
395 for (; index != RLB_NULL_INDEX; index = next_index) { in rlb_clear_slave()
396 next_index = rx_hash_table[index].used_next; in rlb_clear_slave()
756 u32 next_index = bond_info->rx_hashtbl[index].used_next; in rlb_delete_table_entry_dst() local
[all …]
/drivers/crypto/bcm/
Dutil.c33 unsigned int next_index; in spu_sg_at_offset() local
35 next_index = sg->length; in spu_sg_at_offset()
36 while (next_index <= skip) { in spu_sg_at_offset()
38 index = next_index; in spu_sg_at_offset()
41 next_index += sg->length; in spu_sg_at_offset()
/drivers/infiniband/sw/rxe/
Drxe_req.c82 wqe_index = next_index(qp->sq.queue, wqe_index)) { in req_retry()
580 qp->req.wqe_index = next_index(qp->sq.queue, qp->req.wqe_index); in update_state()
661 qp->req.wqe_index = next_index(qp->sq.queue, in rxe_requester()
706 qp->req.wqe_index = next_index(qp->sq.queue, in rxe_requester()
Drxe_queue.h99 static inline int next_index(struct rxe_queue *q, int index) in next_index() function
/drivers/scsi/bnx2i/
Dbnx2i_hwi.c142 u16 next_index = 0; in bnx2i_arm_cq_event_coalescing() local
162 next_index = 1; in bnx2i_arm_cq_event_coalescing()
164 next_index = num_active_cmds >> ep->ec_shift; in bnx2i_arm_cq_event_coalescing()
165 if (next_index > num_active_cmds - event_coal_min) in bnx2i_arm_cq_event_coalescing()
166 next_index = num_active_cmds - event_coal_min; in bnx2i_arm_cq_event_coalescing()
168 if (!next_index) in bnx2i_arm_cq_event_coalescing()
169 next_index = 1; in bnx2i_arm_cq_event_coalescing()
170 cq_index = ep->qp.cqe_exp_seq_sn + next_index - 1; in bnx2i_arm_cq_event_coalescing()
178 return next_index; in bnx2i_arm_cq_event_coalescing()
/drivers/scsi/libfc/
Dfc_exch.c60 u16 next_index; member
452 pool->next_index = index; in fc_exch_delete()
845 index = pool->next_index; in fc_exch_em_alloc()
849 if (index == pool->next_index) in fc_exch_em_alloc()
852 pool->next_index = index == mp->pool_max_index ? 0 : index + 1; in fc_exch_em_alloc()
1946 pool->next_index = 0; in fc_exch_pool_reset()
2508 pool->next_index = 0; in fc_exch_mgr_alloc()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.h466 enum mlxsw_reg_qeec_hr hr, u8 index, u8 next_index,
475 u8 next_index, u32 maxrate);
Dspectrum.c3460 enum mlxsw_reg_qeec_hr hr, u8 index, u8 next_index, in mlxsw_sp_port_ets_set() argument
3467 next_index); in mlxsw_sp_port_ets_set()
3476 u8 next_index, u32 maxrate) in mlxsw_sp_port_ets_maxrate_set() argument
3482 next_index); in mlxsw_sp_port_ets_maxrate_set()
3490 u8 next_index, u32 minrate) in mlxsw_sp_port_min_bw_set() argument
3496 next_index); in mlxsw_sp_port_min_bw_set()
Dreg.h3607 u8 next_index) in mlxsw_reg_qeec_pack() argument
3613 mlxsw_reg_qeec_next_element_index_set(payload, next_index); in mlxsw_reg_qeec_pack()
/drivers/net/ethernet/intel/i40e/
Di40e_debugfs.c1065 u32 next_index; in i40e_dbg_command_write() local
1087 &next_table, &next_index, in i40e_dbg_command_write()
1099 rlen, next_table, next_index); in i40e_dbg_command_write()