socklist
struct socklist *slp;
slp = (struct socklist *)(uintptr_t)sym.st_value;
struct socklist socklist;
ksp->ks_lock = &socklist.sl_lock;
for (so = socklist.sl_list; so != NULL; so = SOTOTPI(so)->sti_next_so) {
for (so = socklist.sl_list; so != NULL; so = SOTOTPI(so)->sti_next_so) {
mutex_init(&socklist.sl_lock, NULL, MUTEX_DEFAULT, NULL);
mutex_enter(&socklist.sl_lock);
sti->sti_next_so = socklist.sl_list;
socklist.sl_list = so;
mutex_exit(&socklist.sl_lock);
mutex_enter(&socklist.sl_lock);
socklist.sl_list = sti->sti_next_so;
mutex_exit(&socklist.sl_lock);
extern struct socklist socklist;