Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/be2iscsi/
H A Dbe_iscsi.c942 struct ulp_cid_info *cid_info; in beiscsi_get_cid() local
960 cid = cid_info->cid_array[cid_info->cid_alloc]; 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()
970 cid_info->cid_alloc = 0; in beiscsi_get_cid()
971 cid_info->avlbl_cids--; in beiscsi_get_cid()
994 if (cid_info->cid_array[cid_info->cid_free] != BE_INVALID_CID) { in beiscsi_put_cid()
997 cid, cid_info->avlbl_cids, cid_info->cid_free); in beiscsi_put_cid()
1000 cid_info->cid_array[cid_info->cid_free++] = cid; in beiscsi_put_cid()
1002 cid_info->cid_free = 0; in beiscsi_put_cid()
[all …]