Searched refs:authdes_cachesz (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvcauth_des.c72 int authdes_cachesz = DEF_AUTHDES_CACHESZ; variable
86 static struct cache_entry *_rpc_authdes_cache; /* [authdes_cachesz] */
250 if (sid >= authdes_cachesz) {
483 malloc(sizeof (struct cache_entry) * authdes_cachesz);
489 sizeof (struct cache_entry) * authdes_cachesz);
494 for (i = 1; i < (authdes_cachesz - 1); i++) {
500 cache_tail = &_rpc_authdes_cache[authdes_cachesz - 1];
506 cache_tail->index = authdes_cachesz - 1;
510 cache_tail->prev = &_rpc_authdes_cache[authdes_cachesz - 2];
577 for (cp = _rpc_authdes_cache, i = 0; i < authdes_cachesz;
[all...]
H A Drpcb_clnt.c102 extern int authdes_cachesz;
132 *(int *)info = authdes_cachesz;
135 authdes_cachesz = *(int *)info;
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsvcauthdes.c78 * The hash table size is controled via authdes_cachesz variable.
79 * The authdes_cachesz has to be the power of 2.
82 static int authdes_cachesz = AUTHDES_CACHE_TABLE_SZ; variable
83 #define HASH(key) ((key) & (authdes_cachesz - 1))
99 static struct authdes_cache_entry **authdes_cache; /* [authdes_cachesz] */
157 sizeof (struct authdes_cache_entry *) * authdes_cachesz,

Completed in 63 milliseconds