Lines Matching refs:sid
139 uint32_t sid; in __svcauth_des() local
258 sid = cred->adc_nickname; in __svcauth_des()
259 if (sid >= authdes_cachesz) { in __svcauth_des()
265 entry = &_rpc_authdes_cache[sid]; in __svcauth_des()
270 sessionkey = &_rpc_authdes_cache[sid].key; in __svcauth_des()
295 _rpc_authdes_cache[sid].rname); in __svcauth_des()
344 } else sid = cache_spot_id; in __svcauth_des()
347 window = _rpc_authdes_cache[sid].window; in __svcauth_des()
359 _rpc_authdes_cache[sid].rname); in __svcauth_des()
365 &_rpc_authdes_cache[sid].laststamp)) { in __svcauth_des()
373 _rpc_authdes_cache[sid].rname); in __svcauth_des()
387 _rpc_authdes_cache[sid].rname); in __svcauth_des()
397 verf.adv_nickname = sid; in __svcauth_des()
414 _rpc_authdes_cache[sid].rname); in __svcauth_des()
437 _rpc_authdes_cache[sid].rname); in __svcauth_des()
446 entry = &_rpc_authdes_cache[sid]; in __svcauth_des()
448 cache_ref(sid); in __svcauth_des()
451 cred->adc_nickname = sid; /* save nickname */ in __svcauth_des()
540 cache_ref(uint32_t sid) in cache_ref() argument
542 struct cache_entry *curr = &_rpc_authdes_cache[sid]; in cache_ref()
639 uint32_t sid; in authdes_getucred() local
646 sid = adc->adc_nickname; in authdes_getucred()
647 if (sid >= authdes_cachesz) { in authdes_getucred()
653 cred = (struct bsdcred *)_rpc_authdes_cache[sid].localcred; in authdes_getucred()
667 _rpc_authdes_cache[sid].localcred = (char *)cred; in authdes_getucred()