Home
last modified time | relevance | path

Searched refs:MAXHASH (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/cmd/ypcmd/shared/
H A Dlockmap.c50 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()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c46 #define MAXHASH 1024 /* must be a power of 2 */ macro
75 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()
/titanic_50/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_ipaddr.c54 #define MAXHASH 1024 /* must be a power of 2 */ macro
81 static struct hostdata4 *h_table4[MAXHASH];
82 static struct hostdata6 *h_table6[MAXHASH];
84 #define iphash(e) ((e) & (MAXHASH-1))
/titanic_50/usr/src/lib/libnisdb/yptol/
H A Dlock_update.c55 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()
H A Dmap_ctrl.c69 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()
/titanic_50/usr/src/cmd/ypcmd/
H A Dypsym.h89 #define MAXHASH 1009 macro