Lines Matching refs:cid_map
116 unsigned long *cid_map; member
401 kfree(p_mngr->acquired[type].cid_map); in qed_cid_map_free()
423 p_mngr->acquired[type].cid_map = kzalloc(size, GFP_KERNEL); in qed_cid_map_alloc()
424 if (!p_mngr->acquired[type].cid_map) in qed_cid_map_alloc()
525 memset(p_mngr->acquired[type].cid_map, 0, in qed_cxt_mngr_setup()
723 if (type >= MAX_CONN_TYPES || !p_mngr->acquired[type].cid_map) { in qed_cxt_acquire_cid()
728 rel_cid = find_first_zero_bit(p_mngr->acquired[type].cid_map, in qed_cxt_acquire_cid()
737 __set_bit(rel_cid, p_mngr->acquired[type].cid_map); in qed_cxt_acquire_cid()
757 if (!p_map->cid_map) in qed_cxt_test_cid_acquired()
771 if (!test_bit(rel_cid, p_map->cid_map)) { in qed_cxt_test_cid_acquired()
793 __clear_bit(rel_cid, p_mngr->acquired[type].cid_map); in qed_cxt_release_cid()