.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FILL_READ_BUFFER" "" "06 October 2005" "" ""
.SH NAME
fill_read_buffer \- allocate and fill buffer from object.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int fill_read_buffer (struct file * \fIfile\fB, struct sysfs_buffer * \fIbuffer\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIfile\fB\fR
file pointer.
.TP
\fB\fIbuffer\fB\fR
data buffer for file.
.SH "DESCRIPTION"
.PP
Allocate \fIbuffer\fR->page, if it hasn't been already, then call the
kobject's \fBshow\fR method to fill the buffer with this attribute's
data.
This is called only once, on the file's first read.