Searched refs:hashval (Results 1 - 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/cmd/ypcmd/shared/
H A Dlockmap.c288 int hashval; local
290 hashval = hash(mapname);
292 return (lock_core(hashval));
306 lock_core(int hashval) argument
313 rc = mutex_lock(&(shmlockarray->locknode[hashval]));
322 &(shmlockarray->locknode[hashval]));
328 rc = mutex_unlock(&(shmlockarray->locknode[hashval]));
351 rc = mutex_lock(&(shmlockarray->locknode[hashval]));
371 int hashval; local
373 hashval
389 unlock_core(int hashval) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dhash.c58 Word hashval; local
61 hashval = elf_hash((const char *)key);
63 hashval = key;
65 bucket = hashval % tbl->t_size;
91 ent->e_hash = hashval;
H A Dconfig.c288 Word hashval; local
338 hashval = ent->e_hash % hashbkts;
339 hashchn[ndx] = hashbkt[hashval];
340 hashbkt[hashval] = ndx++;
360 Word hashval; local
436 hashval = ent->e_hash % hashbkts;
437 hashchn[ndx] = hashbkt[hashval];
438 hashbkt[hashval] = ndx++;
455 Word hashval; local
500 hashval
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dedonr.h85 void EdonRFinal(EdonRState *state, uint8_t *hashval);
87 uint8_t *hashval);
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dlock_update.c226 int hashval = map->hash_val; local
232 rc = mutex_lock(&(shmupdatearray->updatenode[hashval]));
241 &(shmupdatearray->updatenode[hashval]));
248 &(shmupdatearray->updatenode[hashval]));
271 rc = mutex_lock(&(shmupdatearray->updatenode[hashval]));
282 int hashval = map->hash_val; local
285 rc = mutex_unlock(&(shmupdatearray->updatenode[hashval]));
345 int hashval = map->hash_val; local
354 rc = mutex_trylock(&(shmupdatearray->updatenode[hashval]));
369 &(shmupdatearray->updatenode[hashval]));
[all...]
H A Dstubs.c71 lock_core(int hashval) argument
79 unlock_core(int hashval) argument
/illumos-gate/usr/src/cmd/sgs/tools/common/
H A Dstring_table.c352 uint_t hashval; local
391 hashval = HASHSEED;
393 hashval = ((hashval << 5) + hashval) +
397 for (sthash = stp->st_hashbcks[hashval % stp->st_hbckcnt]; sthash;
401 if (sthash->hi_hashval != hashval)
449 uint_t hashval = HASHSEED; local
466 hashval = ((hashval <<
[all...]
/illumos-gate/usr/src/cmd/vi/misc/
H A Dmkstr.c244 long hashval = 0; local
250 hashval = (hashval << 1) + *cp++;
251 i = hashval % NBUCKETS;
256 if (hp->hval == hashval) {
268 hp->hval = hashval;
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_index_entry.cc45 /* what about hashval ? */
62 hashval = hval;
134 hp = &new_tab[np->hashval % hashsize];
148 if ((np->hashval == hval) &&
171 if (np->hashval == hval && np->key->equal(i, casein) &&
195 if ((fst->hashval == hval) && (fst->key->equal(i, casein))) {
207 if ((curr->hashval == hval) &&
239 if (np->hashval == hval && np->key->equal(i, casein) &&
286 if (curr->hashval == hval && curr->key->equal(i, casein)) {
H A Ddb_index_entry_c.x66 unsigned long hashval;
83 % unsigned long hashval;
H A Ddb_index_entry_c.c53 if (!xdr_u_long(xdrs, &ep->hashval))
H A Ddb_dictionary_c.x61 u_long hashval;
H A Ddb_dictionary.cc230 hp = &new_tab[np->hashval % hashsize];
265 if (np->hashval == hval &&
290 if (np->hashval == hval &&
325 target_hval = td->hashval;
329 if (curr->hashval == target_hval &&
353 printf("%s: %d\n", np->table_name, np->hashval);
362 printf("%s: %d\n", tbl->table_name, tbl->hashval);
576 td->hashval = hval;
1071 tbl_ent.hashval = tbl->hashval;
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.exec.c57 int hashval, hashval1, i; local
128 hashval = hashname(*av);
135 hashval1 = hash(hashval, i);
374 int hashval; local
411 hashval = hash(hashname(strtots(curdir_, dp->d_name)),
413 bis(cachearray, hashval);
/illumos-gate/usr/src/ucbcmd/mkstr/
H A Dmkstr.c275 long hashval = 0; local
281 hashval = (hashval << 1) + *cp++;
282 i = hashval % NBUCKETS;
287 if (hp->hval == hashval) {
296 hp->hval = hashval;
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_ipaddr.c194 int hashval; local
208 hashval = ((struct in_addr *)ipaddr)->s_addr;
209 hp = (struct hostdata **)&h_table4[iphash(hashval)];
223 hashval = ((int *)ipaddr)[3];
224 hp = (struct hostdata **)&h_table6[iphash(hashval)];
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c188 int hashval; local
207 hashval = ((struct in_addr *)ipaddr)->s_addr;
208 hp = (struct hostdata **)&h_table4[iphash(hashval)];
222 hashval = ((const int *)ipaddr)[3];
223 hp = (struct hostdata **)&h_table6[iphash(hashval)];
/illumos-gate/usr/src/cmd/oawk/
H A Dtran.c168 unsigned hashval; local
171 for (hashval = 0; *s != '\0'; /* dummy */)
172 hashval += *s++;
173 return (hashval % MAXSYM);
/illumos-gate/usr/src/cmd/sh/
H A Dhashserv.c321 short hashval; local
328 hashval = hashdata(h->data);
364 hashval = hashdata(hash);
370 pr_path(name, hashval);
/illumos-gate/usr/src/common/crypto/edonr/
H A Dedonr.c571 EdonRFinal(EdonRState *state, uint8_t *hashval) argument
663 uint32_t *d32 = (uint32_t *)hashval;
670 bcopy(hashState256(state)->DoublePipe + 9, hashval,
678 uint32_t *d32 = (uint32_t *)hashval;
685 bcopy(hashState256(state)->DoublePipe + 8, hashval,
693 uint64_t *d64 = (uint64_t *)hashval;
700 bcopy(hashState384(state)->DoublePipe + 10, hashval,
708 uint64_t *d64 = (uint64_t *)hashval;
715 bcopy(hashState512(state)->DoublePipe + 8, hashval,
726 uint8_t *hashval)
725 EdonRHash(size_t hashbitlen, const uint8_t *data, size_t databitlen, uint8_t *hashval) argument
[all...]
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetnetgrent.c261 unsigned hashval; local
268 for (hashval = 0, i = 0; i < namelen; i++) {
269 hashval = (hashval << 2) + hashval +
272 head = &ngt->hash_heads[hashval % HASHMOD];
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhtable.c1177 uint_t hashval; local
1190 hashval = HTABLE_HASH(hat, va, level);
1196 HTABLE_ENTER(hashval);
1258 ASSERT(hat->hat_ht_hash[hashval] == ht);
1259 hat->hat_ht_hash[hashval] = ht->ht_next;
1261 HTABLE_EXIT(hashval);
1268 HTABLE_EXIT(hashval);
1286 uint_t hashval; local
1306 hashval = HTABLE_HASH(hat, base, level);
1307 HTABLE_ENTER(hashval);
1330 uint_t hashval = HTABLE_HASH(hat, base, level); local
[all...]
/illumos-gate/usr/src/cmd/awk/
H A Dtran.c280 register unsigned hashval; local
282 for (hashval = 0; *s != '\0'; s++)
283 hashval = (*s + 31 * hashval);
284 return (hashval % n);
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv_cache.c139 static u_int hashval(uid_t);
522 &(ch->bucket[hashval(fcd->uid)]), 0, 0);
670 hashval(uid_t uid) function
805 hash = hashval(uid);
842 list_remove_hash(cd, &((*ch)->bucket[hashval(cd->uid)]), 0, 0);
911 list_insert_hash(cd, &(newch->bucket[hashval(cd->uid)]), 0, 0);
1004 hash = hashval(uid);
1053 hash = hashval(uid);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dxfs.h299 xfs_dahash_t hashval; /* hash value for this descendant */ member in struct:xfs_da_intnode::xfs_da_node_entry

Completed in 106 milliseconds

12