Lines Matching refs:fc_iu
1909 mad->common.length = sizeof(*mad) - sizeof(mad->fc_iu) - sizeof(mad->iu); in ibmvfc_bsg_request()
3533 if (memcmp(&mad->fc_iu.response[2], &tgt->ids.port_name, in ibmvfc_adisc_needs_plogi()
3536 if (memcmp(&mad->fc_iu.response[4], &tgt->ids.node_name, in ibmvfc_adisc_needs_plogi()
3539 if (mad->fc_iu.response[6] != tgt->scsi_id) in ibmvfc_adisc_needs_plogi()
3572 fc_reason = (mad->fc_iu.response[1] & 0x00ff0000) >> 16; in ibmvfc_tgt_adisc_done()
3573 fc_explain = (mad->fc_iu.response[1] & 0x0000ff00) >> 8; in ibmvfc_tgt_adisc_done()
3599 mad->common.length = sizeof(*mad) - sizeof(mad->fc_iu) - sizeof(mad->iu); in ibmvfc_init_passthru()
3603 mad->iu.cmd_len = sizeof(mad->fc_iu.payload); in ibmvfc_init_passthru()
3604 mad->iu.rsp_len = sizeof(mad->fc_iu.response); in ibmvfc_init_passthru()
3606 offsetof(struct ibmvfc_passthru_mad, fc_iu) + in ibmvfc_init_passthru()
3608 mad->iu.cmd.len = sizeof(mad->fc_iu.payload); in ibmvfc_init_passthru()
3610 offsetof(struct ibmvfc_passthru_mad, fc_iu) + in ibmvfc_init_passthru()
3612 mad->iu.rsp.len = sizeof(mad->fc_iu.response); in ibmvfc_init_passthru()
3721 mad->fc_iu.payload[0] = IBMVFC_ADISC; in ibmvfc_tgt_adisc()
3722 memcpy(&mad->fc_iu.payload[2], &vhost->login_buf->resp.port_name, in ibmvfc_tgt_adisc()
3724 memcpy(&mad->fc_iu.payload[4], &vhost->login_buf->resp.node_name, in ibmvfc_tgt_adisc()
3726 mad->fc_iu.payload[6] = vhost->login_buf->resp.scsi_id & 0x00ffffff; in ibmvfc_tgt_adisc()