Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
Dbnx2i_hwi.c143 u32 num_active_cmds; in bnx2i_arm_cq_event_coalescing() local
160 num_active_cmds = atomic_read(&ep->num_active_cmds); in bnx2i_arm_cq_event_coalescing()
161 if (num_active_cmds <= event_coal_min) 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()
273 atomic_inc(&ep->num_active_cmds); in bnx2i_ring_sq_dbell()
2048 if (!atomic_read(&bnx2i_conn->ep->num_active_cmds)) in bnx2i_process_new_cqes()
2054 atomic_dec(&bnx2i_conn->ep->num_active_cmds); in bnx2i_process_new_cqes()
Dbnx2i.h757 atomic_t num_active_cmds; member
Dbnx2i_iscsi.c1230 if (atomic_read(&bnx2i_conn->ep->num_active_cmds) + 1 > in bnx2i_task_xmit()
1818 atomic_set(&bnx2i_ep->num_active_cmds, 0); in bnx2i_ep_connect()