Searched refs:next_index (Results 1 – 12 of 12) sorted by relevance
/drivers/misc/ibmasm/ |
D | event.c | 53 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()
|
D | ibmasm.h | 116 unsigned int next_index; member
|
/drivers/net/bonding/ |
D | bond_alb.c | 111 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/ |
D | util.c | 33 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/ |
D | rxe_req.c | 82 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()
|
D | rxe_queue.h | 99 static inline int next_index(struct rxe_queue *q, int index) in next_index() function
|
/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 142 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/ |
D | fc_exch.c | 60 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/ |
D | spectrum.h | 466 enum mlxsw_reg_qeec_hr hr, u8 index, u8 next_index, 475 u8 next_index, u32 maxrate);
|
D | spectrum.c | 3460 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()
|
D | reg.h | 3607 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/ |
D | i40e_debugfs.c | 1065 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()
|