Lines Matching defs:sid
101 static void cache_ref(uint32_t); /* note that sid was ref'd */
127 uint32_t sid;
249 sid = cred->adc_nickname;
250 if (sid >= authdes_cachesz) {
256 entry = &_rpc_authdes_cache[sid];
261 sessionkey = &_rpc_authdes_cache[sid].key;
286 _rpc_authdes_cache[sid].rname);
335 } else sid = cache_spot_id;
338 window = _rpc_authdes_cache[sid].window;
350 _rpc_authdes_cache[sid].rname);
356 &_rpc_authdes_cache[sid].laststamp)) {
364 _rpc_authdes_cache[sid].rname);
378 _rpc_authdes_cache[sid].rname);
388 verf.adv_nickname = sid;
405 _rpc_authdes_cache[sid].rname);
428 _rpc_authdes_cache[sid].rname);
437 entry = &_rpc_authdes_cache[sid];
439 cache_ref(sid);
442 cred->adc_nickname = sid; /* save nickname */
528 * Note that sid was referenced
531 cache_ref(uint32_t sid)
533 struct cache_entry *curr = &_rpc_authdes_cache[sid];
630 uint32_t sid;
637 sid = adc->adc_nickname;
638 if (sid >= authdes_cachesz) {
644 cred = (struct bsdcred *)_rpc_authdes_cache[sid].localcred;
658 _rpc_authdes_cache[sid].localcred = (char *)cred;