/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_sys.c | 82 if (copyin(arg, STRUCT_BUF(ea), STRUCT_SIZE(ea))) in nfs_export() 85 return (exportfs(STRUCT_BUF(ea), get_udatamodel(), CRED())); in nfs_export() 104 if (copyin(arg, STRUCT_BUF(u_clr), STRUCT_SIZE(u_clr))) in nfssys() 156 if (copyin(arg, STRUCT_BUF(ursa), STRUCT_SIZE(ursa))) in nfssys() 177 if (copyin(arg, STRUCT_BUF(nsa), STRUCT_SIZE(nsa))) in nfssys() 180 error = nfs_svc(STRUCT_BUF(nsa), get_udatamodel()); in nfssys() 193 if (copyin(arg, STRUCT_BUF(nga), STRUCT_SIZE(nga))) in nfssys() 196 error = nfs_getfh(STRUCT_BUF(nga), get_udatamodel(), CRED()); in nfssys() 204 if (copyin(arg, STRUCT_BUF(nra), STRUCT_SIZE(nra))) in nfssys() 220 if (copyin(arg, STRUCT_BUF(ulsa), STRUCT_SIZE(ulsa))) in nfssys() [all …]
|
H A D | nfs_vfsops.c | 281 bzero(STRUCT_BUF(args), SIZEOF_STRUCT(nfs_args, DATAMODEL_NATIVE)); in nfs_copyin() 282 if (copyin(data, STRUCT_BUF(args), MIN(datalen, STRUCT_SIZE(args)))) in nfs_copyin() 307 if (copyin(STRUCT_FGETP(args, knconf), STRUCT_BUF(knconf_tmp), in nfs_copyin() 349 error = pathconf_copyin(STRUCT_BUF(args), pc); in nfs_copyin() 359 if (copyin(STRUCT_FGETP(args, addr), STRUCT_BUF(addr_tmp), in nfs_copyin() 415 if (copyin(STRUCT_FGETP(args, syncaddr), STRUCT_BUF(addr_tmp), in nfs_copyin() 1055 if (copyin(STRUCT_FGETP(ap, pathconf), STRUCT_BUF(pc_tmp), in pathconf_copyin()
|
H A D | nfs3_vfsops.c | 272 bzero(STRUCT_BUF(args), SIZEOF_STRUCT(nfs_args, DATAMODEL_NATIVE)); in nfs3_copyin() 273 if (copyin(data, STRUCT_BUF(args), MIN(datalen, STRUCT_SIZE(args)))) in nfs3_copyin() 297 if (copyin(STRUCT_FGETP(args, knconf), STRUCT_BUF(knconf_tmp), in nfs3_copyin() 339 if (copyin(STRUCT_FGETP(args, addr), STRUCT_BUF(addr_tmp), in nfs3_copyin() 395 if (copyin(STRUCT_FGETP(args, syncaddr), STRUCT_BUF(addr_tmp), in nfs3_copyin()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 944 if (copyin(arg, STRUCT_BUF(get_number), STRUCT_SIZE(get_number)) != 0) in get_mechanism_number() 978 if (copyout(STRUCT_BUF(get_number), arg, in get_mechanism_number() 1003 if (copyin(arg, STRUCT_BUF(get_list), STRUCT_SIZE(get_list)) != 0) { in get_mechanism_list() 1021 if (copyout(STRUCT_BUF(get_list), arg, STRUCT_SIZE(get_list)) != 0) { in get_mechanism_list() 1037 offset -= (ulong_t)STRUCT_BUF(get_list); in get_mechanism_list() 1074 bcopy(STRUCT_BUF(mi), p, STRUCT_SIZE(mi)); in copyout_mechinfos() 1112 if (copyin(arg, STRUCT_BUF(get_all_mech), in get_all_mechanism_info() 1147 if (copyout(STRUCT_BUF(get_all_mech), arg, in get_all_mechanism_info() 1164 offset -= (ulong_t)STRUCT_BUF(get_all_mech); in get_all_mechanism_info() 1258 if (copyin(arg, STRUCT_BUF(get_list), STRUCT_SIZE(get_list)) != 0) { in get_provider_list() [all …]
|
H A D | cryptoadm.c | 307 if (copyin(arg, STRUCT_BUF(soft_list), STRUCT_SIZE(soft_list)) != 0) in get_soft_list() 313 if (copyout(STRUCT_BUF(soft_list), arg, in get_soft_list() 327 if (copyout(STRUCT_BUF(soft_list), arg, in get_soft_list() 345 if (copyout(STRUCT_BUF(soft_list), arg, STRUCT_SIZE(soft_list)) != 0) { in get_soft_list()
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | ucode_drv.c | 149 STRUCT_BUF(h), STRUCT_SIZE(h), mode)) in ucode_ioctl() 181 if (ddi_copyout(STRUCT_BUF(h), (void *)arg, in ucode_ioctl() 202 if (ddi_copyin((void *)arg, STRUCT_BUF(h), STRUCT_SIZE(h), 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/fs/ctfs/ |
H A D | ctfs_ctl.c | 295 if (copyin((void *)arg, STRUCT_BUF(st), STRUCT_SIZE(st))) in ctfs_stat_ioctl() 300 contract_status_common(ct, VTOZONE(vp), STRUCT_BUF(st), mdl); in ctfs_stat_ioctl() 305 STRUCT_BUF(st), mdl); in ctfs_stat_ioctl() 320 if (copyout(STRUCT_BUF(st), (void *)arg, STRUCT_SIZE(st))) in ctfs_stat_ioctl()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | auditsys.c | 207 if (copyout(STRUCT_BUF(info), info_p, STRUCT_SIZE(info))) in getaudit() 260 if (copyout(STRUCT_BUF(info), info_p, STRUCT_SIZE(info))) in getaudit_addr() 285 if (copyin(info_p, STRUCT_BUF(info), STRUCT_SIZE(info))) in setaudit() 348 if (copyin(info_p, STRUCT_BUF(info), STRUCT_SIZE(info))) in setaudit_addr() 600 if (copyout(STRUCT_BUF(info), info_p, STRUCT_SIZE(info))) in getkaudit() 628 if (copyin(info_p, STRUCT_BUF(info), STRUCT_SIZE(info))) in setkaudit() 697 if (copyout(STRUCT_BUF(qctrl), data, STRUCT_SIZE(qctrl))) in getqctrl() 715 if (copyin(data, STRUCT_BUF(qctrl), STRUCT_SIZE(qctrl))) in setqctrl() 894 if (copyin(data, STRUCT_BUF(user_info), STRUCT_SIZE(user_info))) in setumask() 977 if (copyin(data, STRUCT_BUF(user_info), STRUCT_SIZE(user_info))) in setsmask() [all …]
|
H A D | sem.c | 368 if (copyin((void *)arg, STRUCT_BUF(sid), STRUCT_SIZE(sid))) in semctl() 409 &STRUCT_BUF(sid)->sem_perm, mdl)) { in semctl() 425 ipcperm_stat(&STRUCT_BUF(sid)->sem_perm, &sp->sem_perm, mdl); in semctl() 433 if (copyout(STRUCT_BUF(sid), (void *)arg, STRUCT_SIZE(sid))) in semctl()
|
H A D | memcntl.c | 149 if (copyin(arg, STRUCT_BUF(mha), STRUCT_SIZE(mha))) { in memcntl()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | model.h | 142 #define STRUCT_BUF(handle) ((handle).ptr.m64) macro 186 #define STRUCT_BUF(handle) ((handle).ptr) macro
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cpuid_drv.c | 162 STRUCT_BUF(h), STRUCT_SIZE(h), mode)) in cpuid_ioctl() 184 if (ddi_copyout(STRUCT_BUF(h), in cpuid_ioctl()
|
H A D | cons.c | 454 bzero(STRUCT_BUF(cnd), STRUCT_SIZE(cnd)); in cnprivateioc() 468 if (ddi_copyout(STRUCT_BUF(cnd), (void *)arg, in cnprivateioc()
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcsys.c | 54 if (copyin(arg, STRUCT_BUF(nra), STRUCT_SIZE(nra))) in rpcsys()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | msg.c | 455 if (copyin(arg, STRUCT_BUF(ds), STRUCT_SIZE(ds))) in msgctl() 484 &STRUCT_BUF(ds)->msg_perm, mdl)) { in msgctl() 502 ipcperm_stat(&STRUCT_BUF(ds)->msg_perm, &qp->msg_perm, mdl); in msgctl() 565 if (copyout(STRUCT_BUF(ds), arg, STRUCT_SIZE(ds))) in msgctl() 1043 if (copyout(STRUCT_BUF(head), buf, STRUCT_SIZE(head))) in msgsnap() 1056 if (copyout(STRUCT_BUF(mhead), buf, STRUCT_SIZE(mhead))) in msgsnap()
|
H A D | shm.c | 642 if (copyin(arg, STRUCT_BUF(ds), STRUCT_SIZE(ds))) in shmctl() 662 &STRUCT_BUF(ds)->shm_perm, mdl)) in shmctl() 673 ipcperm_stat(&STRUCT_BUF(ds)->shm_perm, &sp->shm_perm, mdl); in shmctl() 686 if (copyout(STRUCT_BUF(ds), arg, STRUCT_SIZE(ds))) in shmctl()
|
H A D | mmapobj.c | 1363 (struct myphdr *)((size_t)STRUCT_BUF(mph) + in calc_loadable() 1414 (struct myphdr *)((size_t)STRUCT_BUF(mph) + hsize)); in calc_loadable() 1788 (struct myphdr *)((size_t)STRUCT_BUF(mph) + in process_phdrs() 1850 (struct myphdr *)((size_t)STRUCT_BUF(mph) + in process_phdrs()
|
H A D | contract.c | 1442 if (copyin(uaddr, STRUCT_BUF(uarg), STRUCT_SIZE(uarg))) in ctparam_copyin() 1483 if (copyout(STRUCT_BUF(uarg), uaddr, STRUCT_SIZE(uarg))) { in ctparam_copyout() 2574 result = copyin(uaddr, STRUCT_BUF(ev), STRUCT_SIZE(ev)); in cte_get_event() 2636 result = copyout(STRUCT_BUF(ev), uaddr, STRUCT_SIZE(ev)); in cte_get_event()
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockparams.c | 844 if (ddi_copyin((void *)socktable, STRUCT_BUF(st), in sockparams_copyout_socktable() 862 if (ddi_copyout(STRUCT_BUF(st), (void *)socktable, in sockparams_copyout_socktable() 902 if (ddi_copyout(STRUCT_BUF(st), (void *)socktable, in sockparams_copyout_socktable()
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_filio.c | 113 if (copyin(fiou, STRUCT_BUF(fio), STRUCT_SIZE(fio))) in ufs_fioio() 185 if (copyout(STRUCT_BUF(fio), fiou, STRUCT_SIZE(fio))) { in ufs_fioio()
|
/illumos-gate/usr/src/uts/common/inet/ipd/ |
H A D | ipd.c | 817 if (ddi_copyin((void *)arg, STRUCT_BUF(h), in ipd_ioctl_list() 833 if (ddi_copyout(STRUCT_BUF(h), (void *)arg, in ipd_ioctl_list() 888 if (ddi_copyout(STRUCT_BUF(h), (void *)arg, STRUCT_SIZE(h), 0) != 0) in ipd_ioctl_list()
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 1791 bzero(STRUCT_BUF(nfsargs), STRUCT_SIZE(nfsargs)); in aus_mount() 1793 if (copyin((caddr_t)dataptr, STRUCT_BUF(nfsargs), in aus_mount() 3148 if (copyin((caddr_t)a1, STRUCT_BUF(ainfo), in aus_auditsys() 3172 if (copyin((caddr_t)a1, STRUCT_BUF(ainfo_addr), in aus_auditsys() 3231 if (copyin((caddr_t)a2, STRUCT_BUF(qctrl), STRUCT_SIZE(qctrl))) in aus_auditsys() 3264 if (copyin((caddr_t)uap->a2, STRUCT_BUF(ainfo), in aus_auditsys() 3275 if (copyin((caddr_t)uap->a2, STRUCT_BUF(ainfo), in aus_auditsys() 3299 if (copyin((caddr_t)uap->a2, STRUCT_BUF(apinfo), in aus_auditsys() 3312 if (copyin((caddr_t)a1, STRUCT_BUF(ainfo_addr), in aus_auditsys() 3577 bzero((caddr_t)STRUCT_BUF(mc), STRUCT_SIZE(mc)); in aus_modctl() [all …]
|
/illumos-gate/usr/src/uts/common/fs/mntfs/ |
H A D | mntvnops.c | 1443 if (copyout(STRUCT_BUF(ktab), uemp, ssize)) in mntfs_copyout_elem() 1560 if (copyin(dp, STRUCT_BUF(tagdesc), STRUCT_SIZE(tagdesc))) { in mntioctl() 1626 if (copyin((void *) arg, STRUCT_BUF(embuf), in mntioctl() 1657 if (copyin(uemp, STRUCT_BUF(ktab), in mntioctl() 1817 if (copyin((void *) arg, STRUCT_BUF(embuf), in mntioctl()
|
/illumos-gate/usr/src/uts/common/io/ppm/ |
H A D | ppm.c | 467 ret = ddi_copyin((caddr_t)arg, STRUCT_BUF(dpwr), in ppm_ioctl() 526 ret = ddi_copyout(STRUCT_BUF(dpwr), (caddr_t)arg, in ppm_ioctl() 546 ret = ddi_copyin((caddr_t)arg, STRUCT_BUF(bydev), in ppm_ioctl() 598 ret = ddi_copyin((caddr_t)arg, STRUCT_BUF(bydom), in ppm_ioctl() 687 ret = ddi_copyin((caddr_t)arg, STRUCT_BUF(norm), in ppm_ioctl() 729 ret = ddi_copyout(STRUCT_BUF(norm), (caddr_t)arg, in ppm_ioctl()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vfsops.c | 431 bzero(STRUCT_BUF(args), SIZEOF_STRUCT(smbfs_args, DATAMODEL_NATIVE)); in smbfs_mount() 432 if (copyin(data, STRUCT_BUF(args), MIN(uap->datalen, in smbfs_mount()
|