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

/freebsd-10-stable/sys/kern/
H A Dsubr_hash.c48 hashinit_flags(int elements, struct malloc_type *type, u_long *hashmask, argument
74 *hashmask = hashsize - 1;
83 hashinit(int elements, struct malloc_type *type, u_long *hashmask) argument
86 return (hashinit_flags(elements, type, hashmask, HASH_WAITOK));
90 hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask) argument
95 for (hp = hashtbl; hp <= &hashtbl[hashmask]; hp++)
/freebsd-10-stable/sys/netinet/
H A Dtcp_hostcache.h73 u_int hashmask; member in struct:tcp_hostcache
H A Dtcp_syncache.h120 u_int hashmask; member in struct:tcp_syncache
H A Dtcp_hostcache.c162 V_tcp_hostcache.hashmask)
170 V_tcp_hostcache.hashmask)
196 V_tcp_hostcache.hashmask = V_tcp_hostcache.hashsize - 1;
H A Dtcp_syncache.c255 V_tcp_syncache.hashmask = V_tcp_syncache.hashsize - 1;
509 SYNCACHE_HASH6(inc, V_tcp_syncache.hashmask)];
523 SYNCACHE_HASH(inc, V_tcp_syncache.hashmask)];
/freebsd-10-stable/contrib/ofed/management/libibcommon/src/
H A Dhash.c46 #define hashmask(n) (hashsize(n)-1) macro
101 h = (h & hashmask(10));
/freebsd-10-stable/sys/sys/
H A Dsystm.h181 void *hashinit(int count, struct malloc_type *type, u_long *hashmask);
183 u_long *hashmask, int flags);
/freebsd-10-stable/sys/dev/drm2/i915/
H A Di915_gem_execbuffer.c215 u_long hashmask; member in struct:eb_objects
225 eb->buckets = hashinit(size, DRM_I915_GEM, &eb->hashmask);
234 for (i = 0; i <= eb->hashmask; i++)
242 LIST_INSERT_HEAD(&eb->buckets[obj->exec_handle & eb->hashmask],
251 LIST_FOREACH(obj, &eb->buckets[handle & eb->hashmask], exec_node) {
/freebsd-10-stable/contrib/unbound/util/storage/
H A Dlookup3.c107 #define hashmask(n) (hashsize(n)-1) macro
311 h = (h & hashmask(10));

Completed in 94 milliseconds