1GENERIC_FILE_AIO_WRI(9) Memory Management in Linux GENERIC_FILE_AIO_WRI(9)
2
3
4
6 generic_file_aio_write - write data to a file
7
9 ssize_t generic_file_aio_write(struct kiocb * iocb,
10 const struct iovec * iov,
11 unsigned long nr_segs, loff_t pos);
12
14 iocb
15 IO state structure
16
17 iov
18 vector with data to write
19
20 nr_segs
21 number of segments in the vector
22
23 pos
24 position in file where to write
25
27 This is a wrapper around __generic_file_aio_write to be used by most
28 filesystems. It takes care of syncing the file in case of O_SYNC file
29 and acquires i_mutex as needed.
30
32Kernel Hackers Manual 2.6. November 2011 GENERIC_FILE_AIO_WRI(9)