Go to the source code of this file.
Functions | |
int | qsup_init_module (void) |
Initialize the module - Register the character device. | |
qos_rv | qsup_dev_register (void) |
Device registration should be done when kernel module is already able to accept ioctl requests. | |
void | qsup_cleanup_module (void) |
Cleanup - unregister the appropriate file from /proc. | |
qos_rv | qsup_dev_unregister (void) |
Unregister the device. |
void qsup_cleanup_module | ( | void | ) |
Cleanup - unregister the appropriate file from /proc.
Definition at line 176 of file qsup_mod.c.
References qos_log_err, QOS_OK, qos_strerror(), qsup_cleanup(), and qsup_dev_unregister().
qos_rv qsup_dev_register | ( | void | ) |
Device registration should be done when kernel module is already able to accept ioctl requests.
Definition at line 124 of file qsup_mod.c.
References qos_dev_info_t::dev_num, qos_dev_register(), qos_log_err, qos_log_info, QOS_OK, QSUP_DEV_NAME, qsup_Fops, and QSUP_MAJOR_NUM.
Referenced by qres_init_module(), and qsup_init_module().
qos_rv qsup_dev_unregister | ( | void | ) |
Unregister the device.
Definition at line 167 of file qsup_mod.c.
References qos_dev_unregister().
Referenced by qres_cleanup_module(), and qsup_cleanup_module().
int qsup_init_module | ( | void | ) |
Initialize the module - Register the character device.
Definition at line 145 of file qsup_mod.c.
References qos_log_crit, qos_log_debug, QOS_OK, qos_strerror(), qsup_dev_register(), and qsup_init_ks().