Searched refs:hashmask (Results 1 - 9 of 9) sorted by relevance
/freebsd-10-stable/sys/kern/ |
H A D | subr_hash.c | 48 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 D | tcp_hostcache.h | 73 u_int hashmask; member in struct:tcp_hostcache
|
H A D | tcp_syncache.h | 120 u_int hashmask; member in struct:tcp_syncache
|
H A D | tcp_hostcache.c | 162 V_tcp_hostcache.hashmask) 170 V_tcp_hostcache.hashmask) 196 V_tcp_hostcache.hashmask = V_tcp_hostcache.hashsize - 1;
|
H A D | tcp_syncache.c | 255 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 D | hash.c | 46 #define hashmask(n) (hashsize(n)-1) macro 101 h = (h & hashmask(10));
|
/freebsd-10-stable/sys/sys/ |
H A D | systm.h | 181 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 D | i915_gem_execbuffer.c | 215 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 D | lookup3.c | 107 #define hashmask(n) (hashsize(n)-1) macro 311 h = (h & hashmask(10));
|
Completed in 94 milliseconds