Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\seq_file.c Create Date:2022-07-28 20:09:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:void seq_escape(struct seq_file *m, const char *s, const char *esc)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
const char *s
const char *esc
379  size = seq_get_buf - get buffer to write arbitrary data to*@m: the seq_file handle*@bufp: the beginning of the buffer is stored here* Return the number of bytes available in the buffer, or zero if* there's no space.
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
Caller
NameDescribe
mangle
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
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.