Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_sys.c86 if (copyin(arg, STRUCT_BUF(ea), STRUCT_SIZE(ea))) in nfs_export()
89 return (exportfs(STRUCT_BUF(ea), get_udatamodel(), CRED())); in nfs_export()
119 if (copyin(arg, STRUCT_BUF(u_clr), STRUCT_SIZE(u_clr))) in nfssys()
173 if (copyin(arg, STRUCT_BUF(ursa), STRUCT_SIZE(ursa))) in nfssys()
197 if (copyin(arg, STRUCT_BUF(nsa), STRUCT_SIZE(nsa))) in nfssys()
200 error = nfs_svc(STRUCT_BUF(nsa), get_udatamodel()); in nfssys()
215 if (copyin(arg, STRUCT_BUF(nga), STRUCT_SIZE(nga))) in nfssys()
218 error = nfs_getfh(STRUCT_BUF(nga), get_udatamodel(), CRED()); in nfssys()
226 if (copyin(arg, STRUCT_BUF(nra), STRUCT_SIZE(nra))) in nfssys()
242 if (copyin(arg, STRUCT_BUF(ulsa), STRUCT_SIZE(ulsa))) 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()
/titanic_41/usr/src/uts/intel/io/
H A Ducode_drv.c157 STRUCT_BUF(h), STRUCT_SIZE(h), mode)) in ucode_ioctl()
189 if (ddi_copyout(STRUCT_BUF(h), (void *)arg, in ucode_ioctl()
210 if (ddi_copyin((void *)arg, STRUCT_BUF(h), STRUCT_SIZE(h), in ucode_ioctl()
235 if (ddi_copyout(STRUCT_BUF(h), (void *)arg, in ucode_ioctl()
248 if (ddi_copyout(STRUCT_BUF(h), (void *)arg, in ucode_ioctl()
/titanic_41/usr/src/uts/common/crypto/io/
H A Dcrypto.c932 if (copyin(arg, STRUCT_BUF(get_number), STRUCT_SIZE(get_number)) != 0) in get_mechanism_number()
966 if (copyout(STRUCT_BUF(get_number), arg, in get_mechanism_number()
991 if (copyin(arg, STRUCT_BUF(get_list), STRUCT_SIZE(get_list)) != 0) { in get_mechanism_list()
1009 if (copyout(STRUCT_BUF(get_list), arg, STRUCT_SIZE(get_list)) != 0) { in get_mechanism_list()
1025 offset -= (ulong_t)STRUCT_BUF(get_list); in get_mechanism_list()
1062 bcopy(STRUCT_BUF(mi), p, STRUCT_SIZE(mi)); in copyout_mechinfos()
1099 if (copyin(arg, STRUCT_BUF(get_all_mech), in get_all_mechanism_info()
1134 if (copyout(STRUCT_BUF(get_all_mech), arg, in get_all_mechanism_info()
1151 offset -= (ulong_t)STRUCT_BUF(get_all_mech); in get_all_mechanism_info()
1245 if (copyin(arg, STRUCT_BUF(get_list), STRUCT_SIZE(get_list)) != 0) { in get_provider_list()
[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()
/titanic_41/usr/src/uts/common/fs/ctfs/
H A Dctfs_ctl.c297 if (copyin((void *)arg, STRUCT_BUF(st), STRUCT_SIZE(st))) in ctfs_stat_ioctl()
302 contract_status_common(ct, VTOZONE(vp), STRUCT_BUF(st), mdl); in ctfs_stat_ioctl()
307 STRUCT_BUF(st), mdl); in ctfs_stat_ioctl()
322 if (copyout(STRUCT_BUF(st), (void *)arg, STRUCT_SIZE(st))) in ctfs_stat_ioctl()
/titanic_41/usr/src/uts/common/syscall/
H A Dauditsys.c205 if (copyout(STRUCT_BUF(info), info_p, STRUCT_SIZE(info))) in getaudit()
258 if (copyout(STRUCT_BUF(info), info_p, STRUCT_SIZE(info))) in getaudit_addr()
283 if (copyin(info_p, STRUCT_BUF(info), STRUCT_SIZE(info))) in setaudit()
346 if (copyin(info_p, STRUCT_BUF(info), STRUCT_SIZE(info))) in setaudit_addr()
594 if (copyout(STRUCT_BUF(info), info_p, STRUCT_SIZE(info))) in getkaudit()
622 if (copyin(info_p, STRUCT_BUF(info), STRUCT_SIZE(info))) in setkaudit()
691 if (copyout(STRUCT_BUF(qctrl), data, STRUCT_SIZE(qctrl))) in getqctrl()
709 if (copyin(data, STRUCT_BUF(qctrl), STRUCT_SIZE(qctrl))) in setqctrl()
888 if (copyin(data, STRUCT_BUF(user_info), STRUCT_SIZE(user_info))) in setumask()
971 if (copyin(data, STRUCT_BUF(user_info), STRUCT_SIZE(user_info))) in setsmask()
[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.c148 if (copyin(arg, STRUCT_BUF(mha), STRUCT_SIZE(mha))) { in memcntl()
/titanic_41/usr/src/uts/common/io/
H A Dcpuid_drv.c161 STRUCT_BUF(h), STRUCT_SIZE(h), mode)) in cpuid_ioctl()
180 if (ddi_copyout(STRUCT_BUF(h), in cpuid_ioctl()
/titanic_41/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
/titanic_41/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
/titanic_41/usr/src/uts/common/rpc/
H A Drpcsys.c56 if (copyin(arg, STRUCT_BUF(nra), STRUCT_SIZE(nra))) in rpcsys()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_vfsops.c228 error = copyin(data, STRUCT_BUF(map), in cachefs_mount()
593 (STRUCT_BUF(map) != NULL) ? cacheid : NULL); in cachefs_mount()
1190 error = copyin(uap->dataptr, STRUCT_BUF(map), in cachefs_remount()
1334 (STRUCT_BUF(map) != NULL) ? cacheid : NULL); in cachefs_remount()
/titanic_41/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()
/titanic_41/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c367 bzero(STRUCT_BUF(args), SIZEOF_STRUCT(smbfs_args, DATAMODEL_NATIVE)); in smbfs_mount()
368 if (copyin(data, STRUCT_BUF(args), MIN(uap->datalen, in smbfs_mount()
/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdc.c792 if (ddi_copyin((void *)args.arg0, STRUCT_BUF(parms), in rdcioctl()
797 rc = rdc_start_server(STRUCT_BUF(parms), mode); in rdcioctl()
821 if (ddi_copyout(STRUCT_BUF(parms), (void *)args.arg0, in rdcioctl()
/titanic_41/usr/src/uts/common/c2/
H A Daudit_event.c1744 bzero(STRUCT_BUF(nfsargs), STRUCT_SIZE(nfsargs)); in aus_mount()
1747 STRUCT_BUF(nfsargs), in aus_mount()
3089 if (copyin((caddr_t)a1, STRUCT_BUF(ainfo), in aus_auditsys()
3113 if (copyin((caddr_t)a1, STRUCT_BUF(ainfo_addr), in aus_auditsys()
3172 if (copyin((caddr_t)a2, STRUCT_BUF(qctrl), STRUCT_SIZE(qctrl))) in aus_auditsys()
3205 if (copyin((caddr_t)uap->a2, STRUCT_BUF(ainfo), in aus_auditsys()
3216 if (copyin((caddr_t)uap->a2, STRUCT_BUF(ainfo), in aus_auditsys()
3468 bzero((caddr_t)STRUCT_BUF(mc), STRUCT_SIZE(mc)); in aus_modctl()
3470 if (copyin((caddr_t)data, (caddr_t)STRUCT_BUF(mc), in aus_modctl()
3501 bzero((caddr_t)STRUCT_BUF(alias), in aus_modctl()
[all …]
/titanic_41/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()

12