Lines Matching defs:PR0

301 #define	PR0 if (vd_msglevel > 0)	PRN
306 PR0("dst:%x op:%x st:%u nb:%lx addr:%lx ncook:%u\n", \
386 #define PR0(...)
776 PR0("offset (0x%lx) >= size (0x%lx)",
794 PR0("Unknown disk label, can't do I/O "
808 PR0("req_addr (0x%lx) >= psize (0x%lx)",
822 PR0("I/O size truncated to %lu bytes from %lu bytes",
834 PR0("offset + nbytes (0x%lx + 0x%lx) > "
1032 PR0("requested disk size: %ld bytes\n", disk_size);
1033 PR0("setup: ncyl=%d nhead=%d nsec=%d\n", label->dkl_pcyl,
1035 PR0("provided disk size: %ld bytes\n", (uint64_t)
1087 PR0("fail to write disk label");
1096 PR0("no alternate cylinder, can not store backup labels");
1115 PR0("not enough sector to store all backup labels");
1121 PR0("error writing backup label at block %lu\n",
1170 PR0("EFI disk has no reserved slice");
1182 PR0("not enough alternate cylinder available for devid "
1250 PR0("error reading devid block at %lu", blk);
1258 PR0("invalid devid found at block %lu (bad revision)", blk);
1268 PR0("invalid devid found at block %lu (bad checksum)", blk);
1275 PR0("invalid devid found at block %lu", blk);
1344 PR0("Error writing devid block at %lu", blk);
2004 PR0("write fails because backend is opened read-only");
2017 PR0("ldc_mem_map() returned err %d ", status);
2030 PR0("ldc_mem_acquire() returned err %d ", status);
2205 PR0("ldc_mem_release() returned err %d ", rv);
2210 PR0("ldc_mem_unmap() returned err %d ", rv);
2237 PR0("ldc_write() returned errno %d", status);
2240 PR0("ldc_write() performed only partial write");
2275 PR0("Resetting connection state with %s", VD_CLIENT(vd));
2288 PR0("flushwrite returned error %d", status);
2293 PR0("ldc_mem_dring_unmap() returned errno %d", status);
2312 PR0("taking down LDC channel");
2314 PR0("ldc_down() returned errno %d", status);
2326 PR0("calling ldc_up\n");
2342 PR0("vd_mark_in_reset: marking vd in reset\n");
2347 PR0("cannot schedule task to recv msg\n");
2383 PR0("element %u no longer \"accepted\"", idx);
2393 PR0("VIO_DRING_RELEASE() returned errno %d",
2497 PR0("ldc_mem_release() returned errno %d copying to "
2508 PR0("ldc_mem_unmap() returned errno %d copying to client",
2557 PR0("initiating full reset");
3394 PR0("Fail to write devid");
3458 PR0("ioctl %x set rval = %d, which is not being returned"
3487 PR0("Performing %s", ioctl->operation_name);
3496 PR0("ldc_mem_copy() returned errno %d "
3522 PR0("uscsi fails because backend is opened read-only");
3534 PR0("ioctl(%s) = errno %d", ioctl->cmd_name, request->status);
3562 PR0("ldc_mem_copy() returned errno %d "
3596 PR0("%s: Error %d completing task", __func__, task->status);
3674 PR0("%s: Expected at least nbytes = %lu, "
3681 PR0("%s: Expected nbytes = %lu, got %lu",
3693 PR0("%s fails because backend is opened read-only",
3778 PR0("ldc_mem_copy() returned errno %d copying to client",
3813 PR0("Performing VD_OP_RESET");
3816 PR0("VD_OP_RESET: Expected nbytes = 0, got %lu",
3837 PR0("Performing VD_OP_GET_CAPACITY");
3842 PR0("VD_OP_GET_CAPACITY: Expected nbytes = %lu, got %lu",
3862 PR0("ldc_mem_copy() returned errno %d copying to client", rv);
3881 PR0("Performing VD_OP_GET_ACCESS");
3886 PR0("VD_OP_GET_ACCESS: Expected nbytes = %lu, got %lu",
3901 PR0("ldc_mem_copy() returned errno %d copying to client", rv);
3923 PR0("VD_OP_SET_ACCESS: Expected nbytes = %lu, got %lu",
3930 PR0("ldc_mem_copy() returned errno %d copying from client", rv);
3935 PR0("Performing VD_OP_SET_ACCESS (CLEAR)");
3949 PR0("Invalid VD_OP_SET_ACCESS flags: 0x%lx", flags);
3962 PR0("Performing VD_OP_SET_ACCESS (EXCLUSIVE|PREEMPT|PRESERVE)");
3977 PR0("Performing VD_OP_SET_ACCESS (EXCLUSIVE|PRESERVE)");
3994 PR0("Performing VD_OP_SET_ACCESS (EXCLUSIVE|PREEMPT)");
4012 PR0("Performing VD_OP_SET_ACCESS (EXCLUSIVE)");
4022 PR0("VD_OP_SET_ACCESS: error %d", request->status);
4035 PR0("Releasing disk ownership");
4048 PR0("Fail to release ownership, error %d", status);
4054 PR0("Resetting disk");
4058 PR0("Fail to reset disk, error %d", status);
4069 PR0("Fail to release ownership, error %d", status);
4161 PR0("Unsupported operation %u", request->operation);
4170 PR0("Invalid \"slice\" %u (max %u) for virtual disk",
4281 PR0("Adjusting minor version from %u to %u",
4338 PR0("Expected %lu-byte version message; "
4344 PR0("Expected device class %u (disk); received %u",
4382 PR0("Using major version %u, minor version %u",
4434 PR0("Message is not an attribute message");
4439 PR0("Expected %lu-byte attribute message; "
4445 PR0("Received maximum transfer size of 0 from client");
4451 PR0("Client requested unsupported transfer mode");
4461 PR0("Retry setting up disk (%s)", vd->device_path);
4481 PR0("vdisk_type = %s, volume = %s, file = %s, nslices = %u",
4540 PR0("%s", VD_CLIENT(vd));
4561 PR0("Message is not a register-dring message");
4566 PR0("Expected at least %lu-byte register-dring message; "
4574 PR0("Expected %lu-byte register-dring message; "
4580 PR0("A dring was previously registered; only support one");
4585 PR0("reg_msg->num_descriptors = %u; must be <= %u (%s)",
4604 PR0("reg_msg->ncookies = %u != 1", reg_msg->ncookies);
4617 PR0("ldc_mem_dring_map() returned errno %d", status);
4630 PR0("ldc_mem_dring_info() returned errno %d", status);
4632 PR0("ldc_mem_dring_unmap() returned errno %d", status);
4637 PR0("Descriptor ring virtual address is NULL");
4666 PR0("ldc_mem_alloc_handle() returned err %d ", status);
4698 PR0("Message is not an unregister-dring message");
4703 PR0("Expected %lu-byte unregister-dring message; "
4709 PR0("Expected dring ident %lu; received %lu",
4723 PR0("Message is not an RDX message");
4728 PR0("Expected %lu-byte RDX message; received %lu bytes",
4733 PR0("Valid RDX message");
4741 PR0("Received seq_num %lu; expected %lu",
4743 PR0("initiating soft reset");
4785 PR0("Expected at least %lu-byte descriptor message; "
4791 PR0("Expected %lu-byte descriptor message; "
4843 PR0("descriptor %u not ready", idx);
4848 PR0("VIO_DRING_RELEASE() returned errno %d", status);
4931 PR0("Expected %lu-byte dring message; received %lu bytes",
4940 PR0("Expected dring ident %lu; received ident %lu",
4946 PR0("\"start_idx\" = %u; must be less than %u",
4953 PR0("\"end_idx\" = %u; must be >= 0 and less than %u",
4981 PR0("ldc_read() returned errno %d", status);
5011 PR0("Expected SID %u, received %u", vd->sid,
5059 PR0("Unsupported transfer mode");
5117 PR0("Unsupported transfer mode");
5123 PR0("Invalid client connection state");
5140 PR0("Received short (%lu-byte) message", msglen);
5142 PR0("initiating full reset");
5160 PR0("Received unexpected message");
5202 PR0("initiating %s reset",
5246 PR0("channel not up (status=%d), exiting recv loop\n",
5262 PR0("max_msglen changed 0x%lx to 0x%lx bytes\n",
5276 PR0("initiating soft reset (ECONNRESET)\n");
5283 PR0("initiating full reset (status=0x%x)", status);
5304 PR0("LDC_EVT_DOWN: LDC channel went down");
5310 PR0("cannot schedule task to recv msg\n");
5316 PR0("LDC_EVT_RESET: LDC channel was reset");
5319 PR0("scheduling full reset");
5324 PR0("cannot schedule task to recv msg\n");
5329 PR0("channel already reset, ignoring...\n");
5330 PR0("doing ldc up...\n");
5338 PR0("EVT_UP: LDC is up\nResetting client connection state");
5339 PR0("initiating soft reset");
5344 PR0("cannot schedule task to recv msg\n");
5359 PR0("cannot schedule task to recv msg\n");
5389 PR0("No action required for DDI_SUSPEND");
5392 PR0("Unrecognized \"cmd\"");
5399 PR0("Could not get state for instance %u", instance);
5407 PR0("Not detaching because serving vdisks");
5411 PR0("Detaching");
5505 PR0("'variant' property exists for %s", vd->device_path);
5513 PR0("'atapi' property exists for %s", vd->device_path);
5587 PR0("Opening device major %u, minor %u = slice %u",
5916 PR0("underlying device of %s = (%d, %d)\n", file_path,
5923 PR0("ldi_open() returned errno %d for underlying device",
5929 PR0("ldi_ioctl(DKIOCINFO) returned errno %d for "
5939 PR0("close the underlying device");
5943 PR0("using file %s on device (%d, %d), max_xfer = %u blks",
6048 PR0("can not read devid for %s", backend_path);
6063 PR0("fail to create devid for %s", backend_path);
6075 PR0("fail to write devid for %s", backend_path);
6117 PR0("ldi_open_by_name(%s) = errno %d", device_path, status);
6177 PR0("Failed to open (%s) = errno %d",
6369 PR0("VOP_GETATTR(%s) = errno %d", vd->device_path, rv);
6381 PR0("ldi_get_size() failed for %s", vd->device_path);
6394 PR0("DKIOCGMEDIAINFO failed for %s (err=%d)",
6402 PR0("ldi_get_size() failed for %s",
6465 PR0("vd_setup_partition_vtoc() failed for %s "
6472 PR0("vd_setup_partition_efi() failed for %s "
6511 PR0("Failed to open (%s) = errno %d", device_path, status);
6550 PR0("driver %s identified as %s", drv_name,
6574 PR0("Cannot lookup %s errno %d", path, status);
6728 PR0("Adding vdisk for %s", device_path);
6765 PR0("vdisk_type = %s, volume = %s, file = %s, nslices = %u",
6834 PR0("ldc_up() returned errno %d", status);
6895 PR0("Destroying vdisk state");
6930 PR0("Timed out closing channel");
6973 PR0("Closing slice %u", slice);
7096 PR0("No options found");
7114 PR0("option: %s", opt);
7204 PR0("driver-type-list, entry %d (%s) added",
7228 PR0("Adding vdisk ID %lu", id);
7261 PR0("Removing vdisk ID %lu", id);
7334 PR0("Changing vdisk ID %lu", prev_id);
7469 PR0("Attaching");
7474 PR0("No action required for DDI_RESUME");