Lines Matching refs:fc_iu
1955 mad->common.length = cpu_to_be16(sizeof(*mad) - sizeof(mad->fc_iu) - sizeof(mad->iu));
3824 if (wwn_to_u64((u8 *)&mad->fc_iu.response[2]) != tgt->ids.port_name)
3826 if (wwn_to_u64((u8 *)&mad->fc_iu.response[4]) != tgt->ids.node_name)
3828 if (be32_to_cpu(mad->fc_iu.response[6]) != tgt->scsi_id)
3861 fc_reason = (be32_to_cpu(mad->fc_iu.response[1]) & 0x00ff0000) >> 16;
3862 fc_explain = (be32_to_cpu(mad->fc_iu.response[1]) & 0x0000ff00) >> 8;
3888 mad->common.length = cpu_to_be16(sizeof(*mad) - sizeof(mad->fc_iu) - sizeof(mad->iu));
3892 mad->iu.cmd_len = cpu_to_be32(sizeof(mad->fc_iu.payload));
3893 mad->iu.rsp_len = cpu_to_be32(sizeof(mad->fc_iu.response));
3895 offsetof(struct ibmvfc_passthru_mad, fc_iu) +
3897 mad->iu.cmd.len = cpu_to_be32(sizeof(mad->fc_iu.payload));
3899 offsetof(struct ibmvfc_passthru_mad, fc_iu) +
3901 mad->iu.rsp.len = cpu_to_be32(sizeof(mad->fc_iu.response));
4011 mad->fc_iu.payload[0] = cpu_to_be32(IBMVFC_ADISC);
4012 memcpy(&mad->fc_iu.payload[2], &vhost->login_buf->resp.port_name,
4014 memcpy(&mad->fc_iu.payload[4], &vhost->login_buf->resp.node_name,
4016 mad->fc_iu.payload[6] = cpu_to_be32(be64_to_cpu(vhost->login_buf->resp.scsi_id) & 0x00ffffff);