Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:03:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:generic_perform_write
Proto:ssize_t generic_perform_write(struct file *file, struct iov_iter *i, loff_t pos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
struct iov_iter * | i | |
loff_t | pos |
3273 | status = 0 |
3274 | written = 0 |
3275 | flags = 0 |
3277 | Do |
3285 | bytes = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedlong, PAGE_SIZE - offset, iov_iter_count(i)) |
3288 | again : |
3304 | If fatal_signal_pending(current process) Then |
3311 | If Value for the false possibility is greater at compile time(status < 0) Then Break |
3318 | flush_dcache_page(page) |
3322 | If Value for the false possibility is greater at compile time(status < 0) Then Break |
3326 | cond_resched() |
3328 | iov_iter_advance(i, copied) |
3329 | If Value for the false possibility is greater at compile time(copied == 0) Then |
3346 | When iov_iter_count(i) cycle |
Name | Describe |
---|---|
__generic_file_write_iter | __generic_file_write_iter - write data to a file*@iocb: IO state structure (file, offset, etc.)*@from: iov_iter with data to write* This function does all the work needed for actually writing data to a* file |
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 |