Lines Matching refs:ptr_cid_info
4003 struct ulp_cid_info *ptr_cid_info = NULL; in hba_setup_cid_tbls() local
4007 ptr_cid_info = kzalloc(sizeof(struct ulp_cid_info), in hba_setup_cid_tbls()
4010 if (!ptr_cid_info) { in hba_setup_cid_tbls()
4016 ptr_cid_info->cid_array = in hba_setup_cid_tbls()
4018 sizeof(*ptr_cid_info->cid_array), in hba_setup_cid_tbls()
4020 if (!ptr_cid_info->cid_array) { in hba_setup_cid_tbls()
4021 kfree(ptr_cid_info); in hba_setup_cid_tbls()
4022 ptr_cid_info = NULL; in hba_setup_cid_tbls()
4027 ptr_cid_info->avlbl_cids = BEISCSI_GET_CID_COUNT( in hba_setup_cid_tbls()
4031 phba->cid_array_info[ulp_num] = ptr_cid_info; in hba_setup_cid_tbls()
4057 ptr_cid_info = phba->cid_array_info[ulp_num]; in hba_setup_cid_tbls()
4058 ptr_cid_info->cid_array[ptr_cid_info->cid_alloc++] = in hba_setup_cid_tbls()
4065 ptr_cid_info = phba->cid_array_info[ulp_num]; in hba_setup_cid_tbls()
4067 ptr_cid_info->cid_alloc = 0; in hba_setup_cid_tbls()
4068 ptr_cid_info->cid_free = 0; in hba_setup_cid_tbls()
4076 ptr_cid_info = phba->cid_array_info[ulp_num]; in hba_setup_cid_tbls()
4078 if (ptr_cid_info) { in hba_setup_cid_tbls()
4079 kfree(ptr_cid_info->cid_array); in hba_setup_cid_tbls()
4080 kfree(ptr_cid_info); in hba_setup_cid_tbls()
4180 struct ulp_cid_info *ptr_cid_info = NULL; in beiscsi_cleanup_port() local
4190 ptr_cid_info = phba->cid_array_info[ulp_num]; in beiscsi_cleanup_port()
4192 if (ptr_cid_info) { in beiscsi_cleanup_port()
4193 kfree(ptr_cid_info->cid_array); in beiscsi_cleanup_port()
4194 kfree(ptr_cid_info); in beiscsi_cleanup_port()