函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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
注解内核,赢得工具下载SCCTEnglish

函数名称:__vfs_write

函数原型:static ssize_t __vfs_write(struct file *file, const char __user *p, size_t count, loff_t *pos)

返回类型:ssize_t

参数:

类型参数名称
struct file *file
const char __user *p
size_tcount
loff_t *pos
493  如果write则返回:write(file, p, count, pos)
495  否则如果write_iter则返回:new_sync_write(file, p, count, pos)
497  否则返回:负EINVAL
调用者
名称描述
__kernel_write
vfs_write