Searched refs:MAXHASH (Results 1 – 6 of 6) sorted by relevance
48 mutex_t locknode[MAXHASH];113 n %= MAXHASH; in hash()131 for (iiter = 0; iiter < MAXHASH; iiter++) { in init_locks_mem()149 if ((ebusy_cnt > 0) && (ebusy_cnt != MAXHASH)) { in init_locks_mem()
52 #define MAXHASH 1024 /* must be a power of 2 */ macro79 static struct hostdata4 *h_table4[MAXHASH];80 static struct hostdata6 *h_table6[MAXHASH];82 #define iphash(e) ((e) & (MAXHASH-1))
50 #define MAXHASH 1024 /* must be a power of 2 */ macro79 static struct hostdata4 *h_table4[MAXHASH];80 static struct hostdata6 *h_table6[MAXHASH];82 #define iphash(e) ((e) & (MAXHASH-1))401 for (i = 0; i < MAXHASH; i++) { in lgetipnodebyname()418 for (i = 0; i < MAXHASH; i++) { in lgetipnodebyname()
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()
67 static map_id_elt_t *map_id_list[MAXHASH];564 for (i = 0; i < MAXHASH; i++) { in dump_map_id_list()600 for (i = 0; i < MAXHASH; i++) { in free_map_id_list()639 for (i = 0; i < MAXHASH; i++) { in map_id_list_init()721 if (max_map > MAXHASH) { in map_id_list_init()
87 #define MAXHASH 1009 macro