Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/be2iscsi/
Dbe_iscsi.c932 struct ulp_cid_info *cid_info; in beiscsi_get_cid() local
949 cid_info = phba->cid_array_info[cid_from_ulp]; in beiscsi_get_cid()
950 cid = cid_info->cid_array[cid_info->cid_alloc]; in beiscsi_get_cid()
951 if (!cid_info->avlbl_cids || cid == BE_INVALID_CID) { in beiscsi_get_cid()
954 cid_info->avlbl_cids, cid_info->cid_free); in beiscsi_get_cid()
958 cid_info->cid_array[cid_info->cid_alloc++] = BE_INVALID_CID; in beiscsi_get_cid()
959 if (cid_info->cid_alloc == BEISCSI_GET_CID_COUNT(phba, cid_from_ulp)) in beiscsi_get_cid()
960 cid_info->cid_alloc = 0; in beiscsi_get_cid()
961 cid_info->avlbl_cids--; in beiscsi_get_cid()
975 struct ulp_cid_info *cid_info; in beiscsi_put_cid() local
[all …]