函数逻辑报告

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

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

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

返回类型:int

参数:

类型参数名称
struct seq_file *m
const struct path *path
const char *esc
467  size等于获取任意数据的缓冲区
468  res等于负1
470  如果size
471  p等于d_path(path, buf, size)
472  如果非是错误
474  如果endres等于endbuf
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  返回:res
调用者
名称描述
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.