函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\seq_file.h Create Date:2022-07-27 06:48:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:获取任意数据的缓冲区

函数原型:static inline size_t seq_get_buf(struct seq_file *m, char **bufp)

返回类型:size_t

参数:

类型参数名称
struct seq_file *m
char **bufp
66  BUG_ON(count > size)
67  如果count小于sizebufp等于bufcount
69  否则 * bufp = NULL
72  返回:sizecount
调用者
名称描述
blkcg_print_stat
seq_escapeseq_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.
seq_escape_mem_ascii
seq_pathseq_path - seq_file interface to print a pathname*@m: the seq_file handle*@path: the struct path to print*@esc: set of characters to escape in the output* return the absolute path of 'path', as represented by the* dentry / mnt pair in the path parameter.
seq_path_rootSame as seq_path, but relative to supplied root.
seq_dentryrns the path of the 'dentry' from the root of its filesystem.
seq_hex_dumpA complete analogue of print_hex_dump()