Searched refs:NTP_HASH_SIZE (Results 1 – 7 of 7) sorted by relevance
492 extern struct peer *peer_hash[NTP_HASH_SIZE]; /* peer hash table */493 extern int peer_hash_count[NTP_HASH_SIZE]; /* count of in each bucket */494 extern struct peer *assoc_hash[NTP_HASH_SIZE]; /* association ID hash table */495 extern int assoc_hash_count[NTP_HASH_SIZE];/* count of in each bucket */
705 #define NTP_HASH_SIZE 128 macro706 #define NTP_HASH_MASK (NTP_HASH_SIZE-1)
548 u_char hashcount[NTP_HASH_SIZE];
82 struct peer *peer_hash[NTP_HASH_SIZE]; /* peer hash table */83 int peer_hash_count[NTP_HASH_SIZE]; /* peers in each bucket */84 struct peer *assoc_hash[NTP_HASH_SIZE]; /* association ID hash table */85 int assoc_hash_count[NTP_HASH_SIZE];/* peers in each bucket */
1185 for (i = 0; i < NTP_HASH_SIZE; i++) in mem_stats()
1210 for (i = 0; i < NTP_HASH_SIZE; i++) { in memstats()1212 if ((i % 8) == 7 && i != (NTP_HASH_SIZE-1)) in memstats()
2611 cb = NTP_HASH_SIZE * sizeof(*hash_table); in collect_mru_list()