Symbol: vstor_packet
drivers/scsi/storvsc_drv.c
1094
vm_srb = &cmd_request->vstor_packet.vm_srb;
drivers/scsi/storvsc_drv.c
1155
struct vstor_packet *vstor_packet,
drivers/scsi/storvsc_drv.c
1158
struct vstor_packet *stor_pkt;
drivers/scsi/storvsc_drv.c
1161
stor_pkt = &request->vstor_packet;
drivers/scsi/storvsc_drv.c
1170
vstor_packet->vm_srb.scsi_status = 0;
drivers/scsi/storvsc_drv.c
1171
vstor_packet->vm_srb.srb_status = SRB_STATUS_SUCCESS;
drivers/scsi/storvsc_drv.c
1175
stor_pkt->vm_srb.scsi_status = vstor_packet->vm_srb.scsi_status;
drivers/scsi/storvsc_drv.c
1176
stor_pkt->vm_srb.srb_status = vstor_packet->vm_srb.srb_status;
drivers/scsi/storvsc_drv.c
1183
vstor_packet->vm_srb.sense_info_length);
drivers/scsi/storvsc_drv.c
1185
if (vstor_packet->vm_srb.scsi_status != 0 ||
drivers/scsi/storvsc_drv.c
1186
vstor_packet->vm_srb.srb_status != SRB_STATUS_SUCCESS) {
drivers/scsi/storvsc_drv.c
1200
vstor_packet->vm_srb.scsi_status,
drivers/scsi/storvsc_drv.c
1201
vstor_packet->vm_srb.srb_status,
drivers/scsi/storvsc_drv.c
1202
vstor_packet->status);
drivers/scsi/storvsc_drv.c
1205
if (vstor_packet->vm_srb.scsi_status == SAM_STAT_CHECK_CONDITION &&
drivers/scsi/storvsc_drv.c
1206
(vstor_packet->vm_srb.srb_status & SRB_STATUS_AUTOSENSE_VALID))
drivers/scsi/storvsc_drv.c
1208
vstor_packet->vm_srb.sense_data,
drivers/scsi/storvsc_drv.c
1212
vstor_packet->vm_srb.data_transfer_length;
drivers/scsi/storvsc_drv.c
1222
struct vstor_packet *vstor_packet,
drivers/scsi/storvsc_drv.c
1226
switch (vstor_packet->operation) {
drivers/scsi/storvsc_drv.c
1228
storvsc_on_io_completion(stor_device, vstor_packet, request);
drivers/scsi/storvsc_drv.c
1239
cache_wwn(stor_device, vstor_packet);
drivers/scsi/storvsc_drv.c
1271
struct vstor_packet *packet = hv_pkt_data(desc);
drivers/scsi/storvsc_drv.c
1275
u32 minlen = rqst_id ? sizeof(struct vstor_packet) :
drivers/scsi/storvsc_drv.c
1336
memcpy(&request->vstor_packet, packet,
drivers/scsi/storvsc_drv.c
1337
sizeof(struct vstor_packet));
drivers/scsi/storvsc_drv.c
1467
struct vstor_packet *vstor_packet;
drivers/scsi/storvsc_drv.c
1474
vstor_packet = &request->vstor_packet;
drivers/scsi/storvsc_drv.c
1542
vstor_packet->flags |= REQUEST_COMPLETION_FLAG;
drivers/scsi/storvsc_drv.c
1544
vstor_packet->vm_srb.length = sizeof(struct vmscsi_request);
drivers/scsi/storvsc_drv.c
1547
vstor_packet->vm_srb.sense_info_length = STORVSC_SENSE_BUFFER_SIZE;
drivers/scsi/storvsc_drv.c
1550
vstor_packet->vm_srb.data_transfer_length =
drivers/scsi/storvsc_drv.c
1553
vstor_packet->operation = VSTOR_OPERATION_EXECUTE_SRB;
drivers/scsi/storvsc_drv.c
1559
vstor_packet,
drivers/scsi/storvsc_drv.c
1560
sizeof(struct vstor_packet),
drivers/scsi/storvsc_drv.c
1563
ret = vmbus_sendpacket(outgoing_channel, vstor_packet,
drivers/scsi/storvsc_drv.c
1564
sizeof(struct vstor_packet),
drivers/scsi/storvsc_drv.c
1653
struct vstor_packet *vstor_packet;
drivers/scsi/storvsc_drv.c
1661
vstor_packet = &request->vstor_packet;
drivers/scsi/storvsc_drv.c
1662
memset(vstor_packet, 0, sizeof(struct vstor_packet));
drivers/scsi/storvsc_drv.c
1666
vstor_packet->operation = VSTOR_OPERATION_RESET_BUS;
drivers/scsi/storvsc_drv.c
1667
vstor_packet->flags = REQUEST_COMPLETION_FLAG;
drivers/scsi/storvsc_drv.c
1668
vstor_packet->vm_srb.path_id = stor_device->path_id;
drivers/scsi/storvsc_drv.c
1670
ret = vmbus_sendpacket(device->channel, vstor_packet,
drivers/scsi/storvsc_drv.c
1671
sizeof(struct vstor_packet),
drivers/scsi/storvsc_drv.c
1759
memset(&cmd_request->vstor_packet, 0, sizeof(struct vstor_packet));
drivers/scsi/storvsc_drv.c
1760
vm_srb = &cmd_request->vstor_packet.vm_srb;
drivers/scsi/storvsc_drv.c
2228
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;