|
Thread Synch AOSV 2020
1.2
LKM for exchanging messages between threads
|
Setup the required sysfs interfaces for the module. More...
#include <linux/fs.h>#include <linux/kobject.h>#include <uapi/linux/stat.h>#include <linux/kernel.h>#include <linux/rwsem.h>#include <linux/uaccess.h>#include <linux/cred.h>#include "types.h"

Go to the source code of this file.
Macros | |
| #define | ATTR_BUFF_SIZE 64 |
Functions | |
| int | initSysFs (group_data *grp_data) |
| Initialize sysfs attributes. More... | |
| void | releaseSysFs (group_sysfs_t *sysfs) |
| Deallocate all sysfs attributes. More... | |
Setup the required sysfs interfaces for the module.
| int initSysFs | ( | group_data * | grp_data | ) |
Initialize sysfs attributes.
| [in] | grp_data | Pointer to the main structure of a group |
| void releaseSysFs | ( | group_sysfs_t * | sysfs | ) |
Deallocate all sysfs attributes.
| [in] | sysfs | Pointer to the 'group_sysfs_t' structure of a group |
1.8.17