HomeSort by: relevance | last modified time | path
    Searched refs:hashmask (Results 1 - 7 of 7) sorted by relevancy

  /src/sys/kern/
subr_hash.c 86 * Return a pointer to the allocated space and set *hashmask to a pattern
90 hashinit(u_int elements, enum hashtype htype, bool waitok, u_long *hashmask)
135 *hashmask = hashsize - 1;
143 hashdone(void *hashtbl, enum hashtype htype, u_long hashmask)
146 kmem_free(hashtbl, esize * (hashmask + 1));
  /src/sbin/fsck_lfs/
bufcache.c 64 int hashmask = (HASH_MAX - 1); variable
78 return (int)((unsigned long) vp + lbn) & hashmask;
90 hashmask = hashmax - 1;
116 hashmask = newhashmax - 1;
  /src/external/bsd/tradcpp/dist/
macro.c 75 static unsigned hashmask; variable
317 hashmask = 0x3;
352 bucket = macroarrayarray_get(&macros, hash & hashmask);
398 assert(hashmask == numbuckets - 1);
399 newmask = (hashmask << 1) | 1U;
400 tossbit = newmask & ~hashmask;
401 hashmask = newmask;
449 bucket = macroarrayarray_get(&macros, hash & hashmask);
452 macroarrayarray_set(&macros, hash & hashmask, bucket);
  /src/external/mpl/bind/dist/lib/isc/
hashmap.c 81 uint32_t hashmask; member in struct:hashmap_table
178 .hashmask = HASHSIZE(bits) - 1,
268 pos = (hash + psl) & hashmap->tables[idx].hashmask;
323 pos = (hash + psl) & hashmap->tables[idx].hashmask;
328 pos = (pos + 1) & hashmap->tables[idx].hashmask;
522 pos = (hash + psl) & hashmap->tables[idx].hashmask;
  /src/sys/uvm/
uvm_bio.c 81 ubc_object.hashmask)
115 u_long hashmask; /* mask for hashtable */ member in struct:ubc_object
209 &ubc_object.hashmask);
210 for (int i = 0; i <= ubc_object.hashmask; i++) {
1125 hs->hash_size = ubc_object.hashmask + 1;
  /src/external/bsd/nsd/dist/
lookup3.c 108 #define hashmask(n) (hashsize(n)-1) macro
314 h = (h & hashmask(10));
  /src/external/bsd/unbound/dist/util/storage/
lookup3.c 117 #define hashmask(n) (hashsize(n)-1) macro
342 h = (h & hashmask(10));

Completed in 26 milliseconds