Searched refs:hval (Results 1 - 11 of 11) sorted by relevance

/freebsd-9.3-release/sys/sys/
H A Dfnv_hash.h23 fnv_32_buf(const void *buf, size_t len, Fnv32_t hval) argument
28 hval *= FNV_32_PRIME;
29 hval ^= *s++;
31 return hval;
35 fnv_32_str(const char *str, Fnv32_t hval) argument
41 hval *= FNV_32_PRIME;
42 hval ^= c;
44 return hval;
48 fnv_64_buf(const void *buf, size_t len, Fnv64_t hval) argument
53 hval *
60 fnv_64_str(const char *str, Fnv64_t hval) argument
[all...]
/freebsd-9.3-release/sbin/hastd/
H A Dlzf.c128 unsigned int hval; local
144 hval = FRST (ip);
147 hval = NEXT (hval, ip);
148 hslot = htab + IDX (hval);
238 hval = FRST (ip);
240 hval = NEXT (hval, ip);
241 htab[IDX (hval)] = ip;
245 hval
[all...]
/freebsd-9.3-release/sys/vm/
H A Duma_int.h396 int hval; local
398 hval = UMA_HASH(hash, data);
400 SLIST_FOREACH(slab, &hash->uh_slab_hash[hval], us_hlink) {
H A Duma_core.c510 int hval; local
528 hval = UMA_HASH(newhash, slab->us_data);
529 SLIST_INSERT_HEAD(&newhash->uh_slab_hash[hval],
/freebsd-9.3-release/usr.bin/mkstr/
H A Dmkstr.c271 long hval; member in struct:hash
294 if (hp->hval == hashval) {
308 hp->hval = hashval;
317 fprintf(stderr, "%s hashed to %ld at %d\n", str, hp->hval, hp->hpt);
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Drrl.c255 get_bin(dns_rrl_hash_t *hash, unsigned int hval) { argument
256 return (&hash->bins[hval % hash->length]);
374 isc_uint32_t hval; local
377 hval = key->w[0];
379 hval = key->w[i] + (hval<<1);
381 return (hval);
499 isc_uint32_t hval; local
506 hval = hash_key(&key);
511 new_bin = get_bin(rrl->hash, hval);
[all...]
/freebsd-9.3-release/sys/fs/smbfs/
H A Dsmbfs_node.c55 #define SMBFS_NOHASH(smp, hval) (&(smp)->sm_hash[(hval) & (smp)->sm_hashlen])
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Dfasttrap.c252 uint_t hval = 0; local
255 hval = (hval << 4) + *p++;
256 if ((g = (hval & 0xf0000000)) != 0)
257 hval ^= g >> 24;
258 hval &= ~g;
260 return (hval);
H A Ddtrace.c6821 uint_t hval = 0;
6824 hval = (hval << 4) + *p++;
6825 if ((g = (hval & 0xf0000000)) != 0)
6826 hval ^= g >> 24;
6827 hval &= ~g;
6829 return (hval);
7107 int hval = dtrace_hash_str(str) % DTRACE_ERRHASHSZ;
7115 if (dtrace_errhash[hval].dter_msg == str) {
7116 dtrace_errhash[hval]
[all...]
/freebsd-9.3-release/contrib/ntp/ntpq/
H A Dntpq.c3360 sockaddr_u hval; local
3394 if (!decodenetnum(value, &hval)) {
3397 output(fp, name, nntohost(&hval));
3399 output(fp, name, stoa(&hval));
3404 if (decodenetnum(value, &hval)) {
3405 if (ISREFCLOCKADR(&hval))
3407 refnumtoa(&hval));
3409 output(fp, name, stoa(&hval));
/freebsd-9.3-release/contrib/binutils/bfd/
H A Dxcofflink.c5159 bfd_vma hval;
5194 hval = 0;
5200 hval = h->root.u.def.value;
5205 hval = 0;
5212 + hval);
5153 bfd_vma hval; local

Completed in 292 milliseconds