Searched refs:htsize (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dhash.c43 new->htsize = 0;
59 pH->htsize = 0;
179 pH->htsize = new_size;
273 assert( (pH->htsize & (pH->htsize-1))==0 );
274 elem = findElementGivenHash(pH,pKey,nKey, h & (pH->htsize-1));
304 assert( (pH->htsize & (pH->htsize-1))==0 );
305 h = hraw & (pH->htsize-1);
331 if( pH->htsize
[all...]
H A Dhash.h40 int htsize; /* Number of buckets in the hash table */ member in struct:Hash
/illumos-gate/usr/src/cmd/nscd/
H A Dgetether.c83 ether_gethash(nss_XbyY_key_t *key, int htsize) { argument
85 htsize));
H A Dgetgr.c77 grgid_gethash(nss_XbyY_key_t *key, int htsize) { argument
78 return ((uint_t)key->gid % htsize);
H A Dgetproject.c73 projid_gethash(nss_XbyY_key_t *key, int htsize) { argument
74 return (db_gethash(&key->projid, sizeof (key->projid), htsize));
H A Dgetpw.c75 pwuid_gethash(nss_XbyY_key_t *key, int htsize) { argument
76 return ((uint_t)key->uid % htsize);
H A Dgetnode.c99 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 Dgetserv.c103 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 Dgethost.c98 hostaddr_gethash(nss_XbyY_key_t *key, int htsize) { argument
100 key->hostaddr.len, htsize));
H A Dgettnrhdb.c90 tsol_rh_gethash(nss_XbyY_key_t *key, int htsize) { argument
92 strlen(key->hostaddr.addr), htsize));
H A Dgetexec.c107 execattr_gethash(nss_XbyY_key_t *key, int htsize) { argument
116 return (db_gethash(keys, len, htsize));
H A Dgetnet.c117 netaddr_gethash(nss_XbyY_key_t *key, int htsize) { argument
119 sizeof (key->netaddr.net), htsize));
H A Dcache.c332 #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...]
H A Dcache.h251 int htsize; member in struct:nsc_db
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_subr.c122 * (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/mdb/common/modules/lofs/
H A Dlofs.c59 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/cmd/idmap/idmapd/
H A Ddbutils.c3257 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 Dmac_flow.c1601 flow_l2_addrhash(uint8_t *addr, size_t addrlen, size_t htsize) argument
1608 return (hash % htsize);

Completed in 86 milliseconds