Home
last modified time | relevance | path

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

12

/illumos-gate/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.c1276 error = pn_get(STRUCT_FGETP(uap, dname), UIO_USERSPACE, &lookpn); in exportfs()
1295 if (STRUCT_FGETP(uap, uex) == NULL) { in exportfs()
1305 error = lookupname(STRUCT_FGETP(uap, dname), UIO_USERSPACE, in exportfs()
1313 error = lookupname(STRUCT_FGETP(uap, dname), UIO_USERSPACE, in exportfs()
1459 if (copyin(STRUCT_FGETP(uap, uex), STRUCT_BUF(uexi), in exportfs()
1483 kex->ex_path = STRUCT_FGETP(uexi, ex_path); in exportfs()
1487 kex->ex_secinfo = STRUCT_FGETP(uexi, ex_secinfo); in exportfs()
1488 kex->ex_index = STRUCT_FGETP(uexi, ex_index); in exportfs()
1489 kex->ex_log_buffer = STRUCT_FGETP(uexi, ex_log_buffer); in exportfs()
1491 kex->ex_tag = STRUCT_FGETP(uexi, ex_tag); in exportfs()
[all …]
H A Dnfs4_vfsops.c516 if (copyin(STRUCT_FGETP(args, knconf), STRUCT_BUF(knconf_tmp), in nfs4_copyin()
523 knconf->knc_protofmly = STRUCT_FGETP(knconf_tmp, knc_protofmly); in nfs4_copyin()
524 knconf->knc_proto = STRUCT_FGETP(knconf_tmp, knc_proto); in nfs4_copyin()
559 if (copyin(STRUCT_FGETP(args, addr), STRUCT_BUF(addr_tmp), in nfs4_copyin()
566 userbufptr = STRUCT_FGETP(addr_tmp, buf); in nfs4_copyin()
580 error = pn_get(STRUCT_FGETP(args, fh), UIO_USERSPACE, &pn); in nfs4_copyin()
595 error = copyinstr(STRUCT_FGETP(args, hostname), in nfs4_copyin()
617 if (copyin(STRUCT_FGETP(args, syncaddr), STRUCT_BUF(addr_tmp), in nfs4_copyin()
622 userbufptr = STRUCT_FGETP(addr_tmp, buf); in nfs4_copyin()
636 if (copyinstr(STRUCT_FGETP(args, netname), netname, in nfs4_copyin()
[all …]
H A Dnfs4_callback.c939 error = suword32(STRUCT_FGETP(uap, netid), rp->r_deleg_type); in nfs4_dquery()
993 error = copyinstr((const char *)STRUCT_FGETP(uap, netid), buf, in nfs4_svc()
1006 error = copyin(STRUCT_FGETP(uap, addrmask.buf), addrmask.buf, in nfs4_svc()
1017 error = copyinstr((const char *)STRUCT_FGETP(uap, addr), uaddr, in nfs4_svc()
1026 error = copyinstr((const char *)STRUCT_FGETP(uap, protofmly), protofmly, in nfs4_svc()
1035 error = copyinstr((const char *)STRUCT_FGETP(uap, proto), proto, in nfs4_svc()
H A Dnfs_sys.c113 clr.ap = STRUCT_FGETP(u_clr, ap); in nfssys()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcrypto.c954 if (copyin(STRUCT_FGETP(get_number, pn_mechanism_string), in get_mechanism_number()
2154 param = STRUCT_FGETP(mech, cm_param); in copyin_mech()
2317 if (STRUCT_FGETP(oa, oa_value) != NULL) in copyin_attributes()
2340 value = STRUCT_FGETP(oa, oa_value); in copyin_attributes()
2429 if (copyin((char *)STRUCT_FGETP(key, ck_data), in copyin_key()
2445 (caddr_t)STRUCT_FGETP(key, ck_attrs), &k_attrs, NULL, NULL, in copyin_key()
2817 encrbuf = STRUCT_FGETP(encrypt, ce_encrbuf); in cipher()
2849 if (datalen != 0 && copyin(STRUCT_FGETP(encrypt, ce_databuf), in cipher()
2891 if (STRUCT_FGETP(encrypt, ce_encrbuf) == NULL) in cipher()
2978 encrbuf = STRUCT_FGETP(encrypt_update, eu_encrbuf); in cipher_update()
[all …]
H A Ddprov.c4346 pp = STRUCT_FGETP(mech, cm_param); in copyin_aes_ccm_mech()
4387 if (copyin((char *)STRUCT_FGETP(params, nonce), in copyin_aes_ccm_mech()
4394 if (copyin((char *)STRUCT_FGETP(params, authData), in copyin_aes_ccm_mech()
4432 pp = STRUCT_FGETP(mech, cm_param); in copyin_aes_gcm_mech()
4470 if (copyin((char *)STRUCT_FGETP(params, pIv), in copyin_aes_gcm_mech()
4477 if (copyin((char *)STRUCT_FGETP(params, pAAD), in copyin_aes_gcm_mech()
4507 pp = STRUCT_FGETP(mech, cm_param); in copyin_aes_gmac_mech()
4542 if (copyin((char *)STRUCT_FGETP(params, pIv), in copyin_aes_gmac_mech()
4549 if (copyin((char *)STRUCT_FGETP(params, pAAD), in copyin_aes_gmac_mech()
4587 pp = STRUCT_FGETP(mech, cm_param); in copyin_aes_ctr_mech()
[all …]
H A Dcryptoadm.c339 STRUCT_FGETP(soft_list, sl_soft_names), len) != 0) { in get_soft_list()
/illumos-gate/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 …]
/illumos-gate/usr/src/uts/common/sys/
H A Dmodel.h127 #define STRUCT_FGETP(handle, field) \ macro
180 #define STRUCT_FGETP STRUCT_FGET macro
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcsys.c59 STRUCT_FGETP(nra, flavor_data_1), in rpcsys()
/illumos-gate/usr/src/uts/intel/io/
H A Ducode_drv.c158 if ((rev_array = STRUCT_FGETP(h, ugv_rev)) == NULL) in ucode_ioctl()
215 if ((uw_ucode = STRUCT_FGETP(h, uw_ucode)) == NULL) in ucode_ioctl()
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c198 ubuf_addr = STRUCT_FGETP(ifc, ifc_buf); in rds_ioctl_copyin_done()
256 mp1 = mi_copyout_alloc(q, mp, STRUCT_FGETP(sb, buf), addrlen, in rds_ioctl_copyin_done()
/illumos-gate/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.c164 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.c1250 void *setp = STRUCT_FGETP(dvpoll, dp_setp); in dpioctl()
1418 STRUCT_FGETP(dvpoll, dp_fds), fdcnt * fdsize)) { in dpioctl()
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_ctl.c311 (copyout(bufp, STRUCT_FGETP(st, ctst_buffer), len) == -1)) { in ctfs_stat_ioctl()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c1099 lmsg.msg_name = STRUCT_FGETP(u_lmsg, msg_name); in recvmsg()
1101 lmsg.msg_iov = STRUCT_FGETP(u_lmsg, msg_iov); in recvmsg()
1103 lmsg.msg_control = STRUCT_FGETP(u_lmsg, msg_control); in recvmsg()
1381 lmsg.msg_name = STRUCT_FGETP(u_lmsg, msg_name); in sendmsg()
1383 lmsg.msg_iov = STRUCT_FGETP(u_lmsg, msg_iov); in sendmsg()
1385 lmsg.msg_control = STRUCT_FGETP(u_lmsg, msg_control); in sendmsg()
H A Dsockparams.c895 if (ddi_copyout(se, STRUCT_FGETP(st, st_entries), in sockparams_copyout_socktable()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c1799 if (copyinstr(STRUCT_FGETP(nfsargs, hostname), in aus_mount()
3190 (struct in_addr *)STRUCT_FGETP(ainfo_addr, in aus_auditsys()
3194 (int32_t *)STRUCT_FGETP(ainfo_addr, in aus_auditsys()
3330 (struct in_addr *)STRUCT_FGETP(ainfo_addr, in aus_auditsys()
3334 (int32_t *)STRUCT_FGETP(ainfo_addr, in aus_auditsys()
3606 ap = (caddr_t)STRUCT_FGETP(mc, ap); in aus_modctl()
3615 if (copyinstr(STRUCT_FGETP(alias, a_name), name, in aus_modctl()
3621 ap = (caddr_t)STRUCT_FGETP(alias, a_next); in aus_modctl()
4254 msg_name = (caddr_t)STRUCT_FGETP(msg, msg_name); in auf_recvmsg()
4645 msg_name = (caddr_t)STRUCT_FGETP(msg, msg_name); in auf_sendmsg()
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharetab.c54 if (copyinstr(STRUCT_FGETP(u_sh, sh_##field), \
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.c1590 if (so_copyin(STRUCT_FGETP(opt, sopt_val), buf, optlen, in sosctp_ioctl()
1615 } else if (so_copyout(buf, STRUCT_FGETP(opt, sopt_val), in sosctp_ioctl()
1654 if (so_copyin(STRUCT_FGETP(opt, sopt_val), buf, optlen, in sosctp_ioctl()

12