Lines Matching full:parent

57 	struct dentry *parent;  in edac_create_debugfs_nodes()  local
61 parent = debugfs_create_dir(mci->dev.kobj.name, edac_debugfs); in edac_create_debugfs_nodes()
66 debugfs_create_u8(name, S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes()
70 debugfs_create_bool("fake_inject_ue", S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes()
73 debugfs_create_u16("fake_inject_count", S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes()
76 debugfs_create_file("fake_inject", S_IWUSR, parent, &mci->dev, in edac_create_debugfs_nodes()
79 mci->debugfs = parent; in edac_create_debugfs_nodes()
92 /* Create a toplevel dir under EDAC's debugfs hierarchy with parent @parent */
94 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent) in edac_debugfs_create_dir_at() argument
96 return debugfs_create_dir(dirname, parent); in edac_debugfs_create_dir_at()
105 * @parent: parent dentry. If NULL, it becomes the toplevel EDAC dir
110 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, in edac_debugfs_create_file() argument
113 if (!parent) in edac_debugfs_create_file()
114 parent = edac_debugfs; in edac_debugfs_create_file()
116 return debugfs_create_file(name, mode, parent, data, fops); in edac_debugfs_create_file()
122 struct dentry *parent, u8 *value) in edac_debugfs_create_x8() argument
124 if (!parent) in edac_debugfs_create_x8()
125 parent = edac_debugfs; in edac_debugfs_create_x8()
127 debugfs_create_x8(name, mode, parent, value); in edac_debugfs_create_x8()
133 struct dentry *parent, u16 *value) in edac_debugfs_create_x16() argument
135 if (!parent) in edac_debugfs_create_x16()
136 parent = edac_debugfs; in edac_debugfs_create_x16()
138 debugfs_create_x16(name, mode, parent, value); in edac_debugfs_create_x16()
144 struct dentry *parent, u32 *value) in edac_debugfs_create_x32() argument
146 if (!parent) in edac_debugfs_create_x32()
147 parent = edac_debugfs; in edac_debugfs_create_x32()
149 debugfs_create_x32(name, mode, parent, value); in edac_debugfs_create_x32()