Searched refs:scsi_bytes (Results 1 – 1 of 1) sorted by relevance
127 size_t scsi_bytes; member261 if (ctx->scsi_bytes == 0) { in msc_process_read()262 ctx->scsi_bytes = scsi_read_data(lun, ctx->scsi_buf); in msc_process_read()279 while (ctx->scsi_bytes - ctx->scsi_offset > 0) { in msc_process_read()280 len = MIN(ctx->scsi_bytes - ctx->scsi_offset, in msc_process_read()293 if (ctx->scsi_bytes == ctx->scsi_offset) { in msc_process_read()295 ctx->scsi_bytes = scsi_read_data(lun, ctx->scsi_buf); in msc_process_read()319 ctx->scsi_bytes = data_len; in msc_process_cbw()326 __ASSERT_NO_MSG(cmd_is_data_read || ctx->scsi_bytes == 0); in msc_process_cbw()402 tmp = MIN(len, sizeof(ctx->scsi_buf) - ctx->scsi_bytes); in msc_process_write()[all …]