Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hfi1/
Dsdma.c516 struct sdma_engine *curr_sde = &sde->dd->per_sdma[index]; in sdma_err_progress_check() local
520 if (curr_sde == sde) in sdma_err_progress_check()
527 spin_lock_irqsave(&curr_sde->tail_lock, flags); in sdma_err_progress_check()
528 write_seqlock(&curr_sde->head_lock); in sdma_err_progress_check()
531 if (curr_sde->state.current_state != sdma_state_s99_running) { in sdma_err_progress_check()
532 write_sequnlock(&curr_sde->head_lock); in sdma_err_progress_check()
533 spin_unlock_irqrestore(&curr_sde->tail_lock, flags); in sdma_err_progress_check()
537 if ((curr_sde->descq_head != curr_sde->descq_tail) && in sdma_err_progress_check()
538 (curr_sde->descq_head == in sdma_err_progress_check()
539 curr_sde->progress_check_head)) in sdma_err_progress_check()
[all …]