/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_ioctl.c | 123 if (ddi_copyout(&r, data, sizeof (r), flags) < 0) in pci_rw() 145 if (ddi_copyout(&r, data, sizeof (r), flags) < 0) in reg_rw() 1774 if (ddi_copyout(buf, (void *)((uintptr_t)data + sizeof (r)), r.len, in regdump() 1780 if (ddi_copyout(&r, data, sizeof (r), flags) < 0) in regdump() 1819 rc = ddi_copyout(buff, sgec.data, sgec.len, flags); in get_sge_context() 1821 rc = ddi_copyout(&sgec, data, sizeof (sgec), flags); in get_sge_context() 1853 if (ddi_copyout(buf, t4tid.data, t4tid.len, flags) < 0) in read_tid_tab() 1951 rc = ddi_copyout(buf, dst, n, flags); in read_card_mem() 1989 rc = ddi_copyout(&dl, data, sizeof (dl), flags); in get_devlog() 2011 if (ddi_copyout(buf, (void *)((uintptr_t)data + sizeof (dl)), dl.len, in get_devlog() [all …]
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_ioctl.c | 195 status = ddi_copyout(&rdreg, arg, sizeof (hci1394_ioctl_rdreg_t), mode); in hci1394_ioctl_rdreg() 252 status = ddi_copyout(&rdvreg, arg, sizeof (hci1394_ioctl_rdvreg_t), in hci1394_ioctl_rdvreg() 274 status = ddi_copyout(&selfid_cnt, arg, in hci1394_ioctl_selfid_cnt() 296 status = ddi_copyout(&busgen_cnt, arg, in hci1394_ioctl_busgen_cnt() 352 status = ddi_copyout(&rdphy, arg, sizeof (hci1394_ioctl_rdphy_t), mode); in hci1394_ioctl_rdphy() 378 status = ddi_copyout(&hbainfo, arg, sizeof (hci1394_ioctl_hbainfo_t), in hci1394_ioctl_hbainfo() 457 status = ddi_copyout(&data, &read_selfid.buf[offset], 4, mode); in hci1394_ioctl_read_selfid() 497 status = ddi_copyout(&data, in hci1394_ioctl_read_selfid32()
|
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_ioctl.c | 98 if (ddi_copyout((void *)&gdriver_info, (void *)(uintptr_t)request->argp, in cpqary3_ioctl_driver_info() 108 if (ddi_copyout((void *)request, (void *)ioctl_reqp, in cpqary3_ioctl_driver_info() 187 if (ddi_copyout((void *)ctlr_info, (void *)(uintptr_t)request->argp, in cpqary3_ioctl_ctlr_info() 198 if (ddi_copyout((void *)request, (void *)ioctl_reqp, in cpqary3_ioctl_ctlr_info() 281 if (ddi_copyout((void *) bmic_pass, (void *)(uintptr_t)request->argp, in cpqary3_ioctl_bmic_pass() 292 if (ddi_copyout((void *) request, (void *)ioctl_reqp, in cpqary3_ioctl_bmic_pass() 389 if (ddi_copyout((void *)databuf, in cpqary3_ioctl_send_bmiccmd() 554 if (ddi_copyout((void *)scsi_pass, (void *)(uintptr_t)request->argp, in cpqary3_ioctl_scsi_pass() 565 if (ddi_copyout((void *)request, (void *)ioctl_reqp, in cpqary3_ioctl_scsi_pass() 679 if (ddi_copyout((void *)databuf, in cpqary3_ioctl_send_scsicmd()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devpool.c | 273 if (ddi_copyout(&status, (void *)arg, in pool_ioctl() 328 if (ddi_copyout((caddr_t)&query32, (void *)arg, in pool_ioctl() 336 if (ddi_copyout(&query, (void *)arg, in pool_ioctl() 341 ddi_copyout(kbuf, query.pq_io_buf, size, mode) != 0) in pool_ioctl() 357 if (ret == 0 && ddi_copyout(&create, (void *)arg, in pool_ioctl() 466 ddi_copyout(&bindq, (void *)arg, in pool_ioctl() 525 if (ddi_copyout((caddr_t)&propget32, (void *)arg, in pool_ioctl() 532 if (ddi_copyout(&propget, (void *)arg, in pool_ioctl() 540 if (ddi_copyout(kbuf, propget.pp_i_buf, in pool_ioctl()
|
H A D | ufm.c | 244 if (ddi_copyout(&ugc, (void *)data, sizeof (ufm_ioc_getcaps_t), in ufm_do_getcaps() 332 if (ddi_copyout(&ufbz32, (void *)data, in ufm_do_reportsz() 340 if (ddi_copyout(&ufbz, (void *)data, in ufm_do_reportsz() 435 if (ddi_copyout(buf, ufmr.ufmr_buf, sz, mode) != 0) { in ufm_do_report() 445 if (ddi_copyout(&ufmr32, (void *)data, in ufm_do_report() 453 if (ddi_copyout(&ufmr, (void *)data, in ufm_do_report() 538 if (ddi_copyout(&ufri32, (void *)data, sizeof (ufri32), in ufm_do_readimg() 546 if (ddi_copyout(&ufri, (void *)data, sizeof (ufri), in ufm_do_readimg()
|
H A D | devfm.c | 339 if (ddi_copyout(buf, fid.fid_outbuf, sz, flag) != 0) { in fm_ioctl() 350 if (ddi_copyout(&fid32, (void *)data, in fm_ioctl() 357 if (ddi_copyout(&fid, (void *)data, in fm_ioctl()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_sol_dev.c | 579 if (ddi_copyout(vme, outp, sizeof (*vme), md)) { in vmmdev_do_ioctl() 623 ddi_copyout(&statdesc, datap, sizeof (statdesc), md)) { in vmmdev_do_ioctl() 641 ddi_copyout(&vmstats, datap, sizeof (vmstats), md)) { in vmmdev_do_ioctl() 733 ddi_copyout(&pptlimits, datap, sizeof (pptlimits), md)) { in vmmdev_do_ioctl() 826 if (ddi_copyout(&pincount, datap, sizeof (int), md)) { in vmmdev_do_ioctl() 866 if (ddi_copyout(buf, desc.vfd_entry_data, buf_sz, md)) { in vmmdev_do_ioctl() 873 if (ddi_copyout(&desc, datap, sizeof (desc), md)) { in vmmdev_do_ioctl() 988 if (error == 0 && ddi_copyout(&mm, datap, sizeof (mm), md)) { in vmmdev_do_ioctl() 1034 ddi_copyout(&vmseg, datap, sizeof (vmseg), md)) { in vmmdev_do_ioctl() 1050 ddi_copyout(&vmreg, datap, sizeof (vmreg), md)) { in vmmdev_do_ioctl() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | rmcadm.c | 476 if (ddi_copyout(rr.resp.msg_buf, user_resp_buf, in rmcadm_ioctl() 514 if (ddi_copyout((caddr_t)&rr32, (caddr_t)arg, in rmcadm_ioctl() 521 if (ddi_copyout((caddr_t)&rr, (caddr_t)arg, in rmcadm_ioctl() 527 if (ddi_copyout((caddr_t)&rr, (caddr_t)arg, sizeof (rr), in rmcadm_ioctl() 635 if (ddi_copyout(ssbp.resp_bp.msg_buf, user_resp_buf, in rmcadm_ioctl() 671 if (ddi_copyout((caddr_t)&ssbp32, (caddr_t)arg, in rmcadm_ioctl() 678 if (ddi_copyout((caddr_t)&ssbp, (caddr_t)arg, in rmcadm_ioctl() 684 if (ddi_copyout((caddr_t)&ssbp, (caddr_t)arg, sizeof (ssbp), in rmcadm_ioctl()
|
H A D | pic16f747.c | 391 (void) ddi_copyout(&tempr, (caddr_t)arg, sizeof (tempr), mode); in pic_ioctl() 409 (void) ddi_copyout(&in_command, (caddr_t)arg, 1, mode); in pic_ioctl() 429 (void) ddi_copyout(&in_command, (caddr_t)arg, 1, mode); in pic_ioctl() 449 (void) ddi_copyout(&in_command, (caddr_t)arg, 1, mode); in pic_ioctl()
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | ucode_drv.c | 174 if (ddi_copyout(revp, (void *)rev_array, size, mode) != 0) { in ucode_ioctl() 181 if (ddi_copyout(STRUCT_BUF(h), (void *)arg, in ucode_ioctl() 227 if (ddi_copyout(STRUCT_BUF(h), (void *)arg, in ucode_ioctl() 240 if (ddi_copyout(STRUCT_BUF(h), (void *)arg, in ucode_ioctl()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/ |
H A D | lmrc_ioctl.c | 85 ret = ddi_copyout(&dv, ubuf, len, mode); in lmrc_drv_ioctl_drv_version() 134 ret = ddi_copyout(&pi, ubuf, len, mode); in lmrc_drv_ioctl_pci_info() 363 ret = ddi_copyout(mfi->mfi_data_dma.ld_buf, xferbuf, xferlen, in lmrc_mfi_ioctl() 377 ret = ddi_copyout(sense.ld_buf, sensebuf, sense.ld_len, mode); in lmrc_mfi_ioctl() 428 if (ddi_copyout(ioc, (void *)arg, sizeof (*ioc) - 1, mode) != 0) { in lmrc_fw_ioctl() 469 if (ddi_copyout(&aen, (void *)arg, sizeof (aen), mode) != 0) in lmrc_aen_ioctl()
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_log.c | 51 if (ddi_copyout(&fl, ufl, sizeof (*ufl), flags)) in ufs_fiologenable() 70 if (ddi_copyout(&fl, ufl, sizeof (*ufl), flags)) in ufs_fiologdisable()
|
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_cfgrom.c | 102 if (ddi_copyout(&val, arg, sizeof (uint32_t), mode) != 0) { in av1394_ioctl_node_get_bus_name() 131 if (ddi_copyout(&eui64, arg, sizeof (uint64_t), mode) != 0) { in av1394_ioctl_node_get_uid() 228 if (ddi_copyout(&tl32, arg, sizeof (tl32), mode) != 0) { in av1394_ioctl_node_get_text_leaf() 230 } else if (bp && ddi_copyout(bp->b_rptr, in av1394_ioctl_node_get_text_leaf() 242 if (ddi_copyout(&tl, arg, sizeof (tl), mode) != 0) { in av1394_ioctl_node_get_text_leaf() 244 } else if (bp && ddi_copyout(bp->b_rptr, tl.tl_data, in av1394_ioctl_node_get_text_leaf()
|
H A D | av1394_isoch.c | 499 (void) ddi_copyout(&ii32, arg, sizeof (ii32), mode); in av1394_ioctl_isoch_init() 502 (void) ddi_copyout(&ii, arg, sizeof (ii), mode); in av1394_ioctl_isoch_init() 513 ret = ddi_copyout(&ii32, arg, sizeof (ii32), mode); in av1394_ioctl_isoch_init() 516 ret = ddi_copyout(&ii, arg, sizeof (ii), mode); in av1394_ioctl_isoch_init() 605 if (ddi_copyout(&recv, arg, sizeof (recv), mode) != 0) { in av1394_ioctl_recv() 641 if (ddi_copyout(&xmit, arg, sizeof (xmit), mode) != 0) { in av1394_ioctl_xmit()
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac_ioctl.c | 180 if (ddi_copyout(aac_rev, (void *)arg, in aac_check_revision() 296 if (ddi_copyout(fibp, (void *)arg, acp->fib_size, mode) != 0) { in aac_ioctl_send_fib() 349 if (ddi_copyout(&fibctx_p->unique, (void *)arg, in aac_open_getadapter_fib() 388 if (ddi_copyout(fibp, in aac_next_getadapter_fib() 606 if (ddi_copyout((struct aac_srb_reply *)fibp->data, in aac_send_raw_srb() 661 if (ddi_copyout(resp, (void *)arg, in aac_get_pci_info() 699 if (ddi_copyout(qdisk, (void *)arg, sizeof (*qdisk), mode) != 0) in aac_query_disk() 778 if (ddi_copyout(f, (void *)arg, sizeof (*f), mode) != 0) in aac_supported_features()
|
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/ |
H A D | usbprn.c | 1402 if (ddi_copyout(usbprnp->usbprn_device_id + 2, in usbprn_ioctl() 1410 if (ddi_copyout(&usbprn_devid32, (caddr_t)arg, in usbprn_ioctl() 1437 if (ddi_copyout(usbprnp->usbprn_device_id + 2, in usbprn_ioctl() 1444 if (ddi_copyout(&usbprn_devid, (caddr_t)arg, in usbprn_ioctl() 1474 if (ddi_copyout(usbprnp->usbprn_device_id + 2, in usbprn_ioctl() 1481 if (ddi_copyout(&usbprn_devid, (caddr_t)arg, in usbprn_ioctl() 1745 if (ddi_copyout(&usbprnp->usbprn_setparms, in usbprn_getparms() 1820 (void) ddi_copyout(&bpp_status, in usbprn_geterr() 1936 if (ddi_copyout(&prnio_status, in usbprn_prnio_get_status() 1972 if (ddi_copyout(&status, (caddr_t)arg, sizeof (status), flag)) { in usbprn_prnio_get_1284_status() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_ioctl.c | 350 if (ddi_copyout(&num_nodes, ioc.buf, in ibnex_devctl() 366 if (ddi_copyout(&num_hcas, ioc.buf, in ibnex_devctl() 420 if (ddi_copyout(&ssiz, ioc.buf, in ibnex_devctl() 434 } else if (ddi_copyout(snapshot, ioc.buf, in ibnex_devctl() 477 if (ddi_copyout(&ssiz, ioc.buf, in ibnex_devctl() 490 } else if (ddi_copyout(&path, ioc.buf, in ibnex_devctl() 541 if (ddi_copyout(&ssiz, ioc.buf, in ibnex_devctl() 553 } else if (ddi_copyout(snapshot, ioc.buf, in ibnex_devctl() 606 if (ddi_copyout(&ssiz, ioc.buf, in ibnex_devctl() 619 } else if (ddi_copyout(snapshot, ioc.buf, in ibnex_devctl() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_usr.c | 91 if (ddi_copyout(vcp->vc_ssnkey, (void *)arg, in smb_usr_get_ssnkey() 179 (void) ddi_copyout(ioc, (void *)arg, sizeof (*ioc), flags); in smb_usr_xnp() 267 (void) ddi_copyout(ioc, (void *)arg, sizeof (*ioc), flags); in smb_usr_rw() 569 (void) ddi_copyout(ossn, (void *)arg, sizeof (*ossn), flags); in smb_usr_get_ssn() 681 (void) ddi_copyout(tcon, (void *)arg, sizeof (*tcon), flags); in smb_usr_get_tree() 801 (void) ddi_copyout(&vcp->vc_work, (void *)arg, in smb_usr_iod_ioctl() 836 (void) ddi_copyout(&nsmb_version, (void *)arg, in smb_usr_ioctl()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | af_rds.c | 298 (void) ddi_copyout(&lifn, (void *)arg, in rdsv3_ioctl() 308 (void) ddi_copyout(&len, (void *)arg, in rdsv3_ioctl() 330 if (ddi_copyout(buf, (void *)lifc.lifc_req, in rdsv3_ioctl() 341 if (ddi_copyout(&lifc, (void *)arg, sizeof (struct lifconf), in rdsv3_ioctl() 372 if (ddi_copyout(buf, (void *)ifc.ifc_req, in rdsv3_ioctl() 383 if (ddi_copyout(&ifc, (void *)arg, sizeof (struct ifconf), in rdsv3_ioctl() 413 (void) ddi_copyout(&lifr, (void *)arg, in rdsv3_ioctl() 442 (void) ddi_copyout(&ifr, (void *)arg, in rdsv3_ioctl()
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | ac_stat.c | 198 if (ddi_copyout(stat32p, pkt->cmd_cfga.private, in ac_mem_stat() 206 if (ddi_copyout(statp, pkt->cmd_cfga.private, in ac_mem_stat() 213 if (ddi_copyout(statp, pkt->cmd_cfga.private, in ac_mem_stat()
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | ssc050.c | 377 if (ddi_copyout((caddr_t)&ioctl_port, (caddr_t)arg, in ssc050_ioctl() 457 if (ddi_copyout((caddr_t)&fan_speed, (caddr_t)arg, in ssc050_ioctl() 467 if (ddi_copyout((caddr_t)&fan_speed, (caddr_t)arg, in ssc050_ioctl() 515 if (ddi_copyout((caddr_t)&ioctl_bit, (caddr_t)arg, in ssc050_ioctl() 553 if (ddi_copyout((caddr_t)&ioctl_reg, (caddr_t)arg, in ssc050_ioctl()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_ioctl.c | 272 if (ddi_copyout(&state->ts_fw_sector[0], in tavor_ioctl_flash_read() 309 if (ddi_copyout(&info32, (void *)arg, in tavor_ioctl_flash_read() 316 if (ddi_copyout(&ioctl_info, (void *)arg, in tavor_ioctl_flash_read() 551 if (ddi_copyout(&init_info, (void *)arg, in tavor_ioctl_flash_init() 709 if (ddi_copyout(&info, (void *)arg, sizeof (tavor_info_ioctl_t), in tavor_ioctl_info() 802 if (ddi_copyout(&portstat, in tavor_ioctl_ports() 824 if (ddi_copyout(&info32, (void *)arg, in tavor_ioctl_ports() 830 if (ddi_copyout(&info, (void *)arg, sizeof (tavor_ports_ioctl_t), in tavor_ioctl_ports() 1069 if (ddi_copyout(lstate.tls_rx.tlc_buf, in tavor_ioctl_loopback() 1088 if (ddi_copyout(lstate.tls_rx.tlc_buf, in tavor_ioctl_loopback() [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/glvc/ |
H A D | glvc.c | 910 retval = ddi_copyout((caddr_t)&glvc_xport_cmd, in glvc_ioctl_opt_op() 925 retval = ddi_copyout((caddr_t)&glvc_xport_cmd, in glvc_ioctl_opt_op() 992 if (ddi_copyout((caddr_t)glvc_peek_msg.buf, in glvc_ioctl() 999 if (ddi_copyout((caddr_t)&msg_peek_cmd32, in glvc_ioctl() 1021 if (ddi_copyout((caddr_t)glvc_peek_msg.buf, in glvc_ioctl() 1028 if (ddi_copyout((caddr_t)&msg_peek_cmd, in glvc_ioctl()
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_fb.c | 344 if (ddi_copyout(&kd_mode, (void *)data, sizeof (int), mode)) in do_gfx_ioctl() 349 if (ddi_copyout(softc->gfxp_ops->ident, (void *)data, in do_gfx_ioctl() 416 ddi_copyout(&cursor_request, (void *)data, in do_gfx_ioctl()
|
/illumos-gate/usr/src/uts/common/io/ksensor/ |
H A D | ksensor_drv.c | 84 if (ddi_copyout(&kind, (void *)arg, sizeof (kind), in ksensor_ioctl_kind() 101 if (ddi_copyout(&scalar, (void *)arg, sizeof (scalar), in ksensor_ioctl_scalar()
|