Function report |
Source Code:fs\read_write.c |
Create Date:2022-07-28 20:01:21 |
Last Modify:2020-03-18 10:18:51 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vfs_write
Proto:ssize_t vfs_write(struct file *file, const char __user *buf, size_t count, loff_t *pos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
const char __user * | buf | |
size_t | count | |
loff_t * | pos |
546 | If Not (f_mode & le is open for writing ) Then Return -EBADF |
548 | If Not (f_mode & Has write method(s) ) Then Return -EINVAL |
554 | If Not ret Then |
555 | If count > MAX_RW_COUNT Then count = MAX_RW_COUNT |
557 | file_start_write(file) |
559 | If ret > 0 Then |
563 | inc_syscw(current process) |
564 | file_end_write(file) |
567 | Return ret |
Name | Describe |
---|---|
kernel_write | |
ksys_write | |
ksys_pwrite64 |
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 |