Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/gss/gssd/
H A Dgssd_proc.c69 static int max_contexts; variable
137 max_contexts = FDCACHE_DEFAULT; in gssd_setup()
157 max_contexts = rl.rlim_cur * FDCACHE_PERCENTAGE; in gssd_setup()
162 malloc(sizeof (struct gssd_ctx_slot) * max_contexts); in gssd_setup()
168 (sizeof (struct gssd_ctx_slot) * max_contexts)); in gssd_setup()
172 for (i = 1; i < max_contexts; i++) { in gssd_setup()
181 gssd_ctx_slot_tbl[max_contexts - 1].lru_next = &gssd_ctx_slot_tbl[0]; in gssd_setup()
182 gssd_ctx_slot_tbl[0].lru_prev = &gssd_ctx_slot_tbl[max_contexts - 1]; in gssd_setup()
263 if (i < 0 || i >= max_contexts) in gssd_handle_to_slot()