/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_common.c | 115 flags = STRUCT_FGET(args, flags); in nfs4_setopts() 140 if (STRUCT_FGET(args, retrans) < 0) in nfs4_setopts() 142 mi->mi_retrans = STRUCT_FGET(args, retrans); in nfs4_setopts() 145 if (STRUCT_FGET(args, timeo) <= 0) in nfs4_setopts() 147 mi->mi_timeo = STRUCT_FGET(args, timeo); in nfs4_setopts() 150 if (STRUCT_FGET(args, rsize) <= 0) in nfs4_setopts() 156 if (STRUCT_FGET(args, wsize) <= 0) in nfs4_setopts() 162 if (STRUCT_FGET(args, acregmin) < 0) in nfs4_setopts() 169 if (STRUCT_FGET(args, acregmax) < 0) in nfs4_setopts() 176 if (STRUCT_FGET(args, acdirmin) < 0) in nfs4_setopts() [all …]
|
H A D | nfs_sys.c | 107 clr.vers = STRUCT_FGET(u_clr, vers); in nfssys() 112 clr.addr_type = STRUCT_FGET(u_clr, addr_type); in nfssys() 159 rsa.poolid = STRUCT_FGET(ursa, poolid); in nfssys() 223 lsa.version = STRUCT_FGET(ulsa, version); in nfssys() 224 lsa.fd = STRUCT_FGET(ulsa, fd); in nfssys() 225 lsa.n_fmly = STRUCT_FGET(ulsa, n_fmly); in nfssys() 226 lsa.n_proto = STRUCT_FGET(ulsa, n_proto); in nfssys() 228 lsa.debug = STRUCT_FGET(ulsa, debug); in nfssys() 229 lsa.timout = STRUCT_FGET(ulsa, timout); in nfssys() 230 lsa.grace = STRUCT_FGET(ulsa, grace); in nfssys() [all …]
|
H A D | nfs_common.c | 480 flags = STRUCT_FGET(args, flags); in nfs_setopts() 498 if (STRUCT_FGET(args, retrans) < 0) in nfs_setopts() 500 mi->mi_retrans = STRUCT_FGET(args, retrans); in nfs_setopts() 503 if (STRUCT_FGET(args, timeo) <= 0) in nfs_setopts() 505 mi->mi_timeo = STRUCT_FGET(args, timeo); in nfs_setopts() 517 if (STRUCT_FGET(args, rsize) <= 0) in nfs_setopts() 523 if (STRUCT_FGET(args, wsize) <= 0) in nfs_setopts() 529 if (STRUCT_FGET(args, acregmin) < 0) in nfs_setopts() 537 if (STRUCT_FGET(args, acregmax) < 0) in nfs_setopts() 545 if (STRUCT_FGET(args, acdirmin) < 0) in nfs_setopts() [all …]
|
H A D | nfs_vfsops.c | 285 nargs->wsize = STRUCT_FGET(args, wsize); in nfs_copyin() 286 nargs->rsize = STRUCT_FGET(args, rsize); in nfs_copyin() 287 nargs->timeo = STRUCT_FGET(args, timeo); in nfs_copyin() 288 nargs->retrans = STRUCT_FGET(args, retrans); in nfs_copyin() 289 nargs->acregmin = STRUCT_FGET(args, acregmin); in nfs_copyin() 290 nargs->acregmax = STRUCT_FGET(args, acregmax); in nfs_copyin() 291 nargs->acdirmin = STRUCT_FGET(args, acdirmin); in nfs_copyin() 294 flags = STRUCT_FGET(args, flags); in nfs_copyin() 366 addr.len = STRUCT_FGET(addr_tmp, len); in nfs_copyin() 421 syncaddr.len = STRUCT_FGET(addr_tmp, len); in nfs_copyin() [all …]
|
H A D | nfs3_vfsops.c | 276 nargs->wsize = STRUCT_FGET(args, wsize); in nfs3_copyin() 277 nargs->rsize = STRUCT_FGET(args, rsize); in nfs3_copyin() 278 nargs->timeo = STRUCT_FGET(args, timeo); in nfs3_copyin() 279 nargs->retrans = STRUCT_FGET(args, retrans); in nfs3_copyin() 280 nargs->acregmin = STRUCT_FGET(args, acregmin); in nfs3_copyin() 281 nargs->acregmax = STRUCT_FGET(args, acregmax); in nfs3_copyin() 282 nargs->acdirmin = STRUCT_FGET(args, acdirmin); in nfs3_copyin() 283 nargs->acdirmax = STRUCT_FGET(args, acdirmax); in nfs3_copyin() 285 flags = STRUCT_FGET(args, flags); in nfs3_copyin() 347 addr.len = STRUCT_FGET(addr_tmp, len); in nfs3_copyin() [all …]
|
H A D | nfs_export.c | 1477 kex->ex_seccnt = STRUCT_FGET(uexi, ex_seccnt); in exportfs() 1485 kex->ex_flags = STRUCT_FGET(uexi, ex_flags); in exportfs() 1486 kex->ex_anon = STRUCT_FGET(uexi, ex_anon); in exportfs() 1492 kex->ex_taglen = STRUCT_FGET(uexi, ex_taglen); in exportfs() 1567 bcopy(STRUCT_FGET(usi, s_secinfo.sc_name), in exportfs() 1570 STRUCT_FGET(usi, s_secinfo.sc_nfsnum); in exportfs() 1572 STRUCT_FGET(usi, s_secinfo.sc_rpcnum); in exportfs() 1578 STRUCT_FGET(usi, s_secinfo.sc_qop); in exportfs() 1580 STRUCT_FGET(usi, s_secinfo.sc_service); in exportfs() 1582 sp2[i].s_flags = STRUCT_FGET(usi, s_flags); in exportfs() [all …]
|
H A D | nfs4_callback.c | 920 if ((fp = getf(STRUCT_FGET(uap, fd))) == NULL) in nfs4_dquery() 927 releasef(STRUCT_FGET(uap, fd)); in nfs4_dquery() 940 releasef(STRUCT_FGET(uap, fd)); in nfs4_dquery() 976 if (STRUCT_FGET(uap, cmd) == NFS4_DQUERY) in nfs4_svc() 996 releasef(STRUCT_FGET(uap, fd)); in nfs4_svc() 1000 cmd = STRUCT_FGET(uap, cmd); in nfs4_svc() 1009 releasef(STRUCT_FGET(uap, fd)); in nfs4_svc() 1020 releasef(STRUCT_FGET(uap, fd)); in nfs4_svc() 1029 releasef(STRUCT_FGET(uap, fd)); in nfs4_svc() 1038 releasef(STRUCT_FGET(uap, fd)); in nfs4_svc() [all …]
|
H A D | nfs_server.c | 450 if ((fp = getf(STRUCT_FGET(uap, fd))) == NULL) in nfs_svc() 468 releasef(STRUCT_FGET(uap, fd)); in nfs_svc() 472 addrmask.len = STRUCT_FGET(uap, addrmask.len); in nfs_svc() 473 addrmask.maxlen = STRUCT_FGET(uap, addrmask.maxlen); in nfs_svc() 478 releasef(STRUCT_FGET(uap, fd)); in nfs_svc() 483 ng->nfs_versmin = STRUCT_FGET(uap, nfs_versmin); in nfs_svc() 484 ng->nfs_versmax = STRUCT_FGET(uap, nfs_versmax); in nfs_svc() 500 releasef(STRUCT_FGET(uap, fd)); in nfs_svc() 507 rfs4_server_start(ng, STRUCT_FGET(uap, delegation)); in nfs_svc() 516 releasef(STRUCT_FGET(uap, fd)); in nfs_svc()
|
H A D | nfs4_vfsops.c | 494 nargs->wsize = STRUCT_FGET(args, wsize); in nfs4_copyin() 495 nargs->rsize = STRUCT_FGET(args, rsize); in nfs4_copyin() 496 nargs->timeo = STRUCT_FGET(args, timeo); in nfs4_copyin() 497 nargs->retrans = STRUCT_FGET(args, retrans); in nfs4_copyin() 498 nargs->acregmin = STRUCT_FGET(args, acregmin); in nfs4_copyin() 499 nargs->acregmax = STRUCT_FGET(args, acregmax); in nfs4_copyin() 500 nargs->acdirmin = STRUCT_FGET(args, acdirmin); in nfs4_copyin() 501 nargs->acdirmax = STRUCT_FGET(args, acdirmax); in nfs4_copyin() 503 flags = STRUCT_FGET(args, flags); in nfs4_copyin() 567 addr.len = STRUCT_FGET(addr_tmp, len); in nfs4_copyin() [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | auditsys.c | 301 ainfo->ai_auid = STRUCT_FGET(info, ai_auid); in setaudit() 314 ainfo->ai_asid = STRUCT_FGET(info, ai_asid); in setaudit() 315 ainfo->ai_mask = STRUCT_FGET(info, ai_mask); in setaudit() 351 type = STRUCT_FGET(info, ai_termid.at_type); in setaudit_addr() 368 ainfo->ai_auid = STRUCT_FGET(info, ai_auid); in setaudit_addr() 369 ainfo->ai_mask = STRUCT_FGET(info, ai_mask); in setaudit_addr() 395 ainfo->ai_asid = STRUCT_FGET(info, ai_asid); in setaudit_addr() 645 STRUCT_FGET(info, ai_termid.at_port); in setkaudit() 653 STRUCT_FGET(info, ai_termid.at_addr[0]); in setkaudit() 934 mask = STRUCT_FGET(user_info, ai_mask); in setumask() [all …]
|
H A D | memcntl.c | 153 pgcmd = STRUCT_FGET(mha, mha_cmd); in memcntl() 162 STRUCT_FGET(mha, mha_flags)) in memcntl() 165 pgsz = STRUCT_FGET(mha, mha_pagesize); in memcntl()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 1010 req_count = STRUCT_FGET(get_list, ml_count); in get_mechanism_list() 1276 req_count = STRUCT_FGET(get_list, pl_count); in get_provider_list() 2341 value_len = STRUCT_FGET(oa, oa_value_len); in copyin_attributes() 2408 key_bits = STRUCT_FGET(key, ck_length); in copyin_key() 2442 count = STRUCT_FGET(key, ck_count); in copyin_key() 3789 pin_len = STRUCT_FGET(login, co_pin_len); in login() 4098 datalen = STRUCT_FGET(verify, cv_datalen); in verify() 4099 signlen = STRUCT_FGET(verify, cv_signlen); in verify() 5147 count = STRUCT_FGET(find_init, fi_count); in object_find_init() 6241 count = STRUCT_FGET(unwrap_key, uk_count); in object_unwrap_key() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vfsops.c | 84 #define STRUCT_FGET(handle, field) ((handle).field) macro 444 version = STRUCT_FGET(args, version); in smbfs_mount() 477 devfd = STRUCT_FGET(args, devfd); in smbfs_mount() 601 flags = STRUCT_FGET(args, flags); in smbfs_mount() 603 smi->smi_dmode = STRUCT_FGET(args, dir_mode) & 0777; in smbfs_mount() 605 smi->smi_uid = STRUCT_FGET(args, uid); in smbfs_mount() 606 smi->smi_gid = STRUCT_FGET(args, gid); in smbfs_mount() 633 sec = STRUCT_FGET(args, acregmin); in smbfs_mount() 639 sec = STRUCT_FGET(args, acregmax); in smbfs_mount() 645 sec = STRUCT_FGET(args, acdirmin); in smbfs_mount() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcsys.c | 57 result = sec_clnt_revoke(STRUCT_FGET(nra, rpcsec_flavor_1), in rpcsys() 58 STRUCT_FGET(nra, uid_1), CRED(), in rpcsys()
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_filio.c | 121 if (STRUCT_FGET(fio, fio_ino) < UFSROOTINO) in ufs_fioio() 123 if (STRUCT_FGET(fio, fio_ino) >= fs->fs_ncg * fs->fs_ipg) in ufs_fioio() 131 error = ufs_iget(ip->i_vfs, STRUCT_FGET(fio, fio_ino), &ipio, cr); in ufs_fioio() 142 if (ipio->i_gen != STRUCT_FGET(fio, fio_gen)) { in ufs_fioio() 188 setf(STRUCT_FGET(fio, fio_fd), fpio); in ufs_fioio() 196 setf(STRUCT_FGET(fio, fio_fd), NULL); in ufs_fioio()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | model.h | 122 #define STRUCT_FGET(handle, field) \ macro 178 #define STRUCT_FGET(handle, field) ((handle).ptr->field) macro 180 #define STRUCT_FGETP STRUCT_FGET
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 1805 (uint_t)STRUCT_FGET(nfsargs, flags))); in aus_mount() 3153 (uint32_t)STRUCT_FGET(ainfo, ai_auid))); in aus_auditsys() 3168 (uint32_t)STRUCT_FGET(ainfo, ai_asid))); in aus_auditsys() 3236 (uint32_t)STRUCT_FGET(qctrl, aq_hiwater))); in aus_auditsys() 3242 (uint32_t)STRUCT_FGET(qctrl, aq_bufsz))); in aus_auditsys() 3245 (uint32_t)STRUCT_FGET(qctrl, aq_delay))); in aus_auditsys() 3255 (uint64_t)STRUCT_FGET(qctrl, aq_bufsz))); in aus_auditsys() 3258 (uint64_t)STRUCT_FGET(qctrl, aq_delay))); in aus_auditsys() 3304 (uint32_t)STRUCT_FGET(apinfo, ap_pid))); in aus_auditsys() 3583 mc_drvname = STRUCT_FGET(mc, drvname); in aus_modctl() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | streamio.c | 4193 pos = STRUCT_FGET(strmodinsert, pos); in strioctl() 4282 pos = STRUCT_FGET(strmodinsert, pos); in strioctl() 4349 pos = STRUCT_FGET(strmodremove, pos); in strioctl() 4368 pos = STRUCT_FGET(strmodremove, pos); in strioctl() 4421 pos = STRUCT_FGET(strmodremove, pos); in strioctl() 5127 ASSERT(STRUCT_FGET(strpeek, flags) == 0 ? in strioctl() 5146 STRUCT_FGET(strpeek, ctlbuf.maxlen) - in strioctl() 5257 (STRUCT_FGET(strfdinsert, offset) % in strioctl() 5306 if (STRUCT_FGET(strfdinsert, ctlbuf.len) < in strioctl() 5358 STRUCT_FGET(strfdinsert, fildes)); in strioctl() [all …]
|
H A D | mmapobj.c | 1352 p_type = STRUCT_FGET(mph, x.p_type); in calc_loadable() 1354 vaddr = (caddr_t)(uintptr_t)STRUCT_FGET(mph, x.p_vaddr); in calc_loadable() 1355 p_memsz = STRUCT_FGET(mph, x.p_memsz); in calc_loadable() 1388 p_offset = STRUCT_FGET(mph, x.p_offset); in calc_loadable() 1404 p_align = STRUCT_FGET(mph, x.p_align); in calc_loadable() 1774 p_type = STRUCT_FGET(mph, x.p_type); in process_phdrs() 1776 vaddr = (caddr_t)(uintptr_t)STRUCT_FGET(mph, x.p_vaddr); in process_phdrs() 1777 p_memsz = STRUCT_FGET(mph, x.p_memsz); in process_phdrs() 1778 p_filesz = STRUCT_FGET(mph, x.p_filesz); in process_phdrs() 1779 p_offset = STRUCT_FGET(mph, x.p_offset); in process_phdrs() [all …]
|
H A D | ipc.c | 523 uid = STRUCT_FGET(lperm, uid); in ipcperm_set() 524 gid = STRUCT_FGET(lperm, gid); in ipcperm_set() 525 mode = STRUCT_FGET(lperm, mode); in ipcperm_set()
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | ucode_drv.c | 152 if ((size = STRUCT_FGET(h, ugv_size)) > NCPU || size < 0) in ucode_ioctl() 211 size = STRUCT_FGET(h, uw_size); in ucode_ioctl()
|
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_ctl.c | 297 detail = STRUCT_FGET(st, ctst_detail); in ctfs_stat_ioctl() 310 if ((len <= STRUCT_FGET(st, ctst_nbytes)) && in ctfs_stat_ioctl()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | timod.c | 2288 STRUCT_FGET(sb, maxlen)) { in ti_doname() 2302 STRUCT_FGET(sb, maxlen)) { in ti_doname() 2317 if (STRUCT_FGET(sb, len) == 0) { in ti_doname() 2328 if (STRUCT_FGET(sb, maxlen) == 0) { in ti_doname() 2367 if ((bp = allocb((size_t)STRUCT_FGET(sb, len), BPRI_MED)) in ti_doname() 2380 bp->b_wptr += STRUCT_FGET(sb, len); in ti_doname() 2383 STRUCT_FGET(sb, len)); in ti_doname() 2386 bcopy(tp->tim_myname, bp->b_rptr, STRUCT_FGET(sb, len)); in ti_doname() 2389 cqp->cq_size = STRUCT_FGET(sb, len); in ti_doname()
|
H A D | logindmux.c | 434 STRUCT_FGET(protoh, dev))); in logdmuxuwput() 438 minor = getminor(STRUCT_FGET(protoh, dev)); in logdmuxuwput() 477 if (STRUCT_FGET(protoh, flag)) { in logdmuxuwput()
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksctp.c | 1562 if ((optlen = STRUCT_FGET(opt, sopt_len)) > SO_MAXARGSIZE) in sosctp_ioctl() 1569 intval = STRUCT_FGET(opt, sopt_aid); in sosctp_ioctl() 1602 STRUCT_FGET(opt, sopt_name), buf, &optlen); in sosctp_ioctl() 1630 if ((optlen = STRUCT_FGET(opt, sopt_len)) > SO_MAXARGSIZE) in sosctp_ioctl() 1637 intval = STRUCT_FGET(opt, sopt_aid); in sosctp_ioctl() 1666 STRUCT_FGET(opt, sopt_name), buf, optlen); in sosctp_ioctl()
|