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

  /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;
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/nsd/dist/
lookup3.c 108 #define hashmask(n) (hashsize(n)-1) macro
314 h = (h & hashmask(10));
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));
lookup3.c 117 #define hashmask(n) (hashsize(n)-1) macro
342 h = (h & hashmask(10));
  /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;
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/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;
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/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);
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);

Completed in 54 milliseconds