equal
deleted
inserted
replaced
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
18 * |
18 * |
19 * CDDL HEADER END |
19 * CDDL HEADER END |
20 */ |
20 */ |
21 /* |
21 /* |
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. |
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved. |
23 * Use is subject to license terms. |
23 * Use is subject to license terms. |
24 */ |
24 */ |
25 /* Copyright (c) 1990 Mentat Inc. */ |
25 /* Copyright (c) 1990 Mentat Inc. */ |
26 |
26 |
27 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ |
27 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ |
157 * plugins loadup fails, but rpcmod was successfully installed the |
157 * plugins loadup fails, but rpcmod was successfully installed the |
158 * counters still get initialized. |
158 * counters still get initialized. |
159 */ |
159 */ |
160 rw_init(&rdma_lock, NULL, RW_DEFAULT, NULL); |
160 rw_init(&rdma_lock, NULL, RW_DEFAULT, NULL); |
161 mutex_init(&rdma_modload_lock, NULL, MUTEX_DEFAULT, NULL); |
161 mutex_init(&rdma_modload_lock, NULL, MUTEX_DEFAULT, NULL); |
|
162 |
|
163 cv_init(&rdma_wait.svc_cv, NULL, CV_DEFAULT, NULL); |
|
164 mutex_init(&rdma_wait.svc_lock, NULL, MUTEX_DEFAULT, NULL); |
|
165 |
162 mt_kstat_init(); |
166 mt_kstat_init(); |
163 |
167 |
164 /* |
168 /* |
165 * Get our identification into ldi. This is used for loading |
169 * Get our identification into ldi. This is used for loading |
166 * other modules, e.g. rpcib. |
170 * other modules, e.g. rpcib. |