Lines Matching refs:rsghp

4638 	struct sg_header *rsghp = (struct sg_header *)rbBuff;  in find_out_about_buffer()  local
4642 rsghp->pack_len = 0; /* don't care */ in find_out_about_buffer()
4643 rsghp->pack_id = 0; in find_out_about_buffer()
4644 rsghp->reply_len = rbInLen; in find_out_about_buffer()
4645 rsghp->twelve_byte = 0; in find_out_about_buffer()
4646 rsghp->result = 0; in find_out_about_buffer()
4648 rsghp->sense_buffer[0] = 0; in find_out_about_buffer()
4685 if (!sg_chk_n_print("sg_test_rwbuf: desc", rsghp->target_status, in find_out_about_buffer()
4686 rsghp->host_status, rsghp->driver_status, in find_out_about_buffer()
4687 rsghp->sense_buffer, SG_MAX_SENSE)) { in find_out_about_buffer()
4696 if ((rsghp->result != 0) || (0 != rsghp->sense_buffer[0])) { in find_out_about_buffer()
4697 printf("sg_test_rwbuf: read(desc) result=%d\n", rsghp->result); in find_out_about_buffer()
4698 if (0 != rsghp->sense_buffer[0]) in find_out_about_buffer()
4700 rsghp->sense_buffer, SG_MAX_SENSE); in find_out_about_buffer()
4803 struct sg_header *rsghp = (struct sg_header *)rbBuff; in read_buffer() local
4808 rsghp->pack_len = 0; /* don't care */ in read_buffer()
4809 rsghp->reply_len = rbInLen; in read_buffer()
4810 rsghp->twelve_byte = 0; in read_buffer()
4811 rsghp->result = 0; in read_buffer()
4818 rsghp->pack_id = 2; in read_buffer()
4858 struct sg_header *rsghp = (struct sg_header *)rbBuff; in write_buffer() local
4865 rsghp->pack_len = 0; /* don't care */ in write_buffer()
4866 rsghp->reply_len = rbInLen; in write_buffer()
4867 rsghp->twelve_byte = 0; in write_buffer()
4868 rsghp->result = 0; in write_buffer()
4876 rsghp->pack_id = 1; in write_buffer()