Home
last modified time | relevance | path

Searched refs:STRUCT_BUF (Results 1 – 25 of 44) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_sys.c82 if (copyin(arg, STRUCT_BUF(ea), STRUCT_SIZE(ea))) 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()
204 if (copyin(arg, STRUCT_BUF(nra), STRUCT_SIZE(nra))) in nfssys()
220 if (copyin(arg, STRUCT_BUF(ulsa), STRUCT_SIZE(ulsa))) in nfssys()
251 if (copyin(arg, STRUCT_BUF(nfa), STRUCT_SIZE(nfa))) in nfssys()
264 if (copyin(arg, STRUCT_BUF(nsa), STRUCT_SIZE(nsa))) in nfssys()
[all …]
H A Dnfs_vfsops.c281 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 Dnfs3_vfsops.c272 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/intel/io/
H A Ducode_drv.c149 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/crypto/io/
H A Dcrypto.c978 if (copyout(STRUCT_BUF(get_number), arg, in get_mechanism_number()
1037 offset -= (ulong_t)STRUCT_BUF(get_list); in get_mechanism_list()
1112 if (copyin(arg, STRUCT_BUF(get_all_mech), in get_all_mechanism_info()
1267 if (copyout(STRUCT_BUF(get_list), arg, in get_provider_list()
1285 if (copyout(STRUCT_BUF(get_list), arg, in get_provider_list()
1298 if (copyout(STRUCT_BUF(get_list), arg, in get_provider_list()
1323 offset -= (ulong_t)STRUCT_BUF(get_list); in get_provider_list()
3247 if (copyin(arg, STRUCT_BUF(digest_init), in digest_init()
3442 if (copyout(STRUCT_BUF(digest_key), arg, in digest_key()
3695 if (copyin(arg, STRUCT_BUF(set_pin), in set_pin()
[all …]
H A Dcryptoadm.c307 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/common/fs/ctfs/
H A Dctfs_ctl.c295 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 Dauditsys.c207 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()
1167 if (copyin(data, STRUCT_BUF(apinfo), STRUCT_SIZE(apinfo))) in getpinfo()
1242 if (copyin(data, STRUCT_BUF(apinfo), STRUCT_SIZE(apinfo))) in getpinfo_addr()
[all …]
H A Dsem.c368 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 Dmemcntl.c149 if (copyin(arg, STRUCT_BUF(mha), STRUCT_SIZE(mha))) { in memcntl()
/illumos-gate/usr/src/uts/common/sys/
H A Dmodel.h142 #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 Dcpuid_drv.c162 STRUCT_BUF(h), STRUCT_SIZE(h), mode)) in cpuid_ioctl()
184 if (ddi_copyout(STRUCT_BUF(h), in cpuid_ioctl()
H A Dcons.c454 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 Drpcsys.c54 if (copyin(arg, STRUCT_BUF(nra), STRUCT_SIZE(nra))) in rpcsys()
/illumos-gate/usr/src/uts/common/os/
H A Dmsg.c455 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 Dshm.c642 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 Dmmapobj.c1363 (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 Dcontract.c1442 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 Dsockparams.c844 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 Dufs_filio.c112 if (copyin(fiou, STRUCT_BUF(fio), STRUCT_SIZE(fio))) in ufs_fioio()
184 if (copyout(STRUCT_BUF(fio), fiou, STRUCT_SIZE(fio))) { in ufs_fioio()
/illumos-gate/usr/src/uts/common/inet/ipd/
H A Dipd.c817 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 Daudit_event.c1791 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()
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()
3579 if (copyin((caddr_t)data, (caddr_t)STRUCT_BUF(mc), in aus_modctl()
[all …]
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c1443 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 Dppm.c467 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 Dsmbfs_vfsops.c431 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()

12