Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/ypcmd/shared/
H A Dlockmap.c48 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()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_ipaddr.c52 #define MAXHASH 1024 /* must be a power of 2 */ macro
79 static struct hostdata4 *h_table4[MAXHASH];
80 static struct hostdata6 *h_table6[MAXHASH];
82 #define iphash(e) ((e) & (MAXHASH-1))
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c50 #define MAXHASH 1024 /* must be a power of 2 */ macro
79 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()
/illumos-gate/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.c67 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()
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypsym.h87 #define MAXHASH 1009 macro