usr/src/uts/common/sys/modctl.h
changeset 1218 da9792769ae8
parent 878 964ddd439490
child 1414 b4126407ac5b
equal deleted inserted replaced
1217:f95ffdc997b7 1218:da9792769ae8
    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);