Function report | 
Source Code:fs\block_dev.c | 
Create Date:2022-07-28 20:14:45 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:blkdev_direct_IO
Proto:static ssize_t blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter)
Type:ssize_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kiocb * | iocb | |
| struct iov_iter * | iter | 
| 470 | nr_pages = iov_iter_npages(iter, BIO_MAX_PAGES + 1) | 
| 471 | If Not nr_pages Then Return 0 | 
| 473 | If is_sync_kiocb(iocb) && nr_pages <= BIO_MAX_PAGES Then Return __blkdev_direct_IO_simple(iocb, iter, nr_pages) | 
| 476 | Return __blkdev_direct_IO(iocb, iter, min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(nr_pages, BIO_MAX_PAGES)) | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |