table of contents
GENERIC_FILE_AIO_WRI(9) | Memory Management in Linux | GENERIC_FILE_AIO_WRI(9) |
NAME¶
generic_file_aio_write - write data to a file
SYNOPSIS¶
ssize_t generic_file_aio_write(struct kiocb * iocb, const struct iovec * iov, unsigned long nr_segs, loff_t pos);
ARGUMENTS¶
iocb
IO state structure
iov
vector with data to write
nr_segs
number of segments in the vector
pos
position in file where to write
DESCRIPTION¶
This is a wrapper around __generic_file_aio_write 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¶
May 2024 | Kernel Hackers Manual 2.6. |