函数逻辑报告

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

函数名称: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

函数原型:static inline void seq_commit(struct seq_file *m, int num)

返回类型:void

参数:

类型参数名称
struct seq_file *m
intnum
86  如果num小于0则
87  count等于size
88  否则
89  BUG_ON(count + num > size)
90  count加等于num
调用者
名称描述
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()