Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_ooo.c96 if (p_history->head_idx == p_history->num_of_cqes) in qed_ooo_save_history_entry()
97 p_history->head_idx = 0; in qed_ooo_save_history_entry()
98 p_history->p_cqes[p_history->head_idx] = *p_cqe; in qed_ooo_save_history_entry()
99 p_history->head_idx++; in qed_ooo_save_history_entry()
269 p_hwfn->p_ooo_info->ooo_history.head_idx = 0; in qed_ooo_setup()
Dqed_ooo.h68 u32 head_idx; member
/Linux-v4.19/drivers/crypto/ccp/
Dccp-dev-v5.c215 unsigned int head_idx, n; in ccp5_get_free_slots() local
220 head_idx = (head_lo - queue_start) / sizeof(struct ccp5_desc); in ccp5_get_free_slots()
222 n = head_idx + COMMANDS_PER_QUEUE - cmd_q->qidx - 1; in ccp5_get_free_slots()