函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\seq_file.c Create Date:2022-07-29 10:40:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:seq_escape - print string into buffer, escaping some characters*@m: target buffer*@s: string*@esc: set of characters that need escaping* Puts string into buffer, replacing each occurrence of character from*@esc with usual octal escape.

函数原型:void seq_escape(struct seq_file *m, const char *s, const char *esc)

返回类型:void

参数:

类型参数名称
struct seq_file *m
const char *s
const char *esc
379  size等于获取任意数据的缓冲区
382  ret等于string_escape_str(s, buf, size, ESCAPE_OCTAL, esc)
383  seq_commit - commit data to the buffer*@m: the seq_file handle*@num: the number of bytes to commit* Commit @num bytes of data written to a buffer previously acquired* by seq_buf_get. To signal an error condition, or that the data
调用者
名称描述
mangle
ddebug_proc_showSeq_ops show method. Called several times within a read()* call from userspace, with ddebug_lock held. Formats the* current _ddebug as a single human-readable line, with a* special case for the header line.
cgroup_show_path
seq_show_optionseq_show_options - display mount options with appropriate escapes.*@m: the seq_file handle*@name: the mount option name*@value: the mount option name's value, can be NULL