Lines Matching refs:exi

59 static void exi_cache_trim(struct exportinfo *exi);
107 * exi structure, we can't do that for the auth_list.
134 * entries which are no longer linked to an exi.
142 * Note that while there is no link from the exi or
143 * back to the exi, the exi can not go away until
318 nfsauth4_access(struct exportinfo *exi, vnode_t *vp, struct svc_req *req)
322 access = nfsauth_access(exi, req);
342 if (has_visible(exi, vp))
369 nfsauth_retrieve(struct exportinfo *exi, char *req_netid, int flavor,
426 varg.arg_u.arg.areq.req_path = exi->exi_export.ex_path;
613 struct exportinfo *exi;
641 exi = ren->ren_exi;
642 ASSERT(exi != NULL);
643 rw_enter(&exi->exi_cache_lock, RW_READER);
651 * with this exi node...
690 struct exportinfo *, exi,
705 retrieval = nfsauth_retrieve(exi, p->auth_netid,
749 rw_exit(&exi->exi_cache_lock);
767 nfsauth_cache_get(struct exportinfo *exi, struct svc_req *req, int flavor)
799 rw_enter(&exi->exi_cache_lock, RW_READER);
800 head = &exi->exi_cache[hash(&addr)];
827 struct exportinfo *, exi,
848 if (ren->ren_exi == exi) {
860 exi_hold(exi);
861 ren->ren_exi = exi;
886 rw_exit(&exi->exi_cache_lock);
892 rw_exit(&exi->exi_cache_lock);
896 if (!nfsauth_retrieve(exi, svc_getnetid(req->rq_xprt), flavor,
916 rw_enter(&exi->exi_cache_lock, RW_WRITER);
919 rw_exit(&exi->exi_cache_lock);
932 nfsauth4_secinfo_access(struct exportinfo *exi, struct svc_req *req,
952 access = nfsauth_cache_get(exi, req, flavor);
958 nfsauth_access(struct exportinfo *exi, struct svc_req *req)
977 sp = exi->exi_export.ex_secinfo;
978 for (i = 0; i < exi->exi_export.ex_seccnt; i++) {
989 if (i >= exi->exi_export.ex_seccnt) {
1033 access = nfsauth_cache_get(exi, req, flavor);
1045 access = nfsauth_cache_get(exi, req, AUTH_NONE);
1050 for (; i < exi->exi_export.ex_seccnt; i++) {
1053 access = nfsauth_cache_get(exi, req,
1112 nfsauth_cache_free(struct exportinfo *exi)
1118 for (p = exi->exi_cache[i]; p; p = next) {
1143 struct exportinfo *exi;
1148 for (exi = exptable[i]; exi; exi = exi->fid_hash.next) {
1149 exi_cache_trim(exi);
1158 exi_cache_trim(struct exportinfo *exi)
1167 rw_enter(&exi->exi_cache_lock, RW_WRITER);
1176 for (p = exi->exi_cache[i]; p; p = next) {
1201 exi->exi_cache[i] = next;
1207 rw_exit(&exi->exi_cache_lock);