Searched refs:hashmask (Results 1 - 8 of 8) sorted by relevance

/freebsd-11.0-release/sys/kern/
H A Dsubr_hash.c55 hashinit_flags(int elements, struct malloc_type *type, u_long *hashmask, argument
76 *hashmask = hashsize - 1;
85 hashinit(int elements, struct malloc_type *type, u_long *hashmask) argument
88 return (hashinit_flags(elements, type, hashmask, HASH_WAITOK));
92 hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask) argument
97 for (hp = hashtbl; hp <= &hashtbl[hashmask]; hp++)
/freebsd-11.0-release/sys/netinet/
H A Dtcp_hostcache.h73 u_int hashmask; member in struct:tcp_hostcache
H A Dtcp_syncache.h118 u_int hashmask; member in struct:tcp_syncache
H A Dtcp_hostcache.c167 V_tcp_hostcache.hashmask)
175 V_tcp_hostcache.hashmask)
201 V_tcp_hostcache.hashmask = V_tcp_hostcache.hashsize - 1;
H A Dtcp_syncache.c236 V_tcp_syncache.hashmask = V_tcp_syncache.hashsize - 1;
490 V_tcp_syncache.hash_secret) & V_tcp_syncache.hashmask;
/freebsd-11.0-release/contrib/ofed/management/libibcommon/src/
H A Dhash.c46 #define hashmask(n) (hashsize(n)-1) macro
101 h = (h & hashmask(10));
/freebsd-11.0-release/sys/sys/
H A Dsystm.h185 void *hashinit(int count, struct malloc_type *type, u_long *hashmask);
187 u_long *hashmask, int flags);
/freebsd-11.0-release/contrib/unbound/util/storage/
H A Dlookup3.c107 #define hashmask(n) (hashsize(n)-1) macro
311 h = (h & hashmask(10));

Completed in 66 milliseconds