Searched refs:hashmask (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/kern/ |
H A D | subr_hash.c | 52 hashinit_flags(int elements, struct malloc_type *type, u_long *hashmask, in hashinit_flags() argument 72 *hashmask = hashsize - 1; in hashinit_flags() 81 hashinit(int elements, struct malloc_type *type, u_long *hashmask) in hashinit() argument 84 return (hashinit_flags(elements, type, hashmask, HASH_WAITOK)); in hashinit() 88 hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask) in hashdestroy() argument 93 for (hp = hashtbl; hp <= &hashtbl[hashmask]; hp++) in hashdestroy()
|
H A D | vfs_cache.c | 2711 nchinittbl(u_long elements, u_long *hashmask) in nchinittbl() argument 2721 *hashmask = hashsize - 1; in nchinittbl()
|
/freebsd/sys/netinet/ |
H A D | tcp_hostcache.c | 128 u_int hashmask; member 216 V_tcp_hostcache.hashsalt) & V_tcp_hostcache.hashmask) \ 219 V_tcp_hostcache.hashsalt) & V_tcp_hostcache.hashmask) 246 V_tcp_hostcache.hashmask = V_tcp_hostcache.hashsize - 1; in tcp_hc_init()
|
H A D | tcp_syncache.h | 125 u_int hashmask; member
|
H A D | tcp_syncache.c | 269 V_tcp_syncache.hashmask = V_tcp_syncache.hashsize - 1; in syncache_init() 578 V_tcp_syncache.hash_secret) & V_tcp_syncache.hashmask; in syncache_hashbucket()
|
/freebsd/sys/fs/unionfs/ |
H A D | union_subr.c | 305 u_long hashmask; in unionfs_nodeget() local 351 &hashmask); in unionfs_nodeget() 352 KASSERT(hashmask == UNIONFSHASHMASK, in unionfs_nodeget() 353 ("unexpected unionfs hash mask 0x%lx", hashmask)); in unionfs_nodeget()
|
/freebsd/sys/sys/ |
H A D | systm.h | 151 void *hashinit(int count, struct malloc_type *type, u_long *hashmask); 153 u_long *hashmask, int flags);
|
/freebsd/contrib/unbound/util/storage/ |
H A D | lookup3.c | 117 #define hashmask(n) (hashsize(n)-1) macro
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_hw.c | 9625 hashmask_to_filtermask(uint64_t hashmask, uint16_t filter_mode) in hashmask_to_filtermask() argument 9637 if ((hashmask & mask) == mask) in hashmask_to_filtermask() 9639 hashmask >>= width[i]; in hashmask_to_filtermask()
|