Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\seq_file.h Create Date:2022-07-28 05:48:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static inline size_t seq_get_buf(struct seq_file *m, char **bufp)

Type:size_t

Parameter:

TypeParameterName
struct seq_file *m
char **bufp
66  BUG_ON(count > size)
67  If count < size Then bufp = buf + count
69  Else * bufp = NULL
72  Return size - count
Caller
NameDescribe
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()