Searched refs:mxsize (Results 1 – 1 of 1) sorted by relevance
604 int mxsize, cmd_size, k; in sg_write() local663 mxsize = (input_size > old_hdr.reply_len) ? input_size : old_hdr.reply_len; in sg_write()664 mxsize -= SZ_SG_HEADER; in sg_write()679 hp->dxfer_direction = (mxsize > 0) ? SG_DXFER_FROM_DEV : SG_DXFER_NONE; in sg_write()680 hp->dxfer_len = mxsize; in sg_write()