Home
last modified time | relevance | path

Searched refs:exi_export (Results 1 – 13 of 13) sorted by relevance

/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs_export.c726 srv_secinfo_add(&exip->exi_export.ex_secinfo, in srv_secinfo_treeclimb()
727 &exip->exi_export.ex_seccnt, tnode->tree_vis->vis_secinfo, in srv_secinfo_treeclimb()
742 &tnode->tree_exi->exi_export.ex_secinfo; in srv_secinfo_treeclimb()
743 int *pxcnt = &tnode->tree_exi->exi_export.ex_seccnt; in srv_secinfo_treeclimb()
792 bckt = &exptable_path_hash[pkp_tab_hash(exi->exi_export.ex_path, in export_link()
793 strlen(exi->exi_export.ex_path))]; in export_link()
815 exi_root->exi_export.ex_flags = EX_PUBLIC; in nfs_exportinit()
816 exi_root->exi_export.ex_pathlen = 1; /* length of "/" */ in nfs_exportinit()
817 exi_root->exi_export.ex_path = in nfs_exportinit()
818 kmem_alloc(exi_root->exi_export.ex_pathlen + 1, KM_SLEEP); in nfs_exportinit()
[all …]
H A Dnfs_server.c182 ((exi->exi_export.ex_flags & EX_PUBLIC) || \
2126 anon_res = crsetugid(cr, exi->exi_export.ex_anon, in checkauth()
2127 exi->exi_export.ex_anon); in checkauth()
2133 anon_res = crsetugid(cr, exi->exi_export.ex_anon, in checkauth()
2134 exi->exi_export.ex_anon); in checkauth()
2144 for (i = 0; i < exi->exi_export.ex_seccnt; i++) { in checkauth()
2146 sptr = &exi->exi_export.ex_secinfo[i]; in checkauth()
2160 exi->exi_export.ex_anon, in checkauth()
2161 exi->exi_export.ex_anon); in checkauth()
2179 for (i = 0; i < exi->exi_export.ex_seccnt; i++) { in checkauth()
[all …]
H A Dnfs_log.c200 kex = &exi->exi_export; in nfslog_setup()
625 if (exi->exi_export.ex_flags & EX_LOG) { in nfslog_record_alloc()
1548 if (exi->exi_export.ex_flags & EX_LOG) { in nfslog_get_exi()
1602 if (exi_ret != NULL && exi_ret->exi_export.ex_flags & EX_LOG) { in nfslog_get_exi()
1666 if (!(exi->exi_export.ex_flags & EX_LOG_ALLOPS) && in nfslog_write_record()
1772 *alloc_length = exi_public->exi_export.ex_pathlen + 1; in get_publicfh_path()
1775 (void) strcpy(pubpath, exi_public->exi_export.ex_path); in get_publicfh_path()
1835 if (exi->exi_export.ex_flags & EX_LOG) { in nfslog_share_record()
1860 ASSERT(exi->exi_export.ex_flags & EX_LOG); in nfslog_unshare_record()
1885 ASSERT(exi->exi_export.ex_flags & EX_LOG); in nfslog_getfh()
H A Dnfs_auth.c370 varg.arg_u.arg.areq.req_path = exi->exi_export.ex_path; in nfsauth_retrieve()
1281 *uid = exi->exi_export.ex_anon; in nfsauth_access()
1283 *gid = exi->exi_export.ex_anon; in nfsauth_access()
1308 sp = exi->exi_export.ex_secinfo; in nfsauth_access()
1309 for (i = 0; i < exi->exi_export.ex_seccnt; i++) { in nfsauth_access()
1320 if (i >= exi->exi_export.ex_seccnt) { in nfsauth_access()
1396 for (; i < exi->exi_export.ex_seccnt; i++) { in nfsauth_access()
H A Dnfs_cmd.c220 if (!(exi->exi_export.ex_flags & EX_CHARMAP)) { in nfscmd_findmap()
286 path = exi->exi_export.ex_path; in nfscmd_charmap()
H A Dnfs_log_xdr.c205 if (!xdr_string(xdrs, &exi->exi_export.ex_tag, ~0)) in xdr_nfslog_request_record()
217 if (!xdr_int(xdrs, &objp->exi_export.ex_flags)) in xdr_nfslog_sharefsargs()
219 if (!xdr_u_int(xdrs, &objp->exi_export.ex_anon)) in xdr_nfslog_sharefsargs()
221 if (!xdr_string(xdrs, &objp->exi_export.ex_path, ~0)) in xdr_nfslog_sharefsargs()
H A Dnfs_acl_srv.c98 if ((error == ENOSYS) && !(exi->exi_export.ex_flags & EX_NOACLFAB)) { in acl2_getacl()
473 if ((error == ENOSYS) && !(exi->exi_export.ex_flags & EX_NOACLFAB)) { in acl3_getacl()
H A Dnfs4_srv_ns.c181 kex = &exi->exi_export; in pseudo_exportfs()
194 srv_secinfo_exp2pseu(&exi->exi_export, exdata); in pseudo_exportfs()
H A Dnfs_srv.c205 (exi->exi_export.ex_flags & EX_NOSUID)) in rfs_setattr()
372 if (exi != NULL && (exi->exi_export.ex_flags & EX_PUBLIC)) { in rfs_lookup()
1867 exi->exi_export.ex_flags & EX_NOSUID) in rfs_create()
2905 if (exi->exi_export.ex_flags & EX_ACLOK) { in acl_perm()
H A Dnfs4_srv.c1025 count = exi->exi_export.ex_seccnt; /* total sec count */ in do_rfs4_op_secinfo()
1027 secp = exi->exi_export.ex_secinfo; in do_rfs4_op_secinfo()
1056 count = exi->exi_export.ex_seccnt; /* total sec count */ in do_rfs4_op_secinfo()
1057 secp = exi->exi_export.ex_secinfo; in do_rfs4_op_secinfo()
1964 sp = exi->exi_export.ex_secinfo; in is_exported_sec()
1965 for (i = 0; i < exi->exi_export.ex_seccnt; i++) { in is_exported_sec()
1997 sp = cs->exi->exi_export.ex_secinfo; in secinfo_match_or_authnone()
1998 for (i = 0; i < cs->exi->exi_export.ex_seccnt; i++) { in secinfo_match_or_authnone()
3653 if (exi == NULL || exi->exi_export.ex_flags & EX_PUBLIC) { in rfs4_op_putrootfh()
4760 if (cs->exi->exi_export.ex_flags & EX_VOLRNM) { in rfs4_op_rename()
H A Dnfs4_srv_attr.c317 ex_flags = exi->exi_export.ex_flags; in fattr4_get_fh_expire_type()
1945 (sarg->cs->exi->exi_export.ex_flags & EX_NOSUID)) in rfs4_fattr4_mode()
H A Dnfs3_srv.c250 (exi->exi_export.ex_flags & EX_NOSUID)) in rfs3_setattr()
389 if (exi != NULL && (exi->exi_export.ex_flags & EX_PUBLIC)) { in rfs3_lookup()
1692 if (va.va_type == VREG && (exi->exi_export.ex_flags & EX_NOSUID)) in rfs3_create()
/titanic_44/usr/src/uts/common/nfs/
H A Dexport.h510 struct exportdata exi_export; member
578 #define PSEUDO(exi) ((exi)->exi_export.ex_flags & EX_PSEUDO)