Searched refs:HASH_QUEUES (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/lib/libthr/thread/
H A Dthr_list.c73 #define HASH_QUEUES 128 macro
74 static struct thread_hash_head thr_hashtable[HASH_QUEUES];
75 #define THREAD_HASH(thrd) (((unsigned long)thrd >> 8) % HASH_QUEUES)
92 for (i = 0; i < HASH_QUEUES; ++i)
/freebsd-12-stable/lib/librt/
H A Dsigev_thread.c50 #define HASH_QUEUES 17 macro
51 #define HASH(t, id) ((((id) << 3) + (t)) % HASH_QUEUES)
53 static struct sigev_list_head sigev_hash[HASH_QUEUES];
123 for (i = 0; i < HASH_QUEUES; ++i)

Completed in 112 milliseconds