HomeSort by: relevance | last modified time | path
    Searched defs:hashsize (Results 1 - 8 of 8) sorted by relevancy

  /src/sys/coda/
coda_io.h 59 struct coda_resize { int hashsize, heapsize; }; member in struct:coda_resize
  /src/sys/opencrypto/
xform.h 34 u_int16_t hashsize; member in struct:auth_hash
  /src/sys/kern/
subr_hash.c 93 u_long hashsize, i; local in function:hashinit
103 hashsize = 1UL << (ilog2(elements - 1) + 1);
106 p = kmem_alloc(hashsize * esize, waitok ? KM_SLEEP : KM_NOSLEEP);
113 for (i = 0; i < hashsize; i++)
118 for (i = 0; i < hashsize; i++)
123 for (i = 0; i < hashsize; i++)
128 for (i = 0; i < hashsize; i++)
132 *hashmask = hashsize - 1;
vfs_wapbl.c 2778 unsigned long i, hashsize; local in function:wapbl_blkhash_init
2780 for (hashsize = 1; hashsize < size; hashsize <<= 1)
2782 wr->wr_blkhash = wapbl_alloc(hashsize *
2784 for (i = 0; i < hashsize; i++)
2786 wr->wr_blkhashmask = hashsize - 1;
  /src/sys/net/npf/
lpm.c 86 unsigned hashsize; member in struct:__anonb46cf3be0108
114 if (!hmap->hashsize) {
118 for (unsigned i = 0; i < hmap->hashsize; i++) {
133 kmem_free(hmap->bucket, hmap->hashsize * sizeof(lpm_ent_t *));
135 hmap->hashsize = 0;
173 unsigned hashsize; local in function:hashmap_rehash
175 for (hashsize = 1; hashsize < size; hashsize <<= 1) {
178 bucket = kmem_zalloc(hashsize * sizeof(lpm_ent_t *), flags)
    [all...]
  /src/sys/uvm/
uvm_pdpolicy_clockpro.c 361 static size_t hashsize = 1; variable in typeref:typename:size_t
430 oldsz = hashsize;
432 hashsize = sz;
445 return &buckets[hash % hashsize];
  /src/sys/dev/ic/
tulip.c 2553 uint32_t hash, hashsize; local in function:tlp_filter_setup
2576 hashsize = TULIP_PNICII_HASHSIZE;
2580 hashsize = TULIP_MCHASHSIZE;
2687 hash = tlp_mchash(enm->enm_addrlo, hashsize);
2695 hash = tlp_mchash(etherbroadcastaddr, hashsize);
2701 hash = tlp_mchash(enaddr, hashsize);
  /src/usr.bin/vmstat/
vmstat.c 1907 int hashsize; /* nlist index for hash size */ member in struct:kernel_hash
1943 u_long hashsize, i; local in function:dohashstat
1957 if (hashnl[curhash->hashsize].n_value == 0 ||
1961 hashnl[curhash->hashsize].n_name + 1,
1969 if (strcmp(hashnl[curhash->hashsize].n_name + 1,
1971 hashnl[curhash->hashsize].n_value != 0 &&
1989 if (hashnl[curhash->hashsize].n_value == 0 ||
1993 strcmp(hashnl[curhash->hashsize].n_name + 1, hashname))
2009 deref_kptr((void *)hashnl[curhash->hashsize].n_value,
2010 &hashsize, sizeof(hashsize)
    [all...]

Completed in 19 milliseconds