函数逻辑报告 |
Source Code:fs\read_write.c |
Create Date:2022-07-29 10:31:22 |
Last Modify:2020-03-18 10:18:51 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rw_verify_area
函数原型:int rw_verify_area(int read_write, struct file *file, const loff_t *ppos, size_t count)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | read_write | |
struct file * | file | |
const loff_t * | ppos | |
size_t | count |
370 | inode等于file_inode(file) |
371 | 如果此条件成立可能性小(为编译器优化)((ssize_t)count < 0)则返回:retval |
378 | 如果ppos则 |
381 | 如果此条件成立可能性小(为编译器优化)(pos < 0)则 |
386 | 否则如果此条件成立可能性小(为编译器优化)((loff_t)(pos + count) < 0)则 |
387 | 如果非unsigned_offsets(file)则返回:retval |
391 | 如果此条件成立可能性小(为编译器优化)(i_flctx && mandatory_lock(inode))则 |
399 | 返回:security_file_permission(file, read_write == generic data direction definitions ? MAY_READ : MAY_WRITE) |
名称 | 描述 |
---|---|
vfs_read | |
vfs_write | |
do_iter_read | |
do_iter_write | |
do_sendfile | |
vfs_copy_file_range | py_file_range() differs from regular file read and write in that it* specifically allows return partial success. When it does so is up to* the copy_file_range method. |
do_splice_to | Attempt to initiate a splice from a file to a pipe. |
do_splice_direct | do_splice_direct - splices data directly between two files*@in: file to splice from*@ppos: input file offset*@out: file to splice to*@opos: output file offset*@len: number of bytes to splice*@flags: splice modifier flags* Description: |
do_splice | Determine where to splice to/from. |
aio_read | |
aio_write | |
io_read | |
io_write |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |