Searched refs:sghp (Results 1 – 1 of 1) sorted by relevance
5042 struct sg_header *sghp = (struct sg_header *)(buff - OFF); in do_sg_io() local5045 sghp->pack_len = 0; in do_sg_io()5046 sghp->reply_len = SG_HSZ + *(((int *)buff) + 1); in do_sg_io()5047 sghp->pack_id = 0; in do_sg_io()5048 sghp->twelve_byte = 0; in do_sg_io()5049 sghp->other_flags = 0; in do_sg_io()5051 sghp->sense_buffer[0] = 0; in do_sg_io()5057 sghp->reply_len); in do_sg_io()5059 res = write(sg_fd, (const void *)sghp, in do_sg_io()5067 res = read(sg_fd, (void *)sghp, sghp->reply_len); in do_sg_io()[all …]