Symbol: vstor_packet
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1307
if (reqp->vstor_packet.vm_srb.cdb[0] != opcode) {
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1582
switch (reqp->vstor_packet.vm_srb.cdb[0]) {
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
182
struct vstor_packet vstor_packet;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1893
reqp->vstor_packet.u.vm_srb.port =
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1895
reqp->vstor_packet.u.vm_srb.path_id =
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1898
reqp->vstor_packet.u.vm_srb.target_id = ccb->ccb_h.target_id;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1899
reqp->vstor_packet.u.vm_srb.lun = ccb->ccb_h.target_lun;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1901
reqp->vstor_packet.u.vm_srb.cdb_len = csio->cdb_len;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1903
memcpy(&reqp->vstor_packet.u.vm_srb.u.cdb, csio->cdb_io.cdb_ptr,
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1906
memcpy(&reqp->vstor_packet.u.vm_srb.u.cdb, csio->cdb_io.cdb_bytes,
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1911
reqp->vstor_packet.u.vm_srb.win8_extension.time_out_value = 60;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1912
reqp->vstor_packet.u.vm_srb.win8_extension.srb_flags |=
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1917
reqp->vstor_packet.u.vm_srb.data_in = WRITE_TYPE;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1919
reqp->vstor_packet.u.vm_srb.win8_extension.srb_flags |=
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1924
reqp->vstor_packet.u.vm_srb.data_in = READ_TYPE;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1926
reqp->vstor_packet.u.vm_srb.win8_extension.srb_flags |=
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1931
reqp->vstor_packet.u.vm_srb.data_in = UNKNOWN_TYPE;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1933
reqp->vstor_packet.u.vm_srb.win8_extension.srb_flags |=
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1985
reqp->vstor_packet.u.vm_srb.data_in);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
2013
reqp->vstor_packet.u.vm_srb.data_in);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
2027
if (WRITE_TYPE == reqp->vstor_packet.u.vm_srb.data_in) {
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
2126
struct vmscsi_req *vm_srb = &reqp->vstor_packet.u.vm_srb;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
2153
if (READ_TYPE == reqp->vstor_packet.u.vm_srb.data_in) {
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
346
struct vstor_packet *vstor_packet,
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
404
struct vstor_packet *vstor_packet;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
418
vstor_packet = &request->vstor_packet;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
420
vstor_packet->operation = VSTOR_OPERATION_CREATE_MULTI_CHANNELS;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
421
vstor_packet->flags = REQUEST_COMPLETION_FLAG;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
422
vstor_packet->u.multi_channels_cnt = request_subch;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
426
vstor_packet, VSTOR_PKT_SIZE, (uint64_t)(uintptr_t)request);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
430
if (vstor_packet->operation != VSTOR_OPERATION_COMPLETEIO ||
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
431
vstor_packet->status != 0) {
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
434
vstor_packet->operation, vstor_packet->status);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
466
struct vstor_packet *vstor_packet;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
476
vstor_packet = &request->vstor_packet;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
484
vstor_packet->operation = VSTOR_OPERATION_BEGININITIALIZATION;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
485
vstor_packet->flags = REQUEST_COMPLETION_FLAG;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
490
vstor_packet, VSTOR_PKT_SIZE, (uint64_t)(uintptr_t)request);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
497
if (vstor_packet->operation != VSTOR_OPERATION_COMPLETEIO ||
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
498
vstor_packet->status != 0) {
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
505
memset(vstor_packet, 0, sizeof(struct vstor_packet));
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
506
vstor_packet->operation = VSTOR_OPERATION_QUERYPROTOCOLVERSION;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
507
vstor_packet->flags = REQUEST_COMPLETION_FLAG;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
509
vstor_packet->u.version.major_minor =
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
513
vstor_packet->u.version.revision = 0;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
517
vstor_packet, VSTOR_PKT_SIZE, (uint64_t)(uintptr_t)request);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
524
if (vstor_packet->operation != VSTOR_OPERATION_COMPLETEIO) {
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
528
if (vstor_packet->status == 0) {
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
539
if (vstor_packet->status != 0) {
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
546
memset(vstor_packet, 0, sizeof(struct vstor_packet));
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
547
vstor_packet->operation = VSTOR_OPERATION_QUERYPROPERTIES;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
548
vstor_packet->flags = REQUEST_COMPLETION_FLAG;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
552
vstor_packet, VSTOR_PKT_SIZE, (uint64_t)(uintptr_t)request);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
560
if (vstor_packet->operation != VSTOR_OPERATION_COMPLETEIO ||
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
561
vstor_packet->status != 0) {
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
565
max_subch = vstor_packet->u.chan_props.max_channel_cnt;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
572
(vstor_packet->u.chan_props.flags &
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
581
memset(vstor_packet, 0, sizeof(struct vstor_packet));
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
582
vstor_packet->operation = VSTOR_OPERATION_ENDINITIALIZATION;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
583
vstor_packet->flags = REQUEST_COMPLETION_FLAG;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
587
vstor_packet, VSTOR_PKT_SIZE, (uint64_t)(uintptr_t)request);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
595
if (vstor_packet->operation != VSTOR_OPERATION_COMPLETEIO ||
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
596
vstor_packet->status != 0)
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
653
struct vstor_packet *vstor_packet;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
657
vstor_packet = &request->vstor_packet;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
661
vstor_packet->operation = VSTOR_OPERATION_RESETBUS;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
662
vstor_packet->flags = REQUEST_COMPLETION_FLAG;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
666
vstor_packet, VSTOR_PKT_SIZE,
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
697
struct vstor_packet *vstor_packet = &request->vstor_packet;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
701
vstor_packet->flags |= REQUEST_COMPLETION_FLAG;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
703
vstor_packet->u.vm_srb.length =
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
706
vstor_packet->u.vm_srb.sense_info_len = sense_buffer_size;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
708
vstor_packet->u.vm_srb.transfer_len =
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
711
vstor_packet->operation = VSTOR_OPERATION_EXECUTESRB;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
713
ch_sel = (vstor_packet->u.vm_srb.lun + curcpu) % sc->hs_nchan;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
729
vstor_packet, VSTOR_PKT_SIZE, (uint64_t)(uintptr_t)request);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
733
vstor_packet, VSTOR_PKT_SIZE, (uint64_t)(uintptr_t)request);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
742
printf("Unable to send packet %p ret %d", vstor_packet, ret);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
758
struct vstor_packet *vstor_packet,
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
763
vm_srb = &vstor_packet->u.vm_srb;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
769
request->vstor_packet.u.vm_srb.scsi_status = vm_srb->scsi_status;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
770
request->vstor_packet.u.vm_srb.srb_status = vm_srb->srb_status;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
771
request->vstor_packet.u.vm_srb.transfer_len = vm_srb->transfer_len;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
837
uint8_t packet[roundup2(sizeof(struct vstor_packet), 8)];
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
839
struct vstor_packet *vstor_packet;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
851
memcpy(&request->vstor_packet, packet,
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
852
sizeof(struct vstor_packet));
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
855
vstor_packet = (struct vstor_packet *)packet;
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
856
switch(vstor_packet->operation) {
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
86
#define VSTOR_PKT_SIZE (sizeof(struct vstor_packet) - vmscsi_size_delta)
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
864
vstor_packet, request);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
868
"implemented.\n", vstor_packet->operation);