Skip to content
Snippets Groups Projects
Commit e806b0a4 authored by Bobi Jam's avatar Bobi Jam
Browse files

Branch HEAD

b=16205

add doxygen doc for new functions.
parent ba20aa5f
No related branches found
No related tags found
No related merge requests found
......@@ -225,6 +225,16 @@ static int osc_rd_create_count(char *page, char **start, off_t off, int count,
obd->u.cli.cl_oscc.oscc_grow_count);
}
/**
* Set OSC creator's osc_creator::oscc_grow_count
*
* \param file proc file
* \param buffer buffer containing the value
* \param count buffer size
* \param data obd device
*
* \retval \a count
*/
static int osc_wr_create_count(struct file *file, const char *buffer,
unsigned long count, void *data)
{
......@@ -260,6 +270,20 @@ static int osc_wr_create_count(struct file *file, const char *buffer,
return count;
}
/**
* Read OSC creator's osc_creator::oscc_max_grow_count
*
* \param page buffer to hold the returning string
* \param start
* \param off
* \param count
* \param eof
* proc read function parameters, please refer to kernel
* code fs/proc/generic.c proc_file_read()
* \param data obd device
*
* \retval number of characters printed.
*/
static int osc_rd_max_create_count(char *page, char **start, off_t off,
int count, int *eof, void *data)
{
......@@ -272,6 +296,16 @@ static int osc_rd_max_create_count(char *page, char **start, off_t off,
obd->u.cli.cl_oscc.oscc_max_grow_count);
}
/**
* Set OSC creator's osc_creator::oscc_max_grow_count
*
* \param file proc file
* \param buffer buffer containing the value
* \param count buffer size
* \param data obd device
*
* \retval \a count
*/
static int osc_wr_max_create_count(struct file *file, const char *buffer,
unsigned long count, void *data)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment