Home
last modified time | relevance | path

Searched refs:STRUCT_FGETP (Results 1 – 25 of 48) sorted by relevance

12

/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs_vfsops.c307 if (copyin(STRUCT_FGETP(args, knconf), STRUCT_BUF(knconf_tmp), in nfs_copyin()
314 knconf->knc_protofmly = STRUCT_FGETP(knconf_tmp, knc_protofmly); in nfs_copyin()
315 knconf->knc_proto = STRUCT_FGETP(knconf_tmp, knc_proto); in nfs_copyin()
347 if (STRUCT_FGETP(args, pathconf) != NULL) { in nfs_copyin()
359 if (copyin(STRUCT_FGETP(args, addr), STRUCT_BUF(addr_tmp), in nfs_copyin()
365 userbufptr = STRUCT_FGETP(addr_tmp, buf); in nfs_copyin()
380 if (copyin(STRUCT_FGETP(args, fh), &fh->fh_buf, NFS_FHSIZE)) { in nfs_copyin()
390 error = copyinstr(STRUCT_FGETP(args, hostname), netname, in nfs_copyin()
409 if (STRUCT_FGETP(args, syncaddr) == NULL) { in nfs_copyin()
415 if (copyin(STRUCT_FGETP(args, syncaddr), STRUCT_BUF(addr_tmp), in nfs_copyin()
[all …]
H A Dnfs3_vfsops.c297 if (copyin(STRUCT_FGETP(args, knconf), STRUCT_BUF(knconf_tmp), in nfs3_copyin()
304 knconf->knc_protofmly = STRUCT_FGETP(knconf_tmp, knc_protofmly); in nfs3_copyin()
305 knconf->knc_proto = STRUCT_FGETP(knconf_tmp, knc_proto); in nfs3_copyin()
339 if (copyin(STRUCT_FGETP(args, addr), STRUCT_BUF(addr_tmp), in nfs3_copyin()
346 userbufptr = STRUCT_FGETP(addr_tmp, buf); in nfs3_copyin()
361 if (copyin(STRUCT_FGETP(args, fh), fh, sizeof (nfs_fhandle))) { in nfs3_copyin()
371 error = copyinstr(STRUCT_FGETP(args, hostname), netname, in nfs3_copyin()
389 if (STRUCT_FGETP(args, syncaddr) == NULL) { in nfs3_copyin()
395 if (copyin(STRUCT_FGETP(args, syncaddr), STRUCT_BUF(addr_tmp), in nfs3_copyin()
400 userbufptr = STRUCT_FGETP(addr_tmp, buf); in nfs3_copyin()
[all …]
H A Dnfs_export.c1048 if (error = pn_get(STRUCT_FGETP(uap, dname), UIO_USERSPACE, &lookpn)) in exportfs()
1066 if (STRUCT_FGETP(uap, uex) == NULL) { in exportfs()
1076 error = lookupname(STRUCT_FGETP(uap, dname), UIO_USERSPACE, in exportfs()
1084 error = lookupname(STRUCT_FGETP(uap, dname), UIO_USERSPACE, in exportfs()
1227 if (copyin(STRUCT_FGETP(uap, uex), STRUCT_BUF(uexi), in exportfs()
1251 kex->ex_path = STRUCT_FGETP(uexi, ex_path); in exportfs()
1255 kex->ex_secinfo = STRUCT_FGETP(uexi, ex_secinfo); in exportfs()
1256 kex->ex_index = STRUCT_FGETP(uexi, ex_index); in exportfs()
1257 kex->ex_log_buffer = STRUCT_FGETP(uexi, ex_log_buffer); in exportfs()
1259 kex->ex_tag = STRUCT_FGETP(uexi, ex_tag); in exportfs()
[all …]
H A Dnfs4_vfsops.c514 if (copyin(STRUCT_FGETP(args, knconf), STRUCT_BUF(knconf_tmp), in nfs4_copyin()
521 knconf->knc_protofmly = STRUCT_FGETP(knconf_tmp, knc_protofmly); in nfs4_copyin()
522 knconf->knc_proto = STRUCT_FGETP(knconf_tmp, knc_proto); in nfs4_copyin()
557 if (copyin(STRUCT_FGETP(args, addr), STRUCT_BUF(addr_tmp), in nfs4_copyin()
564 userbufptr = STRUCT_FGETP(addr_tmp, buf); in nfs4_copyin()
578 error = pn_get(STRUCT_FGETP(args, fh), UIO_USERSPACE, &pn); in nfs4_copyin()
593 error = copyinstr(STRUCT_FGETP(args, hostname), in nfs4_copyin()
615 if (copyin(STRUCT_FGETP(args, syncaddr), STRUCT_BUF(addr_tmp), in nfs4_copyin()
620 userbufptr = STRUCT_FGETP(addr_tmp, buf); in nfs4_copyin()
634 if (copyinstr(STRUCT_FGETP(args, netname), netname, in nfs4_copyin()
[all …]
H A Dnfs4_callback.c935 error = suword32(STRUCT_FGETP(uap, netid), rp->r_deleg_type); in nfs4_dquery()
989 error = copyinstr((const char *)STRUCT_FGETP(uap, netid), buf, in nfs4_svc()
1002 error = copyin(STRUCT_FGETP(uap, addrmask.buf), addrmask.buf, in nfs4_svc()
1013 error = copyinstr((const char *)STRUCT_FGETP(uap, addr), uaddr, in nfs4_svc()
1022 error = copyinstr((const char *)STRUCT_FGETP(uap, protofmly), protofmly, in nfs4_svc()
1031 error = copyinstr((const char *)STRUCT_FGETP(uap, proto), proto, in nfs4_svc()
H A Dnfs_sys.c128 clr.ap = STRUCT_FGETP(u_clr, ap); in nfssys()
/titanic_50/usr/src/uts/common/avs/ns/rdc/
H A Drdcsrv.c291 error = ddi_copyin(STRUCT_FGETP(uap, addrmask.buf), addrmask.buf, in rdcsrv_create()
312 STRUCT_FGETP(uap, netid), &addrmask, STRUCT_FGET(uap, nthr), &xprt); in rdcsrv_create()
333 STRUCT_FGETP(uap, netid), &addrmask, in rdcsrv_create()
H A Drdc_io.c6034 STRUCT_SET_HANDLE(rs, mode, STRUCT_FGETP(uparms, rdc_set)); in _rdc_config()
6043 if (ddi_copyin(STRUCT_FGETP(pa, addr.buf), in _rdc_config()
6057 if (ddi_copyin(STRUCT_FGETP(sa, addr.buf), in _rdc_config()
6075 if (STRUCT_FGETP(uparms, rdc_set->netconfig) != NULL) { in _rdc_config()
6078 if (ddi_copyin(STRUCT_FGETP(uparms, rdc_set->netconfig), in _rdc_config()
6090 knconf->knc_protofmly = STRUCT_FGETP(knconf_tmp, knc_protofmly); in _rdc_config()
6091 knconf->knc_proto = STRUCT_FGETP(knconf_tmp, knc_proto); in _rdc_config()
6130 (void) strncpy(uap->rdc_set[0].primary.intf, STRUCT_FGETP(pa, intf), in _rdc_config()
6132 (void) strncpy(uap->rdc_set[0].primary.file, STRUCT_FGETP(pa, file), in _rdc_config()
6134 (void) strncpy(uap->rdc_set[0].primary.bitmap, STRUCT_FGETP(pa, bitmap), in _rdc_config()
[all …]
/titanic_50/usr/src/uts/common/crypto/io/
H A Dcrypto.c942 if (copyin(STRUCT_FGETP(get_number, pn_mechanism_string), in get_mechanism_number()
2118 param = STRUCT_FGETP(mech, cm_param); in copyin_mech()
2281 if (STRUCT_FGETP(oa, oa_value) != NULL) in copyin_attributes()
2304 value = STRUCT_FGETP(oa, oa_value); in copyin_attributes()
2393 if (copyin((char *)STRUCT_FGETP(key, ck_data), in copyin_key()
2409 (caddr_t)STRUCT_FGETP(key, ck_attrs), &k_attrs, NULL, NULL, in copyin_key()
2780 encrbuf = STRUCT_FGETP(encrypt, ce_encrbuf); in cipher()
2812 if (datalen != 0 && copyin(STRUCT_FGETP(encrypt, ce_databuf), in cipher()
2854 if (STRUCT_FGETP(encrypt, ce_encrbuf) == NULL) in cipher()
2940 encrbuf = STRUCT_FGETP(encrypt_update, eu_encrbuf); in cipher_update()
[all …]
H A Ddprov.c4320 pp = STRUCT_FGETP(mech, cm_param); in copyin_aes_ccm_mech()
4361 if (copyin((char *)STRUCT_FGETP(params, nonce), in copyin_aes_ccm_mech()
4368 if (copyin((char *)STRUCT_FGETP(params, authData), in copyin_aes_ccm_mech()
4406 pp = STRUCT_FGETP(mech, cm_param); in copyin_aes_gcm_mech()
4444 if (copyin((char *)STRUCT_FGETP(params, pIv), in copyin_aes_gcm_mech()
4451 if (copyin((char *)STRUCT_FGETP(params, pAAD), in copyin_aes_gcm_mech()
4481 pp = STRUCT_FGETP(mech, cm_param); in copyin_aes_gmac_mech()
4516 if (copyin((char *)STRUCT_FGETP(params, pIv), in copyin_aes_gmac_mech()
4523 if (copyin((char *)STRUCT_FGETP(params, pAAD), in copyin_aes_gmac_mech()
4561 pp = STRUCT_FGETP(mech, cm_param); in copyin_aes_ctr_mech()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Dmodel.h129 #define STRUCT_FGETP(handle, field) \ macro
185 #define STRUCT_FGETP STRUCT_FGET macro
/titanic_50/usr/src/uts/common/avs/ns/
H A Dmodel.h138 #define STRUCT_FGETP(handle, field) \ macro
195 #define STRUCT_FGETP STRUCT_FGET macro
/titanic_50/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c1571 cptr = STRUCT_FGETP(tagdesc, mtd_mntpt); in mntioctl()
1582 cptr = STRUCT_FGETP(tagdesc, mtd_tag); in mntioctl()
1631 uemp = STRUCT_FGETP(embuf, mbuf_emp); in mntioctl()
1632 ubufp = STRUCT_FGETP(embuf, mbuf_buf); in mntioctl()
1669 preftab.mnt_special = mntfs_import_addr(STRUCT_FGETP(ktab, in mntioctl()
1671 preftab.mnt_mountp = mntfs_import_addr(STRUCT_FGETP(ktab, in mntioctl()
1673 preftab.mnt_fstype = mntfs_import_addr(STRUCT_FGETP(ktab, in mntioctl()
1675 preftab.mnt_mntopts = mntfs_import_addr(STRUCT_FGETP(ktab, in mntioctl()
1677 preftab.mnt_time = mntfs_import_addr(STRUCT_FGETP(ktab, in mntioctl()
1823 uemp = STRUCT_FGETP(embuf, mbuf_emp); in mntioctl()
[all …]
/titanic_50/usr/src/uts/common/rpc/
H A Drpcsys.c61 STRUCT_FGETP(nra, flavor_data_1), in rpcsys()
/titanic_50/usr/src/uts/intel/io/
H A Ducode_drv.c166 if ((rev_array = STRUCT_FGETP(h, ugv_rev)) == NULL) in ucode_ioctl()
223 if ((uw_ucode = STRUCT_FGETP(h, uw_ucode)) == NULL) in ucode_ioctl()
/titanic_50/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c197 ubuf_addr = STRUCT_FGETP(ifc, ifc_buf); in rds_ioctl_copyin_done()
255 mp1 = mi_copyout_alloc(q, mp, STRUCT_FGETP(sb, buf), addrlen, in rds_ioctl_copyin_done()
/titanic_50/usr/src/uts/common/io/
H A Dcpc.c390 udata1 = STRUCT_FGETP(args, udata1); in kcpc_ioctl()
391 udata2 = STRUCT_FGETP(args, udata2); in kcpc_ioctl()
392 udata3 = STRUCT_FGETP(args, udata3); in kcpc_ioctl()
H A Dcpuid_drv.c163 if ((ustr = STRUCT_FGETP(h, cgh_archname)) != NULL && in cpuid_ioctl()
H A Dsad.c674 STRUCT_FGETP(slp, sl_modlist)); in vml_iocdata()
H A Ddevpoll.c1112 void *setp = STRUCT_FGETP(dvpoll, dp_setp); in dpioctl()
1272 STRUCT_FGETP(dvpoll, dp_fds), fdcnt * fdsize)) { in dpioctl()
/titanic_50/usr/src/uts/common/fs/ctfs/
H A Dctfs_ctl.c313 (copyout(bufp, STRUCT_FGETP(st, ctst_buffer), len) == -1)) { in ctfs_stat_ioctl()
/titanic_50/usr/src/uts/common/io/ppm/
H A Dppm.c475 STRUCT_FGETP(dpwr, domain), domain, MAXNAMELEN, NULL); in ppm_ioctl()
554 STRUCT_FGETP(bydev, path), path, MAXPATHLEN, NULL); in ppm_ioctl()
576 domp->name, STRUCT_FGETP(bydev, domlist), l, &l); in ppm_ioctl()
605 ret = copyinstr(STRUCT_FGETP(bydom, domain), domain, in ppm_ioctl()
653 devlist, STRUCT_FGETP(bydom, devlist), l, &l); in ppm_ioctl()
695 STRUCT_FGETP(norm, path), path, MAXPATHLEN, NULL); in ppm_ioctl()
/titanic_50/usr/src/uts/common/fs/sharefs/
H A Dsharetab.c49 if (copyinstr(STRUCT_FGETP(u_sh, sh_##field), \
/titanic_50/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c1059 lmsg.msg_name = STRUCT_FGETP(u_lmsg, msg_name); in recvmsg()
1061 lmsg.msg_iov = STRUCT_FGETP(u_lmsg, msg_iov); in recvmsg()
1063 lmsg.msg_control = STRUCT_FGETP(u_lmsg, msg_control); in recvmsg()
1300 lmsg.msg_name = STRUCT_FGETP(u_lmsg, msg_name); in sendmsg()
1302 lmsg.msg_iov = STRUCT_FGETP(u_lmsg, msg_iov); in sendmsg()
1304 lmsg.msg_control = STRUCT_FGETP(u_lmsg, msg_control); in sendmsg()
/titanic_50/usr/src/uts/common/c2/
H A Daudit_event.c1753 if (copyinstr(STRUCT_FGETP(nfsargs, hostname), in aus_mount()
3131 (struct in_addr *)STRUCT_FGETP(ainfo_addr, in aus_auditsys()
3135 (int32_t *)STRUCT_FGETP(ainfo_addr, in aus_auditsys()
3497 ap = (caddr_t)STRUCT_FGETP(mc, ap); in aus_modctl()
3506 if (copyinstr(STRUCT_FGETP(alias, a_name), name, in aus_modctl()
3512 ap = (caddr_t)STRUCT_FGETP(alias, a_next); in aus_modctl()
4146 msg_name = (caddr_t)STRUCT_FGETP(msg, msg_name); in auf_recvmsg()
4537 msg_name = (caddr_t)STRUCT_FGETP(msg, msg_name); in auf_sendmsg()

12