Lines Matching defs:resp
143 read_log(int sg_fd, unsigned char *resp, int mx_resp_len)
169 set_scsi_pt_data_in(&uscsi, resp, mx_resp_len);
182 * resp buffer looks like:
226 save_logs(unsigned char *resp, ses_log_call_t *data)
247 all_log_data_len = SCSI_READ16(&resp[2]);
251 * The resp includes 4 bytes of header info and then log entries
253 log_param_ptr = &resp[0] + 4;
317 log_param_ptr = &resp[0] + 4;
464 sg_ll_mode_sense10(int sg_fd, void * resp, int mx_resp_len)
481 set_scsi_pt_data_in(&uscsi, (unsigned char *) resp, mx_resp_len);
572 sg_mode_page_offset(const unsigned char *resp, int resp_len)
578 if ((NULL == resp) || (resp_len < 8)) {
583 calc_len = (resp[0] << 8) + resp[1] + 2;
584 bd_len = (resp[6] << 8) + resp[7];