Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rns the path of the 'dentry' from the root of its filesystem.

Proto:int seq_dentry(struct seq_file *m, struct dentry *dentry, const char *esc)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
struct dentry *dentry
const char *esc
534  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.
535  res = -1
537  If size Then
538  p = dentry_path(dentry, buf, size)
539  If Not IS_ERR(p) Then
541  If end Then res = end - buf
545  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
547  Return res
Caller
NameDescribe
show_mountinfo