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_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.

Proto:int seq_path(struct seq_file *m, const struct path *path, const char *esc)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
const struct path *path
const char *esc
467  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.
468  res = -1
470  If size Then
471  p = d_path(path, buf, size)
472  If Not IS_ERR(p) Then
474  If end Then res = end - buf
478  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
480  Return res
Caller
NameDescribe
seq_file_pathseq_file_path - seq_file interface to print a pathname of a file*@m: the seq_file handle*@file: the struct file to print*@esc: set of characters to escape in the output* return the absolute path to the file.