Symbol: vstor_packet
drivers/scsi/storvsc_drv.c
1094
vm_srb = &cmd_request->vstor_packet.vm_srb;
drivers/scsi/storvsc_drv.c
1135
struct vstor_packet *vstor_packet,
drivers/scsi/storvsc_drv.c
1138
struct vstor_packet *stor_pkt;
drivers/scsi/storvsc_drv.c
1141
stor_pkt = &request->vstor_packet;
drivers/scsi/storvsc_drv.c
1160
vstor_packet->vm_srb.scsi_status = 0;
drivers/scsi/storvsc_drv.c
1161
vstor_packet->vm_srb.srb_status = SRB_STATUS_SUCCESS;
drivers/scsi/storvsc_drv.c
1165
stor_pkt->vm_srb.scsi_status = vstor_packet->vm_srb.scsi_status;
drivers/scsi/storvsc_drv.c
1166
stor_pkt->vm_srb.srb_status = vstor_packet->vm_srb.srb_status;
drivers/scsi/storvsc_drv.c
1173
vstor_packet->vm_srb.sense_info_length);
drivers/scsi/storvsc_drv.c
1175
if (vstor_packet->vm_srb.scsi_status != 0 ||
drivers/scsi/storvsc_drv.c
1176
vstor_packet->vm_srb.srb_status != SRB_STATUS_SUCCESS) {
drivers/scsi/storvsc_drv.c
1190
vstor_packet->vm_srb.scsi_status,
drivers/scsi/storvsc_drv.c
1191
vstor_packet->vm_srb.srb_status,
drivers/scsi/storvsc_drv.c
1192
vstor_packet->status);
drivers/scsi/storvsc_drv.c
1195
if (vstor_packet->vm_srb.scsi_status == SAM_STAT_CHECK_CONDITION &&
drivers/scsi/storvsc_drv.c
1196
(vstor_packet->vm_srb.srb_status & SRB_STATUS_AUTOSENSE_VALID))
drivers/scsi/storvsc_drv.c
1198
vstor_packet->vm_srb.sense_data,
drivers/scsi/storvsc_drv.c
1202
vstor_packet->vm_srb.data_transfer_length;
drivers/scsi/storvsc_drv.c
1212
struct vstor_packet *vstor_packet,
drivers/scsi/storvsc_drv.c
1216
switch (vstor_packet->operation) {
drivers/scsi/storvsc_drv.c
1218
storvsc_on_io_completion(stor_device, vstor_packet, request);
drivers/scsi/storvsc_drv.c
1229
cache_wwn(stor_device, vstor_packet);
drivers/scsi/storvsc_drv.c
1261
struct vstor_packet *packet = hv_pkt_data(desc);
drivers/scsi/storvsc_drv.c
1265
u32 minlen = rqst_id ? sizeof(struct vstor_packet) :
drivers/scsi/storvsc_drv.c
1326
memcpy(&request->vstor_packet, packet,
drivers/scsi/storvsc_drv.c
1327
sizeof(struct vstor_packet));
drivers/scsi/storvsc_drv.c
1457
struct vstor_packet *vstor_packet;
drivers/scsi/storvsc_drv.c
1464
vstor_packet = &request->vstor_packet;
drivers/scsi/storvsc_drv.c
1532
vstor_packet->flags |= REQUEST_COMPLETION_FLAG;
drivers/scsi/storvsc_drv.c
1534
vstor_packet->vm_srb.length = sizeof(struct vmscsi_request);
drivers/scsi/storvsc_drv.c
1537
vstor_packet->vm_srb.sense_info_length = STORVSC_SENSE_BUFFER_SIZE;
drivers/scsi/storvsc_drv.c
1540
vstor_packet->vm_srb.data_transfer_length =
drivers/scsi/storvsc_drv.c
1543
vstor_packet->operation = VSTOR_OPERATION_EXECUTE_SRB;
drivers/scsi/storvsc_drv.c
1549
vstor_packet,
drivers/scsi/storvsc_drv.c
1550
sizeof(struct vstor_packet),
drivers/scsi/storvsc_drv.c
1553
ret = vmbus_sendpacket(outgoing_channel, vstor_packet,
drivers/scsi/storvsc_drv.c
1554
sizeof(struct vstor_packet),
drivers/scsi/storvsc_drv.c
1643
struct vstor_packet *vstor_packet;
drivers/scsi/storvsc_drv.c
1651
vstor_packet = &request->vstor_packet;
drivers/scsi/storvsc_drv.c
1652
memset(vstor_packet, 0, sizeof(struct vstor_packet));
drivers/scsi/storvsc_drv.c
1656
vstor_packet->operation = VSTOR_OPERATION_RESET_BUS;
drivers/scsi/storvsc_drv.c
1657
vstor_packet->flags = REQUEST_COMPLETION_FLAG;
drivers/scsi/storvsc_drv.c
1658
vstor_packet->vm_srb.path_id = stor_device->path_id;
drivers/scsi/storvsc_drv.c
1660
ret = vmbus_sendpacket(device->channel, vstor_packet,
drivers/scsi/storvsc_drv.c
1661
sizeof(struct vstor_packet),
drivers/scsi/storvsc_drv.c
1749
memset(&cmd_request->vstor_packet, 0, sizeof(struct vstor_packet));
drivers/scsi/storvsc_drv.c
1750
vm_srb = &cmd_request->vstor_packet.vm_srb;
drivers/scsi/storvsc_drv.c
2218
sizeof(struct vstor_packet) + sizeof(u64),
drivers/scsi/storvsc_drv.c
391
sizeof(struct vstor_packet))
drivers/scsi/storvsc_drv.c
405
struct vstor_packet vstor_packet;
drivers/scsi/storvsc_drv.c
724
struct vstor_packet *vstor_packet;
drivers/scsi/storvsc_drv.c
744
vstor_packet = &request->vstor_packet;
drivers/scsi/storvsc_drv.c
756
vstor_packet->operation = VSTOR_OPERATION_CREATE_SUB_CHANNELS;
drivers/scsi/storvsc_drv.c
757
vstor_packet->flags = REQUEST_COMPLETION_FLAG;
drivers/scsi/storvsc_drv.c
758
vstor_packet->sub_channel_count = num_sc;
drivers/scsi/storvsc_drv.c
760
ret = vmbus_sendpacket(device->channel, vstor_packet,
drivers/scsi/storvsc_drv.c
761
sizeof(struct vstor_packet),
drivers/scsi/storvsc_drv.c
777
if (vstor_packet->operation != VSTOR_OPERATION_COMPLETE_IO ||
drivers/scsi/storvsc_drv.c
778
vstor_packet->status != 0) {
drivers/scsi/storvsc_drv.c
780
vstor_packet->operation, vstor_packet->status);
drivers/scsi/storvsc_drv.c
792
struct vstor_packet *vstor_packet)
drivers/scsi/storvsc_drv.c
797
if (vstor_packet->wwn_packet.primary_active) {
drivers/scsi/storvsc_drv.c
799
wwn_to_u64(vstor_packet->wwn_packet.primary_node_wwn);
drivers/scsi/storvsc_drv.c
801
wwn_to_u64(vstor_packet->wwn_packet.primary_port_wwn);
drivers/scsi/storvsc_drv.c
804
wwn_to_u64(vstor_packet->wwn_packet.secondary_node_wwn);
drivers/scsi/storvsc_drv.c
806
wwn_to_u64(vstor_packet->wwn_packet.secondary_port_wwn);
drivers/scsi/storvsc_drv.c
816
struct vstor_packet *vstor_packet;
drivers/scsi/storvsc_drv.c
823
vstor_packet = &request->vstor_packet;
drivers/scsi/storvsc_drv.c
826
vstor_packet->flags = REQUEST_COMPLETION_FLAG;
drivers/scsi/storvsc_drv.c
828
ret = vmbus_sendpacket(device->channel, vstor_packet,
drivers/scsi/storvsc_drv.c
829
sizeof(struct vstor_packet),
drivers/scsi/storvsc_drv.c
843
if (vstor_packet->operation != VSTOR_OPERATION_COMPLETE_IO ||
drivers/scsi/storvsc_drv.c
844
vstor_packet->status != 0)
drivers/scsi/storvsc_drv.c
854
struct vstor_packet *vstor_packet;
drivers/scsi/storvsc_drv.c
864
vstor_packet = &request->vstor_packet;
drivers/scsi/storvsc_drv.c
871
vstor_packet->operation = VSTOR_OPERATION_BEGIN_INITIALIZATION;
drivers/scsi/storvsc_drv.c
881
memset(vstor_packet, 0, sizeof(struct vstor_packet));
drivers/scsi/storvsc_drv.c
882
vstor_packet->operation =
drivers/scsi/storvsc_drv.c
885
vstor_packet->version.major_minor = protocol_version[i];
drivers/scsi/storvsc_drv.c
890
vstor_packet->version.revision = 0;
drivers/scsi/storvsc_drv.c
895
if (vstor_packet->operation != VSTOR_OPERATION_COMPLETE_IO)
drivers/scsi/storvsc_drv.c
898
if (vstor_packet->status == 0) {
drivers/scsi/storvsc_drv.c
905
if (vstor_packet->status != 0) {
drivers/scsi/storvsc_drv.c
911
memset(vstor_packet, 0, sizeof(struct vstor_packet));
drivers/scsi/storvsc_drv.c
912
vstor_packet->operation = VSTOR_OPERATION_QUERY_PROPERTIES;
drivers/scsi/storvsc_drv.c
922
max_chns = vstor_packet->storage_channel_properties.max_channel_cnt;
drivers/scsi/storvsc_drv.c
943
if (vstor_packet->storage_channel_properties.flags &
drivers/scsi/storvsc_drv.c
948
vstor_packet->storage_channel_properties.max_transfer_bytes;
drivers/scsi/storvsc_drv.c
956
memset(vstor_packet, 0, sizeof(struct vstor_packet));
drivers/scsi/storvsc_drv.c
957
vstor_packet->operation = VSTOR_OPERATION_FCHBA_DATA;
drivers/scsi/storvsc_drv.c
965
cache_wwn(stor_device, vstor_packet);
drivers/scsi/storvsc_drv.c
969
memset(vstor_packet, 0, sizeof(struct vstor_packet));
drivers/scsi/storvsc_drv.c
970
vstor_packet->operation = VSTOR_OPERATION_END_INITIALIZATION;