Searched refs:MAXHASH (Results 1 – 6 of 6) sorted by relevance
50 mutex_t locknode[MAXHASH];115 n %= MAXHASH; in hash()133 for (iiter = 0; iiter < MAXHASH; iiter++) { in init_locks_mem()151 if ((ebusy_cnt > 0) && (ebusy_cnt != MAXHASH)) { in init_locks_mem()
46 #define MAXHASH 1024 /* must be a power of 2 */ macro75 static struct hostdata4 *h_table4[MAXHASH];76 static struct hostdata6 *h_table6[MAXHASH];78 #define iphash(e) ((e) & (MAXHASH-1))377 for (i = 0; i < MAXHASH; i++) { in lgetipnodebyname()394 for (i = 0; i < MAXHASH; i++) { in lgetipnodebyname()
54 #define MAXHASH 1024 /* must be a power of 2 */ macro81 static struct hostdata4 *h_table4[MAXHASH];82 static struct hostdata6 *h_table6[MAXHASH];84 #define iphash(e) ((e) & (MAXHASH-1))
55 mutex_t updatenode[MAXHASH];77 for (iiter = 0; iiter < MAXHASH; iiter++) { in init_update_locks_mem()95 if ((ebusy_cnt > 0) && (ebusy_cnt != MAXHASH)) { in init_update_locks_mem()
69 static map_id_elt_t *map_id_list[MAXHASH];566 for (i = 0; i < MAXHASH; i++) { in dump_map_id_list()602 for (i = 0; i < MAXHASH; i++) { in free_map_id_list()641 for (i = 0; i < MAXHASH; i++) { in map_id_list_init()723 if (max_map > MAXHASH) { in map_id_list_init()
89 #define MAXHASH 1009 macro