Home
last modified time | relevance | path

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

/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c49 struct qed_ptt_pool *p_pool = kmalloc(sizeof(*p_pool), GFP_KERNEL); in qed_ptt_pool_alloc() local
52 if (!p_pool) in qed_ptt_pool_alloc()
55 INIT_LIST_HEAD(&p_pool->free_list); in qed_ptt_pool_alloc()
57 p_pool->ptts[i].idx = i; in qed_ptt_pool_alloc()
58 p_pool->ptts[i].pxp.offset = QED_BAR_INVALID_OFFSET; in qed_ptt_pool_alloc()
59 p_pool->ptts[i].pxp.pretend.control = 0; in qed_ptt_pool_alloc()
60 p_pool->ptts[i].hwfn_id = p_hwfn->my_id; in qed_ptt_pool_alloc()
62 list_add(&p_pool->ptts[i].list_entry, in qed_ptt_pool_alloc()
63 &p_pool->free_list); in qed_ptt_pool_alloc()
66 p_hwfn->p_ptt_pool = p_pool; in qed_ptt_pool_alloc()
[all …]