Searched refs:STRUCT_BUF (Results 1 - 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_sys.c86 if (copyin(arg, STRUCT_BUF(ea), STRUCT_SIZE(ea)))
89 return (exportfs(STRUCT_BUF(ea), get_udatamodel(), CRED()));
119 if (copyin(arg, STRUCT_BUF(u_clr), STRUCT_SIZE(u_clr)))
173 if (copyin(arg, STRUCT_BUF(ursa), STRUCT_SIZE(ursa)))
197 if (copyin(arg, STRUCT_BUF(nsa), STRUCT_SIZE(nsa)))
200 error = nfs_svc(STRUCT_BUF(nsa), get_udatamodel());
215 if (copyin(arg, STRUCT_BUF(nga), STRUCT_SIZE(nga)))
218 error = nfs_getfh(STRUCT_BUF(nga), get_udatamodel(), CRED());
226 if (copyin(arg, STRUCT_BUF(nra), STRUCT_SIZE(nra)))
242 if (copyin(arg, STRUCT_BUF(uls
[all...]
H A Dnfs_vfsops.c281 bzero(STRUCT_BUF(args), SIZEOF_STRUCT(nfs_args, DATAMODEL_NATIVE));
282 if (copyin(data, STRUCT_BUF(args), MIN(datalen, STRUCT_SIZE(args))))
307 if (copyin(STRUCT_FGETP(args, knconf), STRUCT_BUF(knconf_tmp),
349 error = pathconf_copyin(STRUCT_BUF(args), pc);
359 if (copyin(STRUCT_FGETP(args, addr), STRUCT_BUF(addr_tmp),
415 if (copyin(STRUCT_FGETP(args, syncaddr), STRUCT_BUF(addr_tmp),
1055 if (copyin(STRUCT_FGETP(ap, pathconf), STRUCT_BUF(pc_tmp),
H A Dnfs3_vfsops.c272 bzero(STRUCT_BUF(args), SIZEOF_STRUCT(nfs_args, DATAMODEL_NATIVE));
273 if (copyin(data, STRUCT_BUF(args), MIN(datalen, STRUCT_SIZE(args))))
297 if (copyin(STRUCT_FGETP(args, knconf), STRUCT_BUF(knconf_tmp),
339 if (copyin(STRUCT_FGETP(args, addr), STRUCT_BUF(addr_tmp),
395 if (copyin(STRUCT_FGETP(args, syncaddr), STRUCT_BUF(addr_tmp),
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcsys.c56 if (copyin(arg, STRUCT_BUF(nra), STRUCT_SIZE(nra)))
/illumos-gate/usr/src/uts/intel/io/
H A Ducode_drv.c157 STRUCT_BUF(h), STRUCT_SIZE(h), mode))
189 if (ddi_copyout(STRUCT_BUF(h), (void *)arg,
210 if (ddi_copyin((void *)arg, STRUCT_BUF(h), STRUCT_SIZE(h),
235 if (ddi_copyout(STRUCT_BUF(h), (void *)arg,
248 if (ddi_copyout(STRUCT_BUF(h), (void *)arg,
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_ctl.c297 if (copyin((void *)arg, STRUCT_BUF(st), STRUCT_SIZE(st)))
302 contract_status_common(ct, VTOZONE(vp), STRUCT_BUF(st), mdl);
307 STRUCT_BUF(st), mdl);
322 if (copyout(STRUCT_BUF(st), (void *)arg, STRUCT_SIZE(st)))
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcrypto.c932 if (copyin(arg, STRUCT_BUF(get_number), STRUCT_SIZE(get_number)) != 0)
966 if (copyout(STRUCT_BUF(get_number), arg,
991 if (copyin(arg, STRUCT_BUF(get_list), STRUCT_SIZE(get_list)) != 0) {
1009 if (copyout(STRUCT_BUF(get_list), arg, STRUCT_SIZE(get_list)) != 0) {
1025 offset -= (ulong_t)STRUCT_BUF(get_list);
1062 bcopy(STRUCT_BUF(mi), p, STRUCT_SIZE(mi));
1099 if (copyin(arg, STRUCT_BUF(get_all_mech),
1134 if (copyout(STRUCT_BUF(get_all_mech), arg,
1151 offset -= (ulong_t)STRUCT_BUF(get_all_mech);
1245 if (copyin(arg, STRUCT_BUF(get_lis
[all...]
H A Dcryptoadm.c307 if (copyin(arg, STRUCT_BUF(soft_list), STRUCT_SIZE(soft_list)) != 0)
313 if (copyout(STRUCT_BUF(soft_list), arg,
327 if (copyout(STRUCT_BUF(soft_list), arg,
345 if (copyout(STRUCT_BUF(soft_list), arg, STRUCT_SIZE(soft_list)) != 0) {
/illumos-gate/usr/src/uts/common/avs/ns/
H A Dmodel.h153 #define STRUCT_BUF(handle) ((handle).ptr.m64) macro
201 #define STRUCT_BUF(handle) ((handle).ptr) macro
/illumos-gate/usr/src/uts/common/io/
H A Dcpuid_drv.c161 STRUCT_BUF(h), STRUCT_SIZE(h), mode))
180 if (ddi_copyout(STRUCT_BUF(h),
/illumos-gate/usr/src/uts/common/sys/
H A Dmodel.h144 #define STRUCT_BUF(handle) ((handle).ptr.m64) macro
191 #define STRUCT_BUF(handle) ((handle).ptr) macro
/illumos-gate/usr/src/uts/common/syscall/
H A Dauditsys.c205 if (copyout(STRUCT_BUF(info), info_p, STRUCT_SIZE(info)))
258 if (copyout(STRUCT_BUF(info), info_p, STRUCT_SIZE(info)))
283 if (copyin(info_p, STRUCT_BUF(info), STRUCT_SIZE(info)))
346 if (copyin(info_p, STRUCT_BUF(info), STRUCT_SIZE(info)))
594 if (copyout(STRUCT_BUF(info), info_p, STRUCT_SIZE(info)))
622 if (copyin(info_p, STRUCT_BUF(info), STRUCT_SIZE(info)))
691 if (copyout(STRUCT_BUF(qctrl), data, STRUCT_SIZE(qctrl)))
709 if (copyin(data, STRUCT_BUF(qctrl), STRUCT_SIZE(qctrl)))
888 if (copyin(data, STRUCT_BUF(user_info), STRUCT_SIZE(user_info)))
971 if (copyin(data, STRUCT_BUF(user_inf
[all...]
H A Dsem.c368 if (copyin((void *)arg, STRUCT_BUF(sid), STRUCT_SIZE(sid)))
409 &STRUCT_BUF(sid)->sem_perm, mdl)) {
425 ipcperm_stat(&STRUCT_BUF(sid)->sem_perm, &sp->sem_perm, mdl);
433 if (copyout(STRUCT_BUF(sid), (void *)arg, STRUCT_SIZE(sid)))
H A Dmemcntl.c148 if (copyin(arg, STRUCT_BUF(mha), STRUCT_SIZE(mha))) {
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockparams.c844 if (ddi_copyin((void *)socktable, STRUCT_BUF(st),
862 if (ddi_copyout(STRUCT_BUF(st), (void *)socktable,
902 if (ddi_copyout(STRUCT_BUF(st), (void *)socktable,
/illumos-gate/usr/src/uts/common/os/
H A Dmsg.c455 if (copyin(arg, STRUCT_BUF(ds), STRUCT_SIZE(ds)))
484 &STRUCT_BUF(ds)->msg_perm, mdl)) {
502 ipcperm_stat(&STRUCT_BUF(ds)->msg_perm, &qp->msg_perm, mdl);
565 if (copyout(STRUCT_BUF(ds), arg, STRUCT_SIZE(ds)))
1043 if (copyout(STRUCT_BUF(head), buf, STRUCT_SIZE(head)))
1056 if (copyout(STRUCT_BUF(mhead), buf, STRUCT_SIZE(mhead)))
H A Dshm.c642 if (copyin(arg, STRUCT_BUF(ds), STRUCT_SIZE(ds)))
662 &STRUCT_BUF(ds)->shm_perm, mdl))
673 ipcperm_stat(&STRUCT_BUF(ds)->shm_perm, &sp->shm_perm, mdl);
686 if (copyout(STRUCT_BUF(ds), arg, STRUCT_SIZE(ds)))
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_filio.c112 if (copyin(fiou, STRUCT_BUF(fio), STRUCT_SIZE(fio)))
184 if (copyout(STRUCT_BUF(fio), fiou, STRUCT_SIZE(fio))) {
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c367 bzero(STRUCT_BUF(args), SIZEOF_STRUCT(smbfs_args, DATAMODEL_NATIVE));
368 if (copyin(data, STRUCT_BUF(args), MIN(uap->datalen,
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharetab.c371 if (copyin(sh_in, STRUCT_BUF(u_sh), STRUCT_SIZE(u_sh))) {
/illumos-gate/usr/src/uts/common/inet/ipd/
H A Dipd.c817 if (ddi_copyin((void *)arg, STRUCT_BUF(h),
833 if (ddi_copyout(STRUCT_BUF(h), (void *)arg,
888 if (ddi_copyout(STRUCT_BUF(h), (void *)arg, STRUCT_SIZE(h), 0) != 0)
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc.c785 if (ddi_copyin((void *)args.arg0, STRUCT_BUF(parms),
790 rc = rdc_start_server(STRUCT_BUF(parms), mode);
814 if (ddi_copyout(STRUCT_BUF(parms), (void *)args.arg0,
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c1443 if (copyout(STRUCT_BUF(ktab), uemp, ssize))
1560 if (copyin(dp, STRUCT_BUF(tagdesc), STRUCT_SIZE(tagdesc))) {
1626 if (copyin((void *) arg, STRUCT_BUF(embuf),
1657 if (copyin(uemp, STRUCT_BUF(ktab),
1817 if (copyin((void *) arg, STRUCT_BUF(embuf),
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c1747 bzero(STRUCT_BUF(nfsargs), STRUCT_SIZE(nfsargs));
1750 STRUCT_BUF(nfsargs),
3092 if (copyin((caddr_t)a1, STRUCT_BUF(ainfo),
3116 if (copyin((caddr_t)a1, STRUCT_BUF(ainfo_addr),
3175 if (copyin((caddr_t)a2, STRUCT_BUF(qctrl), STRUCT_SIZE(qctrl)))
3208 if (copyin((caddr_t)uap->a2, STRUCT_BUF(ainfo),
3219 if (copyin((caddr_t)uap->a2, STRUCT_BUF(ainfo),
3471 bzero((caddr_t)STRUCT_BUF(mc), STRUCT_SIZE(mc));
3473 if (copyin((caddr_t)data, (caddr_t)STRUCT_BUF(mc),
3504 bzero((caddr_t)STRUCT_BUF(alia
[all...]
/illumos-gate/usr/src/uts/common/io/ppm/
H A Dppm.c467 ret = ddi_copyin((caddr_t)arg, STRUCT_BUF(dpwr),
526 ret = ddi_copyout(STRUCT_BUF(dpwr), (caddr_t)arg,
546 ret = ddi_copyin((caddr_t)arg, STRUCT_BUF(bydev),
598 ret = ddi_copyin((caddr_t)arg, STRUCT_BUF(bydom),
687 ret = ddi_copyin((caddr_t)arg, STRUCT_BUF(norm),
729 ret = ddi_copyout(STRUCT_BUF(norm), (caddr_t)arg,

Completed in 102 milliseconds

12