Lines Matching defs:resp
141 read_log(int sg_fd, unsigned char *resp, int mx_resp_len)
167 set_scsi_pt_data_in(&uscsi, resp, mx_resp_len);
180 * resp buffer looks like:
224 save_logs(unsigned char *resp, ses_log_call_t *data)
245 all_log_data_len = SCSI_READ16(&resp[2]);
249 * The resp includes 4 bytes of header info and then log entries
251 log_param_ptr = &resp[0] + 4;
315 log_param_ptr = &resp[0] + 4;
462 sg_ll_mode_sense10(int sg_fd, void * resp, int mx_resp_len)
479 set_scsi_pt_data_in(&uscsi, (unsigned char *) resp, mx_resp_len);
570 sg_mode_page_offset(const unsigned char *resp, int resp_len)
576 if ((NULL == resp) || (resp_len < 8)) {
581 calc_len = (resp[0] << 8) + resp[1] + 2;
582 bd_len = (resp[6] << 8) + resp[7];