Searched refs:hashmask (Results 1 - 14 of 14) sorted by relevance
/openbsd-current/usr.sbin/dvmrpd/ |
H A D | neighbor.c | 46 u_int32_t hashmask; member in struct:nbr_table 50 &nbrtable.hashtbl[(x) & nbrtable.hashmask] 183 nbrtable.hashmask = hs - 1;
|
/openbsd-current/usr.sbin/ripd/ |
H A D | neighbor.c | 52 u_int32_t hashmask; member in struct:nbr_table 56 &nbrtable.hashtbl[(x) & nbrtable.hashmask] 167 nbrtable.hashmask = hs - 1;
|
/openbsd-current/libexec/tradcpp/ |
H A D | macro.c | 75 static unsigned hashmask; variable 317 hashmask = 0x3; 352 bucket = macroarrayarray_get(¯os, hash & hashmask); 398 assert(hashmask == numbuckets - 1); 399 newmask = (hashmask << 1) | 1U; 400 tossbit = newmask & ~hashmask; 401 hashmask = newmask; 449 bucket = macroarrayarray_get(¯os, hash & hashmask); 452 macroarrayarray_set(¯os, hash & hashmask, bucket);
|
/openbsd-current/sys/kern/ |
H A D | kern_subr.c | 219 hashinit(int elements, int type, int flags, u_long *hashmask) argument 236 *hashmask = hashsize - 1;
|
H A D | kern_event.c | 1700 u_long hashmask; local 1706 hash = hashinit(KN_HASHSIZE, M_KEVENT, M_WAITOK, &hashmask); 1710 kq->kq_knhashmask = hashmask;
|
/openbsd-current/usr.sbin/ospfd/ |
H A D | lsupdate.c | 534 u_int32_t hashmask; member in struct:lsa_cache 556 lsacache.hashmask = hs - 1; 591 head = &lsacache.hashtbl[lsa_hash_hdr(&ref->hdr) & lsacache.hashmask]; 629 head = &lsacache.hashtbl[lsa_hash_hdr(lsa_hdr) & lsacache.hashmask];
|
H A D | neighbor.c | 47 u_int32_t hashmask; member in struct:nbr_table 51 &nbrtable.hashtbl[(x) & nbrtable.hashmask] 253 nbrtable.hashmask = hs - 1;
|
H A D | rde.c | 906 u_int32_t hashmask; member in struct:nbr_table 910 &rdenbrtable.hashtbl[(x) & rdenbrtable.hashmask] 927 rdenbrtable.hashmask = hs - 1; 1007 for (i = 0; i <= rdenbrtable.hashmask; i++) {
|
/openbsd-current/usr.sbin/ospf6d/ |
H A D | lsupdate.c | 545 u_int32_t hashmask; member in struct:lsa_cache 567 lsacache.hashmask = hs - 1; 602 head = &lsacache.hashtbl[lsa_hash_hdr(&ref->hdr) & lsacache.hashmask]; 640 head = &lsacache.hashtbl[lsa_hash_hdr(lsa_hdr) & lsacache.hashmask];
|
H A D | neighbor.c | 47 u_int32_t hashmask; member in struct:nbr_table 51 &nbrtable.hashtbl[(x) & nbrtable.hashmask] 254 nbrtable.hashmask = hs - 1;
|
H A D | rde.c | 963 u_int32_t hashmask; member in struct:nbr_table 967 &rdenbrtable.hashtbl[(x) & rdenbrtable.hashmask] 984 rdenbrtable.hashmask = hs - 1;
|
/openbsd-current/usr.sbin/unbound/util/storage/ |
H A D | lookup3.c | 117 #define hashmask(n) (hashsize(n)-1) macro 332 h = (h & hashmask(10));
|
/openbsd-current/sbin/unwind/libunbound/util/storage/ |
H A D | lookup3.c | 117 #define hashmask(n) (hashsize(n)-1) macro 332 h = (h & hashmask(10));
|
/openbsd-current/usr.sbin/nsd/ |
H A D | lookup3.c | 108 #define hashmask(n) (hashsize(n)-1) macro 314 h = (h & hashmask(10));
|
Completed in 178 milliseconds