Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c66 p_hwfn->p_ptt_pool = p_pool; in qed_ptt_pool_alloc()
78 p_ptt = &p_hwfn->p_ptt_pool->ptts[i]; in qed_ptt_invalidate()
85 kfree(p_hwfn->p_ptt_pool); in qed_ptt_pool_free()
86 p_hwfn->p_ptt_pool = NULL; in qed_ptt_pool_free()
106 spin_lock_bh(&p_hwfn->p_ptt_pool->lock); in qed_ptt_acquire_context()
108 if (!list_empty(&p_hwfn->p_ptt_pool->free_list)) { in qed_ptt_acquire_context()
109 p_ptt = list_first_entry(&p_hwfn->p_ptt_pool->free_list, in qed_ptt_acquire_context()
113 spin_unlock_bh(&p_hwfn->p_ptt_pool->lock); in qed_ptt_acquire_context()
120 spin_unlock_bh(&p_hwfn->p_ptt_pool->lock); in qed_ptt_acquire_context()
135 spin_lock_bh(&p_hwfn->p_ptt_pool->lock); in qed_ptt_release()
[all …]
Dqed.h550 struct qed_ptt_pool *p_ptt_pool; member