buffer Struct Reference
[MySQL FS Char Device]

#include <fsc_device.h>

List of all members.

Public Attributes

char data [MAX_BUFFER_LENGTH]
int length
wait_queue_head_t deamon_queue
wait_queue_head_t kernel_queue


Detailed Description

Char device buffer structure. Used both for input and output buffer.

Definition at line 38 of file fsc_device.h.


Member Data Documentation

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().


The documentation for this struct was generated from the following file:
Generated on Mon May 28 13:33:08 2007 for MYSQLFS by  doxygen 1.5.0