Lines Matching refs:sid
140 uint32_t sid; in __svcauth_des() local
259 sid = cred->adc_nickname; in __svcauth_des()
260 if (sid >= authdes_cachesz) { in __svcauth_des()
266 entry = &_rpc_authdes_cache[sid]; in __svcauth_des()
271 sessionkey = &_rpc_authdes_cache[sid].key; in __svcauth_des()
296 _rpc_authdes_cache[sid].rname); in __svcauth_des()
345 } else sid = cache_spot_id; in __svcauth_des()
348 window = _rpc_authdes_cache[sid].window; in __svcauth_des()
360 _rpc_authdes_cache[sid].rname); in __svcauth_des()
366 &_rpc_authdes_cache[sid].laststamp)) { in __svcauth_des()
374 _rpc_authdes_cache[sid].rname); in __svcauth_des()
388 _rpc_authdes_cache[sid].rname); in __svcauth_des()
398 verf.adv_nickname = sid; in __svcauth_des()
415 _rpc_authdes_cache[sid].rname); in __svcauth_des()
438 _rpc_authdes_cache[sid].rname); in __svcauth_des()
447 entry = &_rpc_authdes_cache[sid]; in __svcauth_des()
449 cache_ref(sid); in __svcauth_des()
452 cred->adc_nickname = sid; /* save nickname */ in __svcauth_des()
541 cache_ref(uint32_t sid) in cache_ref() argument
543 struct cache_entry *curr = &_rpc_authdes_cache[sid]; in cache_ref()
640 uint32_t sid; in authdes_getucred() local
647 sid = adc->adc_nickname; in authdes_getucred()
648 if (sid >= authdes_cachesz) { in authdes_getucred()
654 cred = (struct bsdcred *)_rpc_authdes_cache[sid].localcred; in authdes_getucred()
668 _rpc_authdes_cache[sid].localcred = (char *)cred; in authdes_getucred()