Lines Matching defs:hdr

54 	struct iser_ctrl *hdr = &iser_task->desc.iser_header;
69 hdr->flags |= ISER_RSV;
70 hdr->read_stag = cpu_to_be32(mem_reg->rkey);
71 hdr->read_va = cpu_to_be64(mem_reg->sge.addr);
95 struct iser_ctrl *hdr = &iser_task->desc.iser_header;
115 hdr->flags |= ISER_WSV;
117 hdr->write_stag = cpu_to_be32(mem_reg->rkey);
118 hdr->write_va = cpu_to_be64(mem_reg->sge.addr + unsol_sz);
349 struct iscsi_scsi_req *hdr = (struct iscsi_scsi_req *)task->hdr;
353 edtl = ntohl(hdr->data_length);
359 if (hdr->flags & ISCSI_FLAG_CMD_READ) {
380 if (hdr->flags & ISCSI_FLAG_CMD_READ) {
385 if (hdr->flags & ISCSI_FLAG_CMD_WRITE) {
410 * @hdr: pointer to the LLD's iSCSI message header
413 struct iscsi_data *hdr)
425 itt = (__force uint32_t)hdr->itt;
426 data_seg_len = ntoh24(hdr->dlength);
427 buf_offset = ntohl(hdr->offset);
439 memcpy(&tx_desc->iscsi_header, hdr, sizeof(struct iscsi_hdr));
488 data_seg_len = ntoh24(task->hdr->dlength);
515 task->hdr->opcode, data_seg_len);
519 err = iser_post_rx_bufs(conn, task->hdr);
538 struct iscsi_hdr *hdr;
552 hdr = desc->rsp + sizeof(struct iser_ctrl);
555 full_feature_phase = ((hdr->flags & ISCSI_FULL_FEATURE_PHASE) ==
557 (hdr->flags & ISCSI_FLAG_CMD_FINAL);
559 iser_dbg("op 0x%x itt 0x%x dlen %d\n", hdr->opcode,
560 hdr->itt, length);
562 iscsi_iser_recv(iser_conn->iscsi_conn, hdr, data, length);
593 struct iscsi_hdr *hdr)
608 task = iscsi_itt_to_ctask(iser_conn->iscsi_conn, hdr->itt);
625 iser_err("failed to get task for itt=%d\n", hdr->itt);
639 struct iscsi_hdr *hdr;
651 hdr = &desc->iscsi_header;
654 iser_dbg("op 0x%x itt 0x%x dlen %d\n", hdr->opcode,
655 hdr->itt, length);
657 if (iser_check_remote_inv(iser_conn, wc, hdr)) {
663 iscsi_iser_recv(iser_conn->iscsi_conn, hdr, desc->data, length);
692 if (task->hdr->itt == RESERVED_ITT)