/illumos-gate/usr/src/cmd/nscd/ |
H A D | getgr.c | 77 grgid_gethash(nss_XbyY_key_t *key, int htsize) { argument 78 return ((uint_t)key->gid % htsize);
|
H A D | getproject.c | 73 projid_gethash(nss_XbyY_key_t *key, int htsize) { argument 74 return (db_gethash(&key->projid, sizeof (key->projid), htsize));
|
H A D | getpw.c | 75 pwuid_gethash(nss_XbyY_key_t *key, int htsize) { argument 76 return ((uint_t)key->uid % htsize);
|
H A D | gettnrhdb.c | 90 tsol_rh_gethash(nss_XbyY_key_t *key, int htsize) { argument 92 strlen(key->hostaddr.addr), htsize));
|
H A D | getether.c | 83 ether_gethash(nss_XbyY_key_t *key, int htsize) { argument 85 htsize));
|
H A D | gethost.c | 98 hostaddr_gethash(nss_XbyY_key_t *key, int htsize) { argument 100 key->hostaddr.len, htsize));
|
H A D | getnet.c | 117 netaddr_gethash(nss_XbyY_key_t *key, int htsize) { argument 119 sizeof (key->netaddr.net), htsize));
|
H A D | getnode.c | 99 ipaddr_gethash(nss_XbyY_key_t *key, int htsize) { argument 101 key->hostaddr.len, htsize)); 139 ipname_gethash(nss_XbyY_key_t *key, int htsize) { argument 140 return (cis_gethash(key->ipnode.name, htsize));
|
H A D | getserv.c | 103 servname_gethash(nss_XbyY_key_t *key, int htsize) { argument 104 return (ces_gethash(key->serv.serv.name, htsize)); 146 servport_gethash(nss_XbyY_key_t *key, int htsize) { argument 148 sizeof (key->serv.serv.port), htsize));
|
H A D | getexec.c | 107 execattr_gethash(nss_XbyY_key_t *key, int htsize) { argument 116 return (db_gethash(keys, len, htsize));
|
H A D | cache.h | 251 int htsize; member in struct:nsc_db
|
H A D | cache.c | 332 #define _NSC_ELF_STR_GETHASH(func, str, htsize, hval) \ 341 hval %= htsize; 348 cis_gethash(const char *key, int htsize) { argument 352 _NSC_ELF_STR_GETHASH(tolower, key, htsize, hval); 361 ces_gethash(const char *key, int htsize) { argument 365 _NSC_ELF_STR_GETHASH(, key, htsize, hval); 374 db_gethash(const void *key, int len, int htsize) { argument 389 return (hval % htsize); 397 nsc_db_cis_key_gethash(nss_XbyY_key_t *key, int htsize) { argument 398 return (cis_gethash(key->name, htsize)); 406 nsc_db_ces_key_gethash(nss_XbyY_key_t *key, int htsize) argument 415 nsc_db_int_key_gethash(nss_XbyY_key_t *key, int htsize) argument 695 make_cache(enum db_type dbtype, int dbop, char *name, int (*compar) (const void *, const void *), void (*getlogstr)(char *, char *, size_t, nss_XbyY_args_t *), uint_t (*gethash)(nss_XbyY_key_t *, int), enum hash_type httype, int htsize) argument [all...] |
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | hash.h | 40 int htsize; /* Number of buckets in the hash table */ member in struct:Hash
|
/illumos-gate/usr/src/cmd/mdb/common/modules/lofs/ |
H A D | lofs.c | 59 uint_t htsize; local 93 htsize = 0; 104 if (htsize + loinfo.li_htsize > lwp->lw_tabsz) { 112 (void) mdb_vread(lwp->lw_table + htsize, 115 htsize += loinfo.li_htsize;
|
/illumos-gate/usr/src/uts/common/fs/lofs/ |
H A D | lofs_subr.c | 122 * (1) Stash away the htsize and the pointer to the hashtable to make 155 uint_t htsize; local 159 htsize = li->li_htsize; 162 hash = ltablehash(vp, htsize); 164 if (li->li_hashtable == chain && li->li_htsize == htsize) 188 * htsize buckets. 191 lsetup(struct loinfo *li, uint_t htsize) argument 195 if (htsize == 0) 196 htsize = LOFS_DEFAULT_HTSIZE; 197 li->li_htsize = htsize; 211 uint_t i, htsize; local [all...] |
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | dbutils.c | 3257 gethash(const char *str, uint32_t num, uint_t htsize) argument 3276 return (hval % htsize); 3285 uint_t htsize = state->sid_history_size; local 3288 next = gethash(prefix, rid, htsize); 3289 while (next != htsize) { 3291 if (key == htsize) 3310 uint_t htsize = state->sid_history_size; local 3312 hash = next = gethash(prefix, rid, htsize); 3313 while (state->sid_history[next].key != htsize) { 3315 next %= htsize; [all...] |
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_flow.c | 1601 flow_l2_addrhash(uint8_t *addr, size_t addrlen, size_t htsize) argument 1608 return (hash % htsize);
|