函数逻辑报告 |
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 |
函数名称:new_sync_write
函数原型:static ssize_t new_sync_write(struct file *filp, const char __user *buf, size_t len, loff_t *ppos)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | filp | |
const char __user * | buf | |
size_t | len | |
loff_t * | ppos |
474 | struct iovec iov = { BSD uses caddr_t (1003.1g requires void *) = (void __user * )buf, Must be size_t (1003.1g) = len} |
479 | init_sync_kiocb( & kiocb, filp) |
481 | iov_iter_init( & iter, WRITE, & iov, 1, len) |
483 | ret等于call_write_iter(filp, & kiocb, & iter) |
484 | BUG_ON(ret == - cb queued, will get completion event ) |
487 | 返回:ret |
名称 | 描述 |
---|---|
__vfs_write |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |