|
Session Module
|
This is the structure into the rb_tree that contains all the open files with their counter. More...
#include <session_module.h>
Data Fields | |
| char | key [MAX_PATH_SIZE] |
| struct rw_semaphore * | rw_sem |
| atomic_t | counter |
This is the structure into the rb_tree that contains all the open files with their counter.
| atomic_t counter |
the field that stores an atomic value indicating how many times the file is opened with sessions.
| char key[MAX_PATH_SIZE] |
the key on which the search method will find the needed node, it's the absolute path of the file
| struct rw_semaphore* rw_sem |
the semaphore that protects the file during the read and the write into ioctl and flush operations.
1.8.11