Lines Matching refs:file
8 * you may not use this file except in compliance with the License.
46 * struct file instance instead of a file descriptor. It is functionally
55 * filep - Instance of struct file to use with the write
66 ssize_t file_write(struct file *filep, const void *buf, size_t nbytes)
77 /* Was this file opened for write access? */
113 * write() writes up to nytes bytes to the file referenced by the file
117 * fd - file descriptor (or socket descriptor) to write to
130 * fd is not a valid file descriptor or is not open for writing.
134 * An attempt was made to write a file that exceeds the implementation
135 * defined maximum file size or the process' file size limit, or
141 * the file was opened with the O_DIRECT flag, and either the address
143 * file offset is not suitably aligned.
147 * The device containing the file referred to by fd has no room for
160 struct file *filep;
163 /* Did we get a valid file descriptor? */
205 /* The descriptor is in the right range to be a file descriptor... write
206 * to the file.
240 /* Perform the write operation using the file descriptor as an index */