Searched refs:rhdr (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/drivers/scsi/ |
D | libiscsi_tcp.c | 484 struct iscsi_data_rsp *rhdr = (struct iscsi_data_rsp *)tcp_conn->in.hdr; in iscsi_tcp_data_in() local 485 int datasn = be32_to_cpu(rhdr->datasn); in iscsi_tcp_data_in() 492 if (!(rhdr->flags & ISCSI_FLAG_DATA_STATUS)) in iscsi_tcp_data_in() 493 iscsi_update_cmdsn(conn->session, (struct iscsi_nopin*)rhdr); in iscsi_tcp_data_in() 506 tcp_task->data_offset = be32_to_cpu(rhdr->offset); in iscsi_tcp_data_in() 528 struct iscsi_r2t_rsp *rhdr = (struct iscsi_r2t_rsp *)tcp_conn->in.hdr; in iscsi_tcp_r2t_rsp() local 530 int r2tsn = be32_to_cpu(rhdr->r2tsn); in iscsi_tcp_r2t_rsp() 547 iscsi_update_cmdsn(session, (struct iscsi_nopin*)rhdr); in iscsi_tcp_r2t_rsp() 564 r2t->exp_statsn = rhdr->statsn; in iscsi_tcp_r2t_rsp() 565 r2t->data_length = be32_to_cpu(rhdr->data_length); in iscsi_tcp_r2t_rsp() [all …]
|
D | libiscsi.c | 833 struct iscsi_cmd_rsp *rhdr = (struct iscsi_cmd_rsp *)hdr; in iscsi_scsi_cmd_rsp() local 837 iscsi_update_cmdsn(session, (struct iscsi_nopin*)rhdr); in iscsi_scsi_cmd_rsp() 838 conn->exp_statsn = be32_to_cpu(rhdr->statsn) + 1; in iscsi_scsi_cmd_rsp() 840 sc->result = (DID_OK << 16) | rhdr->cmd_status; in iscsi_scsi_cmd_rsp() 842 if (rhdr->response != ISCSI_STATUS_CMD_COMPLETED) { in iscsi_scsi_cmd_rsp() 847 if (rhdr->cmd_status == SAM_STAT_CHECK_CONDITION) { in iscsi_scsi_cmd_rsp() 870 if (rhdr->flags & (ISCSI_FLAG_CMD_BIDI_UNDERFLOW | in iscsi_scsi_cmd_rsp() 872 int res_count = be32_to_cpu(rhdr->bi_residual_count); in iscsi_scsi_cmd_rsp() 875 (rhdr->flags & ISCSI_FLAG_CMD_BIDI_OVERFLOW || in iscsi_scsi_cmd_rsp() 879 sc->result = (DID_BAD_TARGET << 16) | rhdr->cmd_status; in iscsi_scsi_cmd_rsp() [all …]
|
/linux-2.6.39/drivers/infiniband/hw/qib/ |
D | qib_driver.c | 294 __le32 *rhf_addr, struct qib_message_header *rhdr) in qib_rcv_hdrerr() argument 302 struct qib_ib_header *hdr = (struct qib_ib_header *) rhdr; in qib_rcv_hdrerr()
|
D | qib_verbs.c | 597 void qib_ib_rcv(struct qib_ctxtdata *rcd, void *rhdr, void *data, u32 tlen) in qib_ib_rcv() argument 601 struct qib_ib_header *hdr = rhdr; in qib_ib_rcv()
|
/linux-2.6.39/drivers/infiniband/hw/ipath/ |
D | ipath_verbs.c | 582 void ipath_ib_rcv(struct ipath_ibdev *dev, void *rhdr, void *data, in ipath_ib_rcv() argument 585 struct ipath_ib_header *hdr = rhdr; in ipath_ib_rcv()
|