函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\seq_file.c Create Date:2022-07-29 10:40:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Same as seq_path, but relative to supplied root.

函数原型:int seq_path_root(struct seq_file *m, const struct path *path, const struct path *root, const char *esc)

返回类型:int

参数:

类型参数名称
struct seq_file *m
const struct path *path
const struct path *root
const char *esc
505  size等于获取任意数据的缓冲区
506  res等于负ENAMETOOLONG
508  如果size
511  p等于__d_path(path, root, buf, size)
512  如果非p则返回:SEQ_SKIP
514  res等于错误
515  如果非是错误
517  如果endres等于endbuf
519  否则res等于负ENAMETOOLONG
523  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
525  返回:如果res小于0且res不等于负ENAMETOOLONGres否则0
调用者
名称描述
show_vfsmnt
show_mountinfo
show_vfsstat