#include <fsc_device.h>
Public Attributes | |
char | data [MAX_BUFFER_LENGTH] |
int | length |
wait_queue_head_t | deamon_queue |
wait_queue_head_t | kernel_queue |
Definition at line 38 of file fsc_device.h.
char buffer::data[MAX_BUFFER_LENGTH] |
Buffer data.
Definition at line 39 of file fsc_device.h.
Referenced by __fsc_query__(), fsc_read(), fsc_read_procmem(), and fsc_write().
int buffer::length |
Buffer data content lenght, NOT buffer size.
Definition at line 40 of file fsc_device.h.
Referenced by __fsc_query__(), fsc_init(), fsc_read(), fsc_read_procmem(), fsc_waitforempty_output(), fsc_waitforfull_input(), and fsc_write().
wait_queue_head_t buffer::deamon_queue |
Wait queue for user space process, usually deamon.
Definition at line 41 of file fsc_device.h.
Referenced by __fsc_query__(), fsc_init(), fsc_read(), and fsc_write().
wait_queue_head_t buffer::kernel_queue |
Wait queue for kernel thread, usually char device.
Definition at line 42 of file fsc_device.h.
Referenced by fsc_init(), fsc_read(), fsc_waitforempty_output(), fsc_waitforfull_input(), and fsc_write().