Lines Matching refs:DMSG
469 DMSG(vdc, 0, "[%d] Cannot detach: device is open", instance); in vdc_detach()
474 DMSG(vdc, 0, in vdc_detach()
481 DMSG(vdc, 0, in vdc_detach()
487 DMSG(vdc, 0, "[%d] proceeding...\n", instance); in vdc_detach()
510 DMSG(vdc, 0, "callback disabled (ldc=%lu, rv=%d)\n", in vdc_detach()
527 DMSG(vdc, 0, in vdc_detach()
541 DMSG(vdc, 0, "[%d] Reset thread exit and join ..\n", in vdc_detach()
625 DMSG(vdc, 0, "[%d] End %p\n", instance, (void *)vdc); in vdc_detach()
779 DMSG(vdc, 0, "[%d] Failed to create device nodes", in vdc_do_attach()
792 DMSG(vdc, 0, "[%d] Attach tasks successful\n", instance); in vdc_do_attach()
795 DMSG(vdc, 0, "[%d] Attach completed\n", instance); in vdc_do_attach()
836 DMSG(vdc, 0, "[%d] ldc_init(chan %ld) returned %d", in vdc_do_ldc_init()
844 DMSG(vdc, 0, "[%d] Cannot discover LDC status [err=%d]", in vdc_do_ldc_init()
854 DMSG(vdc, 0, "[%d] LDC callback reg. failed (%d)", in vdc_do_ldc_init()
868 DMSG(vdc, 0, "[%d] ldc_open(chan %ld) returned %d", in vdc_do_ldc_init()
894 DMSG(vdc, 0, "[%d] Finished bringing up LDC\n", vdc->instance); in vdc_start_ldc_connection()
908 DMSG(vdcp, 0, ": Resetting connection to vDisk server : state %d\n", in vdc_stop_ldc_connection()
912 DMSG(vdcp, 0, "ldc_down() = %d\n", status); in vdc_stop_ldc_connection()
915 DMSG(vdcp, 0, "initialized=%x\n", vdcp->initialized); in vdc_stop_ldc_connection()
924 DMSG(vdc, 0, "[%d] I/O kstat already exists\n", vdc->instance); in vdc_create_io_kstats()
949 DMSG(vdc, 0, "[%d] ERR kstat already exists\n", vdc->instance); in vdc_create_err_kstats()
1309 DMSG(vdc, 0, "minor = %d flag = %x, otyp = %x\n", in vdc_open()
1395 DMSG(vdc, 0, "[%d] flag = %x, otyp = %x\n", instance, flag, otyp); in vdc_close()
1407 DMSG(vdc, 0, "[%d] flush failed with error %d on close\n", in vdc_close()
1448 DMSG(vdc, 2, "[%d] dump %ld bytes at block 0x%lx : addr=0x%p\n", in vdc_dump()
1453 DMSG(vdc, 0, "Misaligned block number (%lu)\n", blkno); in vdc_dump()
1468 DMSG(vdc, 0, "Failed to do a disk dump (err=%d)\n", rv); in vdc_dump()
1472 DMSG(vdc, 0, "[%d] End\n", instance); in vdc_dump()
1507 DMSG(vdc, 2, "[%d] %s %ld bytes at block %llx : b_addr=0x%p\n", in vdc_strategy()
1634 DMSG(vdc, 0, "[%d] Entered.\n", vdc->instance); in vdc_init_ver_negotiation()
1641 DMSG(vdc, 0, "[%d] Set SID to 0x%lx\n", vdc->instance, vdc->session_id); in vdc_init_ver_negotiation()
1652 DMSG(vdc, 0, "[%d] Ver info sent (status = %d)\n", in vdc_init_ver_negotiation()
1655 DMSG(vdc, 0, "[%d] Failed to send Ver negotiation info: " in vdc_init_ver_negotiation()
1691 DMSG(vdcp, 0, in vdc_ver_negotiation()
1700 DMSG(vdcp, 0, "[%d] Invalid ver negotiation response\n", in vdc_ver_negotiation()
1730 DMSG(vdc, 0, "[%d] entered\n", vdc->instance); in vdc_init_attr_negotiation()
1747 DMSG(vdc, 0, "Attr info sent (status = %d)\n", status); in vdc_init_attr_negotiation()
1750 DMSG(vdc, 0, "[%d] Failed to send Attr negotiation info: " in vdc_init_attr_negotiation()
1786 DMSG(vdcp, 0, in vdc_attr_negotiation()
1795 DMSG(vdcp, 0, "[%d] Invalid attr negotiation response\n", in vdc_attr_negotiation()
1836 DMSG(vdc, 0, "[%d] Failed to init DRing (status = %d)\n", in vdc_init_dring_negotiate()
1841 DMSG(vdc, 0, "[%d] Init of descriptor ring completed (status = %d)\n", in vdc_init_dring_negotiate()
1859 DMSG(vdc, 0, "[%d] Failed to register DRing (err = %d)", in vdc_init_dring_negotiate()
1893 DMSG(vdcp, 0, in vdc_dring_negotiation()
1902 DMSG(vdcp, 0, "[%d] Invalid Dring negotiation response\n", in vdc_dring_negotiation()
1941 DMSG(vdcp, 0, "[%d] Failed to send RDX message (%d)", in vdc_send_rdx()
1971 DMSG(vdcp, 1, "[%d] Got an RDX msg", vdcp->instance); in vdc_handle_rdx()
2002 DMSG(vdcp, 0, "[%d] Failed waiting for RDX response, rv(%d)", in vdc_rdx_exchange()
2010 DMSG(vdcp, 0, "[%d] Invalid RDX response\n", vdcp->instance); in vdc_rdx_exchange()
2064 DMSG(vdc, 0, "ldc_read returned %d\n", status); in vdc_recv()
2135 DMSG(vdcp, 3, "(%x/%x/%x) message : (%s/%s/%s)\n", in vdc_decode_tag()
2208 DMSG(vdc, 0, "[%d] write reset - " in vdc_send()
2516 DMSG(vdc, 0, "[%d] Bringing up channel %lx\n", in vdc_do_ldc_up()
2525 DMSG(vdc, 0, "[%d] ldc_up(%lx,...) return %d\n", in vdc_do_ldc_up()
2530 DMSG(vdc, 0, "[%d] Failed to bring up LDC: " in vdc_do_ldc_up()
2540 DMSG(vdc, 0, "[%d] LDC channel already up\n", in vdc_do_ldc_up()
2569 DMSG(vdc, 0, "[%d] ldc_close()\n", instance); in vdc_terminate_ldc()
2573 DMSG(vdc, 0, "[%d] ldc_unreg_callback()\n", instance); in vdc_terminate_ldc()
2577 DMSG(vdc, 0, "[%d] ldc_fini()\n", instance); in vdc_terminate_ldc()
2608 DMSG(vdc, 0, "[%d] initialized=%x\n", instance, vdc->initialized); in vdc_fini_ports()
2653 DMSG(vdc, 0, "[%d] initialized=%x\n", vdc->instance, vdc->initialized); in vdc_init_descriptor_ring()
2662 DMSG(vdc, 0, "[%d] ldc_mem_dring_create\n", vdc->instance); in vdc_init_descriptor_ring()
2671 DMSG(vdc, 0, "[%d] using minimum DRing size\n", in vdc_init_descriptor_ring()
2686 DMSG(vdc, 0, "[%d] Descriptor ring creation failed", in vdc_init_descriptor_ring()
2694 DMSG(vdc, 0, "[%d] ldc_mem_dring_bind\n", vdc->instance); in vdc_init_descriptor_ring()
2704 DMSG(vdc, 0, "[%d] Failed to bind descriptor ring " in vdc_init_descriptor_ring()
2716 DMSG(vdc, 0, in vdc_init_descriptor_ring()
2723 DMSG(vdc, 0, "[%d] local dring\n", vdc->instance); in vdc_init_descriptor_ring()
2746 DMSG(vdc, 0, "![%d] Failed to alloc mem handle for" in vdc_init_descriptor_ring()
2784 DMSG(vdc, 0, "[%d] Entered\n", vdc->instance); in vdc_destroy_descriptor_ring()
2787 DMSG(vdc, 0, in vdc_destroy_descriptor_ring()
2797 DMSG(vdc, 0, in vdc_destroy_descriptor_ring()
2822 DMSG(vdc, 0, "[%d] Freeing Local DRing\n", vdc->instance); in vdc_destroy_descriptor_ring()
2829 DMSG(vdc, 0, "[%d] Unbinding DRing\n", vdc->instance); in vdc_destroy_descriptor_ring()
2834 DMSG(vdc, 0, "[%d] Error %d unbinding DRing %lx", in vdc_destroy_descriptor_ring()
2841 DMSG(vdc, 0, "[%d] Destroying DRing\n", vdc->instance); in vdc_destroy_descriptor_ring()
2848 DMSG(vdc, 0, "[%d] Error %d destroying DRing (%lx)", in vdc_destroy_descriptor_ring()
2882 DMSG(vdcp, 0, "[%d] Cannot populate mem handle\n", in vdc_map_to_shared_dring()
3078 DMSG(vdcp, 2, ": dring_curr_idx = %d\n", vdcp->dring_curr_idx); in vdc_populate_descriptor()
3090 DMSG(vdcp, 2, "[%d]: dring full - waiting for space\n", in vdc_populate_descriptor()
3123 DMSG(vdcp, 0, "[%d]: cannot bind memory - error\n", in vdc_populate_descriptor()
3133 DMSG(vdcp, 0, "[%d]: cannot bind memory - waiting ..\n", in vdc_populate_descriptor()
3159 DMSG(vdcp, 2, "ident=0x%lx, st=%u, end=%u, seq=%ld\n", in vdc_populate_descriptor()
3182 DMSG(vdcp, 1, "sent via LDC: rv=%d\n", rv); in vdc_populate_descriptor()
3186 DMSG(vdcp, 0, "unexpected error, rv=%d\n", rv); in vdc_populate_descriptor()
3391 DMSG(vdcp, 2, ": operation returned %d\n", status); in vdc_do_sync_op()
3472 DMSG(vdc, 0, "discard pkt: type=%d sub=%d env=%d\n", in vdc_drain_response()
3497 DMSG(vdc, 0, "[%d] Bogus ack data : start %d\n", in vdc_drain_response()
3503 DMSG(vdc, 0, "[%d] Entry @ %d - state !DONE %d\n", in vdc_drain_response()
3534 DMSG(vdc, 0, "End idx=%d\n", idx); in vdc_drain_response()
3568 DMSG(vdc, 2, ": idx = %d\n", idx); in vdc_depopulate_descriptor()
3579 DMSG(vdc, 2, ": is_free = %d : status = %d\n", ldep->is_free, status); in vdc_depopulate_descriptor()
3609 DMSG(vdc, 0, "?[%d] unbind mhdl 0x%lx @ idx %d failed (%d)", in vdc_depopulate_descriptor()
3689 DMSG(vdcp, 0, "[%d] Misaligned address %p reallocating " in vdc_populate_mem_hdl()
3701 DMSG(vdcp, 2, "[%d] bound mem handle; ncookies=%d\n", in vdc_populate_mem_hdl()
3704 DMSG(vdcp, 0, "[%d] Failed to bind LDC memory handle " in vdc_populate_mem_hdl()
3722 DMSG(vdcp, 0, "?[%d] Failed to get next cookie " in vdc_populate_mem_hdl()
3764 DMSG(vdc, 1, "evt=%lx seqID=%ld\n", event, vdc->seq_num); in vdc_handle_cb()
3770 DMSG(vdc, 0, "[%d] Ignoring event 0x%lx for port@%ld\n", in vdc_handle_cb()
3785 DMSG(vdc, 0, "[%d] Received LDC_EVT_UP\n", vdc->instance); in vdc_handle_cb()
3790 DMSG(vdc, 0, "[%d] Couldn't get LDC status %d", in vdc_handle_cb()
3812 DMSG(vdc, 1, "[%d] Received LDC_EVT_READ\n", vdc->instance); in vdc_handle_cb()
3825 DMSG(vdc, 0, "[%d] Received LDC RESET event\n", vdc->instance); in vdc_handle_cb()
3852 DMSG(vdc, 0, "![%d] Unexpected LDC event (%lx) received", in vdc_handle_cb()
3881 DMSG(vdcp, 1, "[%d] Entered\n", vdcp->instance); in vdc_wait_for_response()
3884 DMSG(vdcp, 3, "vdc_read() done.. status=0x%x size=0x%x\n", in vdc_wait_for_response()
3887 DMSG(vdcp, 0, "?[%d] Error %d reading LDC msg\n", in vdc_wait_for_response()
3893 DMSG(vdcp, 0, "?[%d] Expect %lu bytes; recv'd %lu\n", in vdc_wait_for_response()
3898 DMSG(vdcp, 2, "[%d] (%x/%x/%x)\n", vdcp->instance, in vdc_wait_for_response()
3911 DMSG(vdcp, 0, "[%d] Invalid SID: received 0x%x, " in vdc_wait_for_response()
3956 DMSG(vdcp, 1, "restoring pending dring entries (len=%d, tail=%d)\n", in vdc_resubmit_backup_dring()
3971 DMSG(vdcp, 1, "resubmitting entry idx=%x\n", b_idx); in vdc_resubmit_backup_dring()
3981 DMSG(vdcp, 1, "[%d] resubmit entry %d failed\n", in vdc_resubmit_backup_dring()
4047 DMSG(vdcp, 1, "cancelling pending dring entries (len=%d, tail=%d)\n", in vdc_cancel_backup_dring()
4062 DMSG(vdcp, 1, "cancelling entry idx=%x\n", b_idx); in vdc_cancel_backup_dring()
4161 DMSG(vdcp, 1, "reusing local descriptor ring backup " in vdc_backup_local_dring()
4178 DMSG(vdcp, 1, "backing up the local descriptor ring (len=%d, " in vdc_backup_local_dring()
4234 DMSG(vdcp, 0, "[%d] Cannot bring channel down, port %ld\n", in vdc_switch_server()
4242 DMSG(vdcp, 0, "[%d] Switched to next vdisk server, port@%ld, ldc@%ld\n", in vdc_switch_server()
4443 DMSG(vdcp, 3, "state = %d (%s)\n", vdcp->state, in vdc_process_msg_thread()
4508 DMSG(vdcp, 0, "[%d] too many " in vdc_process_msg_thread()
4561 DMSG(vdcp, 0, in vdc_process_msg_thread()
4572 DMSG(vdcp, 0, "ver negotiate failed (%d)..\n", in vdc_process_msg_thread()
4583 DMSG(vdcp, 0, "attr negotiate failed (%d)..\n", in vdc_process_msg_thread()
4592 DMSG(vdcp, 0, "dring negotiate failed (%d)..\n", in vdc_process_msg_thread()
4602 DMSG(vdcp, 0, "RDX xchg failed ..(%d)\n", in vdc_process_msg_thread()
4607 DMSG(vdcp, 0, "negotiation failed: resetting (%d)\n", in vdc_process_msg_thread()
4614 DMSG(vdcp, 0, "negotiation complete (state=0x%x)...\n", in vdc_process_msg_thread()
4620 DMSG(vdcp, 0, "[%d] connection to service domain is up", in vdc_process_msg_thread()
4792 DMSG(vdcp, 1, "[%d] new pkt(s) available\n", in vdc_process_msg_thread()
4796 DMSG(vdcp, 1, "[%d] process_data_msg " in vdc_process_msg_thread()
4837 DMSG(vdcp, 0, "Initiating channel reset " in vdc_process_msg_thread()
4841 DMSG(vdcp, 0, in vdc_process_msg_thread()
4886 DMSG(vdcp, 0, "[%d] Reset thread exit cleanup ..\n", in vdc_process_msg_thread()
4913 DMSG(vdcp, 0, "[%d] Msg processing thread exiting ..\n", in vdc_process_msg_thread()
4975 DMSG(vdcp, 0, "[%d] Bogus ACK data : start %d, end %d\n", in vdc_process_data_msg()
4997 DMSG(vdcp, 0, "[%d] invalid seqno\n", vdcp->instance); in vdc_process_data_msg()
5010 DMSG(vdcp, 0, "[%d] DATA NACK\n", vdcp->instance); in vdc_process_data_msg()
5025 DMSG(vdcp, 1, ": start %d end %d\n", start, end); in vdc_process_data_msg()
5030 DMSG(vdcp, 1, ": state 0x%x\n", ldep->dep->hdr.dstate); in vdc_process_data_msg()
5044 DMSG(vdcp, 1, "I/O status=%d\n", status); in vdc_process_data_msg()
5047 DMSG(vdcp, 1, in vdc_process_data_msg()
5155 DMSG(vdc, 0, "[%d] Resend VER info (LDC status = %d)\n", in vdc_handle_ver_msg()
5160 DMSG(vdc, 0, "[%d] No common version with vDisk server", in vdc_handle_ver_msg()
5214 DMSG(vdc, 0, "[%d] Invalid disk size from vds", in vdc_handle_attr_msg()
5221 DMSG(vdc, 0, "[%d] Invalid transfer size from vds", in vdc_handle_attr_msg()
5228 DMSG(vdc, 0, "[%d] Unknown disk size from vds", in vdc_handle_attr_msg()
5237 DMSG(vdc, 0, "[%d] Invalid block size (%u) from vds", in vdc_handle_attr_msg()
5254 DMSG(vdc, 0, "[%d] max_xfer_sz: sent %lx acked %lx\n", in vdc_handle_attr_msg()
5256 DMSG(vdc, 0, "[%d] vdisk_block_size: sent %lx acked %x\n", in vdc_handle_attr_msg()
5264 DMSG(vdc, 0, "[%d] Invalid attributes from vds", in vdc_handle_attr_msg()
5289 DMSG(vdc, 0, "![%d] Failed to update " in vdc_handle_attr_msg()
5349 DMSG(vdc, 0, "[%d] Received dring ident=0x%lx\n", in vdc_handle_dring_reg_msg()
5358 DMSG(vdc, 0, "[%d] server could not register DRing\n", in vdc_handle_dring_reg_msg()
5413 DMSG(vdc, 0, "?[%d] Bogus sequence_number %lu: " in vdc_verify_seq_num()
5547 DMSG(vdc, 0, "[%d] DKIOCFLUSHWRITECACHE failed %d : model %x\n", in vdc_dkio_flush_cb()
7024 DMSG(vdc, 0, "[%d] Ownership lost, recovering", in vdc_ownership_thread()
7038 DMSG(vdc, 0, "[%d] Ownership recovered", in vdc_ownership_thread()
7042 DMSG(vdc, 0, "[%d] Fail to recover ownership", in vdc_ownership_thread()
7304 DMSG(vdc, 0, "[%d] Processing ioctl(%x) for dev %lx : model %x\n", in vd_process_ioctl()
7324 DMSG(vdc, 0, "[%d] Unsupported ioctl (0x%x)\n", in vd_process_ioctl()
7534 DMSG(vdc, 1, "[%d] Flush W$: mode %x\n", in vd_process_ioctl()
7592 DMSG(vdc, 0, "[%d] Unsupported VD_OP operation (0x%x)\n", in vd_process_ioctl()
7599 DMSG(vdc, 1, "[%d] struct size %ld alloc %ld\n", in vd_process_ioctl()
7613 DMSG(vdc, 0, "[%d] convert func returned %d for ioctl 0x%x\n", in vd_process_ioctl()
7632 DMSG(vdc, 0, "[%d] vds returned %d for ioctl 0x%x\n", in vd_process_ioctl()
7648 DMSG(vdc, 0, "[%d] convert func returned %d for ioctl 0x%x\n", in vd_process_ioctl()
8222 DMSG(vdc, 0, "[%d] vds block transfer size too big;" in vdc_update_size()
8350 DMSG(vdc, 0, "[%d] Failed to get EFI (err=%d)", in vdc_validate_geometry()
8364 DMSG(vdc, 0, "[%d] Failed to get VTOC (err=%d)", in vdc_validate_geometry()
8436 DMSG(vdc, 1, "[%d] Got VTOC with invalid label\n", in vdc_validate_geometry()
8492 DMSG(vdc, 0, "![%d] Failed to update device nodes", in vdc_validate()
8554 DMSG(vdc, 2, "do_op returned %d\n", rv); in vdc_setup_devid()
8592 DMSG(vdc, 2, ": devid length = %d\n", vd_devid->length); in vdc_setup_devid()
8597 DMSG(vdc, 1, "[%d] Fail to created devid\n", vdc->instance); in vdc_setup_devid()
8641 DMSG(vdc, 1, "[%d] Fail to register devid\n", vdc->instance); in vdc_setup_devid()