table of contents
other versions
- stretch 4.9.168-1
GENERIC_FILE_WRITE_I(9) | Memory Management in Linux | GENERIC_FILE_WRITE_I(9) |
NAME¶
generic_file_write_iter - write data to a fileSYNOPSIS¶
ssize_t generic_file_write_iter(struct kiocb * iocb, struct iov_iter * from);
ARGUMENTS¶
iocbIO state structure
from
iov_iter with data to write
DESCRIPTION¶
This is a wrapper around __generic_file_write_iter to be used by most filesystems. It takes care of syncing the file in case of O_SYNC file and acquires i_mutex as needed.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |