Lines Matching refs:resp_buf
94 int num_luns, struct report_lun_resp *resp_buf,
976 * Caller should free the *resp_buf when FPCFGA_OK is returned.
983 report_lun_resp_t **resp_buf,
995 if ((*resp_buf = (report_lun_resp_t *)calloc(1, alloc_len)) == NULL) {
1001 S_FREE(*resp_buf);
1008 sizeof (scsi_rl_req), *resp_buf, alloc_len, sensebuf,
1015 S_FREE(*resp_buf);
1019 if (ntohl((*resp_buf)->num_lun) >
1021 alloc_len = (*resp_buf)->num_lun + REPORT_LUN_HDR_SIZE;
1022 S_FREE(*resp_buf);
1023 if ((*resp_buf = (report_lun_resp_t *)calloc(1, alloc_len))
1028 (void) memset((char *)*resp_buf, 0, alloc_len);
1031 fscsi.scsi_bufaddr = (caddr_t)*resp_buf;
1036 S_FREE(*resp_buf);
1042 *num_luns = ntohl((*resp_buf)->num_lun) >> 3;
1066 report_lun_resp_t *resp_buf;
1073 &num_luns, &resp_buf, &sense, l_errnop)) != FPCFGA_OK) {
1090 dyncomp, num_luns, resp_buf, lap, l_errnop);
1099 S_FREE(resp_buf);
3041 struct report_lun_resp *resp_buf,
3066 lun_string = (uchar_t *)&(resp_buf->lun_string[i]);
3686 report_lun_resp_t *resp_buf;
3699 &num_luns, &resp_buf, &sense, &l_errno))
3725 lun_string = (uchar_t *)&(resp_buf->lun_string[0]);
3727 S_FREE(resp_buf);