/* Create a toplevel dir under EDAC's debugfs hierarchy */ struct dentry *edac_debugfs_create_dir(constchar *dirname)
{ if (!edac_debugfs) return NULL;
/* Create a toplevel dir under EDAC's debugfs hierarchy with parent @parent */ struct dentry *
edac_debugfs_create_dir_at(constchar *dirname, struct dentry *parent)
{ return debugfs_create_dir(dirname, parent);
}
EXPORT_SYMBOL_GPL(edac_debugfs_create_dir_at);
/* * Create a file under EDAC's hierarchy or a sub-hierarchy: * * @name: file name * @mode: file permissions * @parent: parent dentry. If NULL, it becomes the toplevel EDAC dir * @data: private data of caller * @fops: file operations of this file
*/ struct dentry *
edac_debugfs_create_file(constchar *name, umode_t mode, struct dentry *parent, void *data, conststruct file_operations *fops)
{ if (!parent)
parent = edac_debugfs;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.