函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace.c Create Date:2022-07-27 13:07:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:tracing_trace_options_write

函数原型:static ssize_t tracing_trace_options_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos)

返回类型:ssize_t

参数:

类型参数名称
struct file *filp
const char __user *ubuf
size_tcnt
loff_t *ppos
4808  m等于 needed for tty driver, and maybe others
4809  tr等于private
4813  如果cnt大于等于buf的长度则返回:负EINVAL
4816  如果copy_from_user(buf, ubuf, cnt)则返回:负EFAULT
4819  buf[cnt]等于0
4821  ret等于trace_set_options(tr, buf)
4822  如果ret小于0则返回:ret
4825  ppos加等于cnt
4827  返回:cnt