Function report |
Source Code:fs\read_write.c |
Create Date:2022-07-28 20:01:20 |
Last Modify:2020-03-18 10:18:51 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vfs_read
Proto:ssize_t vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
char __user * | buf | |
size_t | count | |
loff_t * | pos |
450 | If Not (f_mode & le is open for reading ) Then Return -EBADF |
452 | If Not (f_mode & Has read method(s) ) Then Return -EINVAL |
457 | ret = rw_verify_area(generic data direction definitions , file, pos, count) |
458 | If Not ret Then |
459 | If count > MAX_RW_COUNT Then count = MAX_RW_COUNT |
462 | If ret > 0 Then |
466 | inc_syscr(current process) |
469 | Return ret |
Name | Describe |
---|---|
kernel_read | |
ksys_read | |
ksys_pread64 | |
read_code |
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 |