#include "qos_kernel_dep.h"
#include <linux/kernel.h>
#include <linux/version.h>
#include <linux/types.h>
#include <linux/kdev_t.h>
#include <linux/fs.h>
#include <linux/aquosa/qos_debug.h>
#include <linux/cdev.h>
#include <linux/kobject.h>
#include "qos_debug.h"
#include <linux/module.h>
Go to the source code of this file.
Functions | |
qos_rv | qos_dev_register (qos_dev_info_t *dev_info, char *dev_name, int def_major, struct file_operations *Fops) |
kernel-dependent registration of a virtual device | |
qos_rv | qos_dev_unregister (qos_dev_info_t *dev_info) |
kernel-dependent registration of a virtual device | |
EXPORT_SYMBOL_GPL (qos_dev_register) | |
EXPORT_SYMBOL_GPL (qos_dev_unregister) |
EXPORT_SYMBOL_GPL | ( | qos_dev_unregister | ) |
EXPORT_SYMBOL_GPL | ( | qos_dev_register | ) |
qos_rv qos_dev_register | ( | qos_dev_info_t * | dev_info, | |
char * | dev_name, | |||
int | def_major, | |||
struct file_operations * | Fops | |||
) |
kernel-dependent registration of a virtual device
Definition at line 53 of file qos_kernel_dep.c.
References qos_dev_info_t::cdev, qos_dev_info_t::dev_name, qos_dev_info_t::dev_num, QOS_E_GENERIC, and QOS_OK.
Referenced by qres_init_module(), and qsup_dev_register().
qos_rv qos_dev_unregister | ( | qos_dev_info_t * | dev_info | ) |
kernel-dependent registration of a virtual device
Definition at line 81 of file qos_kernel_dep.c.
References qos_dev_info_t::cdev, qos_dev_info_t::dev_num, and QOS_OK.
Referenced by qres_cleanup_module(), and qsup_dev_unregister().