Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_rdma.h199 struct qed_bmap *bmap, u32 *id_num);
202 qed_bmap_set_id(struct qed_hwfn *p_hwfn, struct qed_bmap *bmap, u32 id_num);
205 qed_bmap_release_id(struct qed_hwfn *p_hwfn, struct qed_bmap *bmap, u32 id_num);
208 qed_bmap_test_id(struct qed_hwfn *p_hwfn, struct qed_bmap *bmap, u32 id_num);
Dqed_rdma.c81 struct qed_bmap *bmap, u32 *id_num) in qed_rdma_bmap_alloc_id() argument
83 *id_num = find_first_zero_bit(bmap->bitmap, bmap->max_count); in qed_rdma_bmap_alloc_id()
84 if (*id_num >= bmap->max_count) in qed_rdma_bmap_alloc_id()
87 __set_bit(*id_num, bmap->bitmap); in qed_rdma_bmap_alloc_id()
90 bmap->name, *id_num); in qed_rdma_bmap_alloc_id()
96 struct qed_bmap *bmap, u32 id_num) in qed_bmap_set_id() argument
98 if (id_num >= bmap->max_count) in qed_bmap_set_id()
101 __set_bit(id_num, bmap->bitmap); in qed_bmap_set_id()
105 struct qed_bmap *bmap, u32 id_num) in qed_bmap_release_id() argument
109 if (id_num >= bmap->max_count) in qed_bmap_release_id()
[all …]