Home
last modified time | relevance | path

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

/drivers/net/ethernet/qlogic/qed/
A Dqed_hw.c66 p_hwfn->p_ptt_pool = p_pool; in qed_ptt_pool_alloc()
74 kfree(p_hwfn->p_ptt_pool); in qed_ptt_pool_free()
75 p_hwfn->p_ptt_pool = NULL; in qed_ptt_pool_free()
95 spin_lock_bh(&p_hwfn->p_ptt_pool->lock); in qed_ptt_acquire_context()
97 if (!list_empty(&p_hwfn->p_ptt_pool->free_list)) { in qed_ptt_acquire_context()
98 p_ptt = list_first_entry(&p_hwfn->p_ptt_pool->free_list, in qed_ptt_acquire_context()
102 spin_unlock_bh(&p_hwfn->p_ptt_pool->lock); in qed_ptt_acquire_context()
109 spin_unlock_bh(&p_hwfn->p_ptt_pool->lock); in qed_ptt_acquire_context()
124 spin_lock_bh(&p_hwfn->p_ptt_pool->lock); in qed_ptt_release()
126 spin_unlock_bh(&p_hwfn->p_ptt_pool->lock); in qed_ptt_release()
[all …]
A Dqed.h550 struct qed_ptt_pool *p_ptt_pool; member

Completed in 13 milliseconds