/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_vfsops.c | 307 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 D | nfs3_vfsops.c | 297 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 D | nfs_export.c | 1048 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 D | nfs4_vfsops.c | 514 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 D | nfs4_callback.c | 935 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 D | nfs_sys.c | 128 clr.ap = STRUCT_FGETP(u_clr, ap); in nfssys()
|
/titanic_41/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdcsrv.c | 291 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 D | rdc_io.c | 6040 STRUCT_SET_HANDLE(rs, mode, STRUCT_FGETP(uparms, rdc_set)); in _rdc_config() 6049 if (ddi_copyin(STRUCT_FGETP(pa, addr.buf), in _rdc_config() 6063 if (ddi_copyin(STRUCT_FGETP(sa, addr.buf), in _rdc_config() 6081 if (STRUCT_FGETP(uparms, rdc_set->netconfig) != NULL) { in _rdc_config() 6084 if (ddi_copyin(STRUCT_FGETP(uparms, rdc_set->netconfig), in _rdc_config() 6096 knconf->knc_protofmly = STRUCT_FGETP(knconf_tmp, knc_protofmly); in _rdc_config() 6097 knconf->knc_proto = STRUCT_FGETP(knconf_tmp, knc_proto); in _rdc_config() 6136 (void) strncpy(uap->rdc_set[0].primary.intf, STRUCT_FGETP(pa, intf), in _rdc_config() 6138 (void) strncpy(uap->rdc_set[0].primary.file, STRUCT_FGETP(pa, file), in _rdc_config() 6140 (void) strncpy(uap->rdc_set[0].primary.bitmap, STRUCT_FGETP(pa, bitmap), in _rdc_config() [all …]
|
/titanic_41/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 942 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 D | dprov.c | 4320 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_41/usr/src/uts/common/sys/ |
H A D | model.h | 129 #define STRUCT_FGETP(handle, field) \ macro 185 #define STRUCT_FGETP STRUCT_FGET macro
|
/titanic_41/usr/src/uts/common/avs/ns/ |
H A D | model.h | 138 #define STRUCT_FGETP(handle, field) \ macro 195 #define STRUCT_FGETP STRUCT_FGET macro
|
/titanic_41/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_vfsops.c | 235 cacheid = (char *)STRUCT_FGETP(map, cfs_cacheid); in cachefs_mount() 249 cachedir = (char *)STRUCT_FGETP(map, cfs_cachedir); in cachefs_mount() 275 if ((backfs = STRUCT_FGETP(map, cfs_backfs)) != NULL) { in cachefs_mount() 474 (void) copyinstr((char *)STRUCT_FGETP(map, cfs_hostname), in cachefs_mount() 492 (void) copyinstr((char *)STRUCT_FGETP(map, cfs_backfsname), in cachefs_mount() 1198 cachedir = (char *)STRUCT_FGETP(map, cfs_cachedir); in cachefs_remount() 1214 cacheid = (char *)STRUCT_FGETP(map, cfs_cacheid); in cachefs_remount() 1285 backfs = (char *)STRUCT_FGETP(map, cfs_backfs); in cachefs_remount()
|
/titanic_41/usr/src/uts/common/fs/mntfs/ |
H A D | mntvnops.c | 1571 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_41/usr/src/uts/common/rpc/ |
H A D | rpcsys.c | 61 STRUCT_FGETP(nra, flavor_data_1), in rpcsys()
|
/titanic_41/usr/src/uts/intel/io/ |
H A D | ucode_drv.c | 166 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_41/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rds_ioctl.c | 197 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_41/usr/src/uts/common/io/ |
H A D | cpc.c | 390 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 D | cpuid_drv.c | 163 if ((ustr = STRUCT_FGETP(h, cgh_archname)) != NULL && in cpuid_ioctl()
|
H A D | sad.c | 674 STRUCT_FGETP(slp, sl_modlist)); in vml_iocdata()
|
/titanic_41/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_ctl.c | 313 (copyout(bufp, STRUCT_FGETP(st, ctst_buffer), len) == -1)) { in ctfs_stat_ioctl()
|
/titanic_41/usr/src/uts/common/io/ppm/ |
H A D | ppm.c | 475 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_41/usr/src/uts/common/fs/sharefs/ |
H A D | sharetab.c | 49 if (copyinstr(STRUCT_FGETP(u_sh, sh_##field), \
|
/titanic_41/usr/src/uts/common/fs/sockfs/ |
H A D | socksyscalls.c | 1059 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_41/usr/src/uts/common/c2/ |
H A D | audit_event.c | 1753 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()
|