Lines Matching refs:reply_len
411 int reply_len; in get_sg_io_pack_id() local
415 if (get_user(reply_len, &old_hdr->reply_len)) in get_sg_io_pack_id()
418 if (reply_len >= 0) in get_sg_io_pack_id()
489 old_hdr->reply_len = (int) hp->timeout; in sg_read()
490 old_hdr->pack_len = old_hdr->reply_len; /* old, strange behaviour */ in sg_read()
539 if (count > old_hdr->reply_len) in sg_read()
540 count = old_hdr->reply_len; in sg_read()
631 if (old_hdr.reply_len < 0) in sg_write()
660 mxsize = (input_size > old_hdr.reply_len) ? input_size : old_hdr.reply_len; in sg_write()
673 hp->dxfer_direction = (old_hdr.reply_len > SZ_SG_HEADER) ? in sg_write()
684 hp->timeout = old_hdr.reply_len; /* structure abuse ... */ in sg_write()
703 old_hdr.reply_len - (int)SZ_SG_HEADER, in sg_write()