Home
last modified time | relevance | path

Searched refs:STRUCT_FGET (Results 1 – 25 of 58) sorted by relevance

123

/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_common.c115 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()
152 mi->mi_tsize = MIN(mi->mi_tsize, STRUCT_FGET(args, rsize)); in nfs4_setopts()
156 if (STRUCT_FGET(args, wsize) <= 0) in nfs4_setopts()
158 mi->mi_stsize = MIN(mi->mi_stsize, STRUCT_FGET(args, wsize)); in nfs4_setopts()
162 if (STRUCT_FGET(args, acregmin) < 0) in nfs4_setopts()
[all …]
H A Dnfs_sys.c122 clr.vers = STRUCT_FGET(u_clr, vers); in nfssys()
127 clr.addr_type = STRUCT_FGET(u_clr, addr_type); in nfssys()
176 rsa.poolid = STRUCT_FGET(ursa, poolid); in nfssys()
177 rsa.nfs_versmin = STRUCT_FGET(ursa, nfs_versmin); in nfssys()
178 rsa.nfs_versmax = STRUCT_FGET(ursa, nfs_versmax); in nfssys()
179 rsa.delegation = STRUCT_FGET(ursa, delegation); in nfssys()
230 error = sec_clnt_revoke(STRUCT_FGET(nra, authtype), in nfssys()
231 STRUCT_FGET(nra, uid), CRED(), NULL, get_udatamodel()); in nfssys()
245 lsa.version = STRUCT_FGET(ulsa, version); in nfssys()
246 lsa.fd = STRUCT_FGET(ulsa, fd); in nfssys()
[all …]
H A Dnfs_common.c480 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()
519 mi->mi_tsize = MIN(mi->mi_tsize, STRUCT_FGET(args, rsize)); in nfs_setopts()
523 if (STRUCT_FGET(args, wsize) <= 0) in nfs_setopts()
525 mi->mi_stsize = MIN(mi->mi_stsize, STRUCT_FGET(args, wsize)); in nfs_setopts()
529 if (STRUCT_FGET(args, acregmin) < 0) in nfs_setopts()
[all …]
H A Dnfs_vfsops.c285 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()
292 nargs->acdirmax = STRUCT_FGET(args, acdirmax); in nfs_copyin()
294 flags = STRUCT_FGET(args, flags); in nfs_copyin()
313 knconf->knc_semantics = STRUCT_FGET(knconf_tmp, knc_semantics); in nfs_copyin()
[all …]
H A Dnfs3_vfsops.c276 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()
303 knconf->knc_semantics = STRUCT_FGET(knconf_tmp, knc_semantics); in nfs3_copyin()
[all …]
H A Dnfs_export.c1233 kex->ex_version = STRUCT_FGET(uexi, ex_version); in exportfs()
1245 kex->ex_seccnt = STRUCT_FGET(uexi, ex_seccnt); in exportfs()
1252 kex->ex_pathlen = STRUCT_FGET(uexi, ex_pathlen); in exportfs()
1253 kex->ex_flags = STRUCT_FGET(uexi, ex_flags); in exportfs()
1254 kex->ex_anon = STRUCT_FGET(uexi, ex_anon); in exportfs()
1258 kex->ex_log_bufferlen = STRUCT_FGET(uexi, ex_log_bufferlen); in exportfs()
1260 kex->ex_taglen = STRUCT_FGET(uexi, ex_taglen); in exportfs()
1335 bcopy(STRUCT_FGET(usi, s_secinfo.sc_name), in exportfs()
1338 STRUCT_FGET(usi, s_secinfo.sc_nfsnum); in exportfs()
1340 STRUCT_FGET(usi, s_secinfo.sc_rpcnum); in exportfs()
[all …]
H A Dnfs4_callback.c916 if ((fp = getf(STRUCT_FGET(uap, fd))) == NULL) in nfs4_dquery()
923 releasef(STRUCT_FGET(uap, fd)); in nfs4_dquery()
936 releasef(STRUCT_FGET(uap, fd)); in nfs4_dquery()
972 if (STRUCT_FGET(uap, cmd) == NFS4_DQUERY) in nfs4_svc()
978 if ((fp = getf(STRUCT_FGET(uap, fd))) == NULL) in nfs4_svc()
992 releasef(STRUCT_FGET(uap, fd)); in nfs4_svc()
996 cmd = STRUCT_FGET(uap, cmd); in nfs4_svc()
999 addrmask.len = STRUCT_FGET(uap, addrmask.len); in nfs4_svc()
1000 addrmask.maxlen = STRUCT_FGET(uap, addrmask.maxlen); in nfs4_svc()
1005 releasef(STRUCT_FGET(uap, fd)); in nfs4_svc()
[all …]
H A Dnfs_server.c440 if ((fp = getf(STRUCT_FGET(uap, fd))) == NULL) in nfs_svc()
454 releasef(STRUCT_FGET(uap, fd)); in nfs_svc()
458 addrmask.len = STRUCT_FGET(uap, addrmask.len); in nfs_svc()
459 addrmask.maxlen = STRUCT_FGET(uap, addrmask.maxlen); in nfs_svc()
464 releasef(STRUCT_FGET(uap, fd)); in nfs_svc()
469 nfs_versmin = STRUCT_FGET(uap, versmin); in nfs_svc()
470 nfs_versmax = STRUCT_FGET(uap, versmax); in nfs_svc()
482 releasef(STRUCT_FGET(uap, fd)); in nfs_svc()
489 rfs4_server_start(STRUCT_FGET(uap, delegation)); in nfs_svc()
498 releasef(STRUCT_FGET(uap, fd)); in nfs_svc()
H A Dnfs4_vfsops.c492 nargs->wsize = STRUCT_FGET(args, wsize); in nfs4_copyin()
493 nargs->rsize = STRUCT_FGET(args, rsize); in nfs4_copyin()
494 nargs->timeo = STRUCT_FGET(args, timeo); in nfs4_copyin()
495 nargs->retrans = STRUCT_FGET(args, retrans); in nfs4_copyin()
496 nargs->acregmin = STRUCT_FGET(args, acregmin); in nfs4_copyin()
497 nargs->acregmax = STRUCT_FGET(args, acregmax); in nfs4_copyin()
498 nargs->acdirmin = STRUCT_FGET(args, acdirmin); in nfs4_copyin()
499 nargs->acdirmax = STRUCT_FGET(args, acdirmax); in nfs4_copyin()
501 flags = STRUCT_FGET(args, flags); in nfs4_copyin()
520 knconf->knc_semantics = STRUCT_FGET(knconf_tmp, knc_semantics); in nfs4_copyin()
[all …]
/titanic_41/usr/src/uts/common/syscall/
H A Dauditsys.c299 ainfo->ai_auid = STRUCT_FGET(info, ai_auid); in setaudit()
304 DEVEXPL(STRUCT_FGET(info, ai_termid.port)); in setaudit()
306 ainfo->ai_termid.at_port = STRUCT_FGET(info, ai_termid.port); in setaudit()
308 ainfo->ai_termid.at_port = STRUCT_FGET(info, ai_termid.port); in setaudit()
311 ainfo->ai_termid.at_addr[0] = STRUCT_FGET(info, ai_termid.machine); in setaudit()
312 ainfo->ai_asid = STRUCT_FGET(info, ai_asid); in setaudit()
313 ainfo->ai_mask = STRUCT_FGET(info, ai_mask); in setaudit()
349 type = STRUCT_FGET(info, ai_termid.at_type); in setaudit_addr()
366 ainfo->ai_auid = STRUCT_FGET(info, ai_auid); in setaudit_addr()
367 ainfo->ai_mask = STRUCT_FGET(info, ai_mask); in setaudit_addr()
[all …]
H A Dmemcntl.c152 pgcmd = STRUCT_FGET(mha, mha_cmd); in memcntl()
161 STRUCT_FGET(mha, mha_flags)) in memcntl()
164 pgsz = STRUCT_FGET(mha, mha_pagesize); in memcntl()
/titanic_41/usr/src/uts/common/crypto/io/
H A Dcrypto.c935 len = STRUCT_FGET(get_number, pn_mechanism_len); in get_mechanism_number()
998 req_count = STRUCT_FGET(get_list, ml_count); in get_mechanism_list()
1104 (void) strncpy(mech_name, STRUCT_FGET(get_all_mech, mi_mechanism_name), in get_all_mechanism_info()
1121 req_count = STRUCT_FGET(get_all_mech, mi_count); in get_all_mechanism_info()
1263 req_count = STRUCT_FGET(get_list, pl_count); in get_provider_list()
1280 req_count = STRUCT_FGET(get_list, pl_count); in get_provider_list()
1330 bcopy(provider->pd_description, STRUCT_FGET(pd, pd_prov_desc), in ext_to_provider_data()
1333 bcopy(ei->ei_label, STRUCT_FGET(pd, pd_label), CRYPTO_EXT_SIZE_LABEL); in ext_to_provider_data()
1334 bcopy(ei->ei_manufacturerID, STRUCT_FGET(pd, pd_manufacturerID), in ext_to_provider_data()
1336 bcopy(ei->ei_model, STRUCT_FGET(pd, pd_model), CRYPTO_EXT_SIZE_MODEL); in ext_to_provider_data()
[all …]
/titanic_41/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c375 version = STRUCT_FGET(args, version); in smbfs_mount()
408 devfd = STRUCT_FGET(args, devfd); in smbfs_mount()
518 flags = STRUCT_FGET(args, flags); in smbfs_mount()
519 smi->smi_uid = STRUCT_FGET(args, uid); in smbfs_mount()
520 smi->smi_gid = STRUCT_FGET(args, gid); in smbfs_mount()
521 smi->smi_fmode = STRUCT_FGET(args, file_mode) & 0777; in smbfs_mount()
522 smi->smi_dmode = STRUCT_FGET(args, dir_mode) & 0777; in smbfs_mount()
530 sec = STRUCT_FGET(args, acregmin); in smbfs_mount()
536 sec = STRUCT_FGET(args, acregmax); in smbfs_mount()
542 sec = STRUCT_FGET(args, acdirmin); in smbfs_mount()
[all …]
/titanic_41/usr/src/uts/common/rpc/
H A Drpcsys.c59 result = sec_clnt_revoke(STRUCT_FGET(nra, rpcsec_flavor_1), in rpcsys()
60 STRUCT_FGET(nra, uid_1), CRED(), in rpcsys()
/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdcsrv.c288 addrmask.len = STRUCT_FGET(uap, addrmask.len); in rdcsrv_create()
289 addrmask.maxlen = STRUCT_FGET(uap, addrmask.maxlen); in rdcsrv_create()
312 STRUCT_FGETP(uap, netid), &addrmask, STRUCT_FGET(uap, nthr), &xprt); in rdcsrv_create()
318 p.maxthreads = STRUCT_FGET(uap, nthr); in rdcsrv_create()
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_filio.c121 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()
/titanic_41/usr/src/uts/common/sys/
H A Dmodel.h124 #define STRUCT_FGET(handle, field) \ macro
183 #define STRUCT_FGET(handle, field) ((handle).ptr->field) macro
185 #define STRUCT_FGETP STRUCT_FGET
/titanic_41/usr/src/uts/common/avs/ns/
H A Dmodel.h133 #define STRUCT_FGET(handle, field) \ macro
193 #define STRUCT_FGET(handle, field) ((handle).ptr->field) macro
195 #define STRUCT_FGETP STRUCT_FGET
/titanic_41/usr/src/uts/common/os/
H A Dstreamio.c4067 pos = STRUCT_FGET(strmodinsert, pos); in strioctl()
4156 pos = STRUCT_FGET(strmodinsert, pos); in strioctl()
4223 pos = STRUCT_FGET(strmodremove, pos); in strioctl()
4242 pos = STRUCT_FGET(strmodremove, pos); in strioctl()
4295 pos = STRUCT_FGET(strmodremove, pos); in strioctl()
4926 if ((STRUCT_FGET(strpeek, flags) & RS_HIPRI) && in strioctl()
4933 (STRUCT_FGET(strpeek, flags) & RS_HIPRI)) { in strioctl()
4986 if (STRUCT_FGET(strpeek, ctlbuf.maxlen) < 0) in strioctl()
4988 else if (STRUCT_FGET(strpeek, ctlbuf.maxlen) == 0) in strioctl()
4994 iov.iov_len = STRUCT_FGET(strpeek, ctlbuf.maxlen); in strioctl()
[all …]
H A Dmmapobj.c1345 p_type = STRUCT_FGET(mph, x.p_type); in calc_loadable()
1347 vaddr = (caddr_t)(uintptr_t)STRUCT_FGET(mph, x.p_vaddr); in calc_loadable()
1348 p_memsz = STRUCT_FGET(mph, x.p_memsz); in calc_loadable()
1381 p_offset = STRUCT_FGET(mph, x.p_offset); in calc_loadable()
1397 p_align = STRUCT_FGET(mph, x.p_align); in calc_loadable()
1764 p_type = STRUCT_FGET(mph, x.p_type); in process_phdr()
1766 vaddr = (caddr_t)(uintptr_t)STRUCT_FGET(mph, x.p_vaddr); in process_phdr()
1767 p_memsz = STRUCT_FGET(mph, x.p_memsz); in process_phdr()
1768 p_filesz = STRUCT_FGET(mph, x.p_filesz); in process_phdr()
1769 p_offset = STRUCT_FGET(mph, x.p_offset); in process_phdr()
[all …]
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_vfsops.c517 fscache_acset(fscp, STRUCT_FGET(map, cfs_acregmin), in cachefs_mount()
518 STRUCT_FGET(map, cfs_acregmax), in cachefs_mount()
519 STRUCT_FGET(map, cfs_acdirmin), STRUCT_FGET(map, cfs_acdirmax)); in cachefs_mount()
1280 fscache_acset(fscp, STRUCT_FGET(map, cfs_acregmin), in cachefs_remount()
1281 STRUCT_FGET(map, cfs_acregmax), in cachefs_remount()
1282 STRUCT_FGET(map, cfs_acdirmin), STRUCT_FGET(map, cfs_acdirmax)); in cachefs_remount()
/titanic_41/usr/src/uts/common/c2/
H A Daudit_event.c1760 (uint_t)STRUCT_FGET(nfsargs, flags))); in aus_mount()
3094 (uint32_t)STRUCT_FGET(ainfo, ai_auid))); in aus_auditsys()
3097 (uint64_t)STRUCT_FGET(ainfo, ai_termid.port))); in aus_auditsys()
3100 (uint32_t)STRUCT_FGET(ainfo, ai_termid.port))); in aus_auditsys()
3103 (uint32_t)STRUCT_FGET(ainfo, ai_termid.machine))); in aus_auditsys()
3105 (uint32_t)STRUCT_FGET(ainfo, ai_mask.as_success))); in aus_auditsys()
3107 (uint32_t)STRUCT_FGET(ainfo, ai_mask.as_failure))); in aus_auditsys()
3109 (uint32_t)STRUCT_FGET(ainfo, ai_asid))); in aus_auditsys()
3118 (uint32_t)STRUCT_FGET(ainfo_addr, ai_auid))); in aus_auditsys()
3121 (uint64_t)STRUCT_FGET(ainfo_addr, ai_termid.at_port))); in aus_auditsys()
[all …]
/titanic_41/usr/src/uts/intel/io/
H A Ducode_drv.c160 if ((size = STRUCT_FGET(h, ugv_size)) > NCPU || size < 0) in ucode_ioctl()
219 size = STRUCT_FGET(h, uw_size); in ucode_ioctl()
/titanic_41/usr/src/uts/common/fs/ctfs/
H A Dctfs_ctl.c299 detail = STRUCT_FGET(st, ctst_detail); in ctfs_stat_ioctl()
312 if ((len <= STRUCT_FGET(st, ctst_nbytes)) && in ctfs_stat_ioctl()
/titanic_41/usr/src/uts/common/io/
H A Dtimod.c2284 STRUCT_FGET(sb, maxlen)) { in ti_doname()
2298 STRUCT_FGET(sb, maxlen)) { in ti_doname()
2313 if (STRUCT_FGET(sb, len) == 0) { in ti_doname()
2324 if (STRUCT_FGET(sb, maxlen) == 0) { in ti_doname()
2363 if ((bp = allocb((size_t)STRUCT_FGET(sb, len), BPRI_MED)) in ti_doname()
2376 bp->b_wptr += STRUCT_FGET(sb, len); in ti_doname()
2379 STRUCT_FGET(sb, len)); in ti_doname()
2382 bcopy(tp->tim_myname, bp->b_rptr, STRUCT_FGET(sb, len)); in ti_doname()
2385 cqp->cq_size = STRUCT_FGET(sb, len); in ti_doname()

123