Lines Matching defs:data_length
696 u32 data_length)
712 while (data_length) {
713 u32 cur_len = min_t(u32, data_length, sg->length - page_off);
718 data_length -= cur_len;
782 u32 length = cmd->se_cmd.data_length;
858 hdr->data_length = be32_to_cpu(hdr->data_length);
873 (hdr->flags & ISCSI_FLAG_CMD_WRITE)) && !hdr->data_length) {
895 !(hdr->flags & ISCSI_FLAG_CMD_WRITE) && (hdr->data_length != 0)) {
924 if ((hdr->data_length == payload_length) &&
933 if (payload_length > hdr->data_length) {
936 hdr->data_length);
961 cmd = iscsit_allocate_se_cmd(conn, hdr->data_length, data_direction,
969 hdr->cmdsn, hdr->data_length, payload_length, conn->cid);
1038 cmd->data_length = cmd->se_cmd.data_length;
1178 u32 data_length,
1193 while (data_length) {
1194 u32 cur_len = min_t(u32, data_length, (sg[i].length - page_off));
1198 data_length -= cur_len;
1306 if ((hdr->offset + payload_length) > cmd->data_length) {
1309 hdr->offset, payload_length, cmd->data_length);
2339 if (cmd->write_data_done == cmd->data_length) {
2460 if ((datain.offset + datain.length) > cmd->data_length) {
2462 " datain.length: %u exceeds cmd->data_length: %u\n",
2464 cmd->data_length);
2870 hdr->data_length = cpu_to_be32(r2t->xfer_len);
2937 cmd->data_length) ?
2938 (cmd->data_length - offset) :
2944 cmd->data_length) ?
2945 (cmd->data_length - offset) :
2950 if (cmd->r2t_offset == cmd->data_length)