equal
deleted
inserted
replaced
18 * information: Portions Copyright [yyyy] [name of copyright owner] |
18 * information: Portions Copyright [yyyy] [name of copyright owner] |
19 * |
19 * |
20 * CDDL HEADER END |
20 * CDDL HEADER END |
21 */ |
21 */ |
22 /* |
22 /* |
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
24 * Use is subject to license terms. |
24 * Use is subject to license terms. |
25 */ |
25 */ |
26 |
26 |
27 #ifndef _SYS_MODCTL_H |
27 #ifndef _SYS_MODCTL_H |
28 #define _SYS_MODCTL_H |
28 #define _SYS_MODCTL_H |
486 extern int modloadonly(char *, char *); |
486 extern int modloadonly(char *, char *); |
487 extern int modunload(int); |
487 extern int modunload(int); |
488 extern int mod_hold_stub(struct mod_stub_info *); |
488 extern int mod_hold_stub(struct mod_stub_info *); |
489 extern void modunload_disable(void); |
489 extern void modunload_disable(void); |
490 extern void modunload_enable(void); |
490 extern void modunload_enable(void); |
|
491 extern void modunload_begin(void); |
|
492 extern void modunload_end(void); |
491 extern int mod_remove_by_name(char *); |
493 extern int mod_remove_by_name(char *); |
492 extern int mod_sysvar(const char *, const char *, u_longlong_t *); |
494 extern int mod_sysvar(const char *, const char *, u_longlong_t *); |
493 extern int mod_sysctl(int, void *); |
495 extern int mod_sysctl(int, void *); |
494 struct sysparam; |
496 struct sysparam; |
495 extern int mod_hold_by_modctl(struct modctl *, int); |
497 extern int mod_hold_by_modctl(struct modctl *, int); |