Lines Matching refs:login_buf
958 switch (vhost->login_buf->resp.link_speed / 100) { in ibmvfc_get_host_speed()
979 vhost->login_buf->resp.link_speed / 100); in ibmvfc_get_host_speed()
2880 vhost->login_buf->resp.partition_name); in ibmvfc_show_host_partition_name()
2890 vhost->login_buf->resp.device_name); in ibmvfc_show_host_device_name()
2900 vhost->login_buf->resp.port_loc_code); in ibmvfc_show_host_loc_code()
2910 vhost->login_buf->resp.drc_name); in ibmvfc_show_host_drc_name()
2918 return snprintf(buf, PAGE_SIZE, "%d\n", vhost->login_buf->resp.version); in ibmvfc_show_host_npiv_version()
2926 return snprintf(buf, PAGE_SIZE, "%llx\n", vhost->login_buf->resp.capabilities); in ibmvfc_show_host_capabilities()
3722 memcpy(&mad->fc_iu.payload[2], &vhost->login_buf->resp.port_name, in ibmvfc_tgt_adisc()
3723 sizeof(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()
3725 sizeof(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()
3970 struct ibmvfc_npiv_login_resp *rsp = &vhost->login_buf->resp; in ibmvfc_npiv_login_done()
4058 memcpy(vhost->login_buf, &vhost->login_info, sizeof(vhost->login_info)); in ibmvfc_npiv_login()
4065 mad->buffer.len = sizeof(*vhost->login_buf); in ibmvfc_npiv_login()
4546 dma_free_coherent(vhost->dev, sizeof(*vhost->login_buf), in ibmvfc_free_mem()
4547 vhost->login_buf, vhost->login_buf_dma); in ibmvfc_free_mem()
4593 vhost->login_buf = dma_alloc_coherent(dev, sizeof(*vhost->login_buf), in ibmvfc_alloc_mem()
4596 if (!vhost->login_buf) { in ibmvfc_alloc_mem()
4633 dma_free_coherent(dev, sizeof(*vhost->login_buf), in ibmvfc_alloc_mem()
4634 vhost->login_buf, vhost->login_buf_dma); in ibmvfc_alloc_mem()