Searched refs:mxsize (Results 1 – 1 of 1) sorted by relevance
601 int mxsize, cmd_size, k; in sg_write() local660 mxsize = (input_size > old_hdr.reply_len) ? input_size : old_hdr.reply_len; in sg_write()661 mxsize -= SZ_SG_HEADER; in sg_write()676 hp->dxfer_direction = (mxsize > 0) ? SG_DXFER_FROM_DEV : SG_DXFER_NONE; in sg_write()677 hp->dxfer_len = mxsize; in sg_write()