'\" t .\" Title: debugfs_create_devm_seqfile .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: September 2017 .\" Manual: The debugfs filesystem .\" Source: Kernel Hackers Manual 4.12.13 .\" Language: English .\" .TH "DEBUGFS_CREATE_DEVM_" "9" "September 2017" "Kernel Hackers Manual 4\&.12\&" "The debugfs filesystem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" debugfs_create_devm_seqfile \- create a debugfs file that is bound to device\&. .SH "SYNOPSIS" .HP \w'struct\ dentry\ *\ debugfs_create_devm_seqfile('u .BI "struct dentry * debugfs_create_devm_seqfile(struct\ device\ *\ " "dev" ", const\ char\ *\ " "name" ", struct\ dentry\ *\ " "parent" ", int\ (*" "read_fn" ")\ (struct\ seq_file\ *s,\ void\ *data));" .SH "ARGUMENTS" .PP \fIstruct device * dev\fR .RS 4 device related to this debugfs file\&. .RE .PP \fIconst char * name\fR .RS 4 name of the debugfs file\&. .RE .PP \fIstruct dentry * parent\fR .RS 4 a pointer to the parent dentry for this file\&. This should be a directory dentry if set\&. If this parameter is \fBNULL\fR, then the file will be created in the root of the debugfs filesystem\&. .RE .PP \fIint (*)(struct seq_file *s, void *data) read_fn\fR .RS 4 function pointer called to print the seq_file content\&. .RE .SH "COPYRIGHT" .br