Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/be2iscsi/
Dbe_iscsi.c942 struct ulp_cid_info *cid_info; in beiscsi_get_cid() local
959 cid_info = phba->cid_array_info[cid_from_ulp]; in beiscsi_get_cid()
960 cid = cid_info->cid_array[cid_info->cid_alloc]; in beiscsi_get_cid()
961 if (!cid_info->avlbl_cids || cid == BE_INVALID_CID) { in beiscsi_get_cid()
964 cid_info->avlbl_cids, cid_info->cid_free); in beiscsi_get_cid()
968 cid_info->cid_array[cid_info->cid_alloc++] = BE_INVALID_CID; in beiscsi_get_cid()
969 if (cid_info->cid_alloc == BEISCSI_GET_CID_COUNT(phba, cid_from_ulp)) in beiscsi_get_cid()
970 cid_info->cid_alloc = 0; in beiscsi_get_cid()
971 cid_info->avlbl_cids--; in beiscsi_get_cid()
985 struct ulp_cid_info *cid_info; in beiscsi_put_cid() local
[all …]