Searched defs:dentry (Results 1 - 25 of 40) sorted by relevance

12

/drivers/net/wireless/ath/wcn36xx/
H A Ddebug.h26 struct dentry *dentry; member in struct:wcn36xx_dfs_file
31 struct dentry *rootdir;
/drivers/net/wireless/brcm80211/brcmsmac/
H A Ddebug.c34 static struct dentry *root_folder;
68 struct dentry *brcms_debugfs_get_devdir(struct brcms_pub *drvr)
111 struct dentry *dentry = drvr->dbgfs_dir; local
113 if (!IS_ERR_OR_NULL(dentry))
114 debugfs_create_file("hardware", S_IRUGO, dentry,
/drivers/staging/lustre/lustre/llite/
H A Dsymlink.c121 static void *ll_follow_link(struct dentry *dentry, struct nameidata *nd) argument
123 struct inode *inode = dentry->d_inode;
154 static void ll_put_link(struct dentry *dentry, struct nameidata *nd, void *cookie) argument
H A Ddcache.c59 static void ll_release(struct dentry *de)
77 /* Compare if two dentries are the same. Don't match if the existing dentry
80 * This avoids a race where ll_lookup_it() instantiates a dentry, but we get
81 * an AST before calling d_revalidate_it(). The dentry still exists (marked
84 static int ll_dcompare(const struct dentry *parent, const struct dentry *dentry, argument
95 name->len, name->name, dentry, dentry->d_flags,
96 d_count(dentry));
252 struct dentry *dentry; local
297 ll_lookup_finish_locks(struct lookup_intent *it, struct dentry *dentry) argument
320 ll_revalidate_dentry(struct dentry *dentry, unsigned int lookup_flags) argument
351 ll_revalidate_nd(struct dentry *dentry, unsigned int flags) argument
[all...]
H A Dllite_nfs.c138 static struct dentry *
142 struct dentry *result;
144 CDEBUG(D_INFO, "Get dentry for fid: "DFID"\n", PFID(fid));
159 * It is an anonymous dentry without OST objects created yet.
228 static int ll_get_name(struct dentry *dentry, char *name, argument
229 struct dentry *child)
231 struct inode *dir = dentry->d_inode;
258 static struct dentry *ll_fh_to_dentry(struct super_block *sb, struct fid *fid,
269 static struct dentry *ll_fh_to_paren
[all...]
H A Dxattr.c215 int ll_setxattr(struct dentry *dentry, const char *name, argument
218 struct inode *inode = dentry->d_inode;
250 f.f_dentry = dentry;
269 int ll_removexattr(struct dentry *dentry, const char *name) argument
271 struct inode *inode = dentry->d_inode;
458 ssize_t ll_getxattr(struct dentry *dentry, const char *name, argument
461 struct inode *inode = dentry
547 ll_listxattr(struct dentry *dentry, char *buffer, size_t size) argument
[all...]
H A Dllite_lib.c575 CERROR("%s: can't make root dentry\n",
691 void lustre_dump_dentry(struct dentry *dentry, int recur) argument
696 LASSERT(dentry != NULL);
698 list_for_each(tmp, &dentry->d_subdirs)
701 CERROR("dentry %p dump: name=%.*s parent=%.*s (%p), inode=%p, count=%u,"
702 " flags=0x%x, fsdata=%p, %d subdirs\n", dentry,
703 dentry->d_name.len, dentry->d_name.name,
704 dentry
1240 ll_md_setattr(struct dentry *dentry, struct md_op_data *op_data, struct md_open_data **mod) argument
1366 ll_setattr_raw(struct dentry *dentry, struct iattr *attr, bool hsm_import) argument
2315 ll_show_options(struct seq_file *seq, struct dentry *dentry) argument
2401 ll_d_path(struct dentry *dentry, char *buf, int bufsize) argument
2419 struct dentry *dentry = NULL; local
[all...]
/drivers/net/wireless/brcm80211/brcmfmac/
H A Ddhd_dbg.c26 static struct dentry *root_folder;
72 struct dentry *brcmf_debugfs_get_devdir(struct brcmf_pub *drvr)
100 struct dentry *dentry = drvr->dbgfs_dir; local
103 if (IS_ERR_OR_NULL(dentry))
113 dentry = debugfs_create_file(fn, S_IRUGO, dentry, entry,
116 return PTR_ERR_OR_ZERO(dentry);
/drivers/net/wimax/i2400m/
H A Ddebugfs.c49 struct dentry *debugfs_create_netdev_queue_stopped(
50 const char *name, struct dentry *parent, struct i2400m *i2400m)
185 struct dentry *debugfs_create_i2400m_suspend(
186 const char *name, struct dentry *parent, struct i2400m *i2400m)
223 struct dentry *debugfs_create_i2400m_reset(
224 const char *name, struct dentry *parent, struct i2400m *i2400m)
243 struct dentry *dentry = i2400m->wimax_dev.debugfs_dentry; local
244 struct dentry *fd;
246 dentry
[all...]
H A Dusb.c397 struct dentry *dentry = i2400mu->i2400m.wimax_dev.debugfs_dentry; local
398 struct dentry *fd;
400 dentry = debugfs_create_dir("i2400m-usb", dentry);
401 result = PTR_ERR(dentry);
402 if (IS_ERR(dentry)) {
407 i2400mu->debugfs_dentry = dentry;
408 __debugfs_register("dl_", usb, dentry);
409 __debugfs_register("dl_", fw, dentry);
[all...]
/drivers/net/wireless/b43legacy/
H A Ddebugfs.h19 struct dentry;
30 struct dentry *dentry; member in struct:b43legacy_dfs_file
37 struct dentry *subdir;
52 struct dentry *dyn_debug_dentries[__B43legacy_NR_DYNDBG];
/drivers/base/
H A Ddevtmpfs.c57 static struct dentry *dev_mount(struct file_system_type *fs_type, int flags,
152 struct dentry *dentry; local
156 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY);
157 if (IS_ERR(dentry))
158 return PTR_ERR(dentry);
160 err = vfs_mkdir(path.dentry->d_inode, dentry, mode);
163 dentry->d_inode->i_private = &thread;
164 done_path_create(&path, dentry);
198 struct dentry *dentry; local
232 struct dentry *dentry; local
301 struct dentry *dentry; local
[all...]
/drivers/infiniband/hw/ipath/
H A Dipath_fs.c48 static int ipathfs_mknod(struct inode *dir, struct dentry *dentry, argument
72 d_instantiate(dentry, inode);
80 struct dentry *parent, struct dentry **dentry,
86 *dentry = lookup_one_len(name, parent, strlen(name));
87 if (!IS_ERR(*dentry))
88 error = ipathfs_mknod(parent->d_inode, *dentry,
91 error = PTR_ERR(*dentry);
79 create_file(const char *name, umode_t mode, struct dentry *parent, struct dentry **dentry, const struct file_operations *fops, void *data) argument
[all...]
/drivers/infiniband/hw/qib/
H A Dqib_fs.c50 static int qibfs_mknod(struct inode *dir, struct dentry *dentry, argument
79 d_instantiate(dentry, inode);
87 struct dentry *parent, struct dentry **dentry,
93 *dentry = lookup_one_len(name, parent, strlen(name));
94 if (!IS_ERR(*dentry))
95 error = qibfs_mknod(parent->d_inode, *dentry,
98 error = PTR_ERR(*dentry);
86 create_file(const char *name, umode_t mode, struct dentry *parent, struct dentry **dentry, const struct file_operations *fops, void *data) argument
[all...]
/drivers/net/wireless/b43/
H A Ddebugfs.h22 struct dentry;
34 struct dentry *dentry; member in struct:b43_dfs_file
41 struct dentry *subdir;
73 struct dentry *dyn_debug_dentries[__B43_NR_DYNDBG];
/drivers/oprofile/
H A Doprofilefs.c135 static int __oprofilefs_create_file(struct dentry *root, char const *name,
138 struct dentry *dentry; local
142 dentry = d_alloc_name(root, name);
143 if (!dentry) {
149 dput(dentry);
155 d_add(dentry, inode);
161 int oprofilefs_create_ulong(struct dentry *root,
169 int oprofilefs_create_ro_ulong(struct dentry *root,
191 int oprofilefs_create_ro_atomic(struct dentry *roo
215 struct dentry *dentry; local
[all...]
/drivers/usb/host/
H A Duhci-hcd.c527 debugfs_remove(uhci->dentry);
568 struct dentry __maybe_unused *dentry; local
582 dentry = debugfs_create_file(hcd->self.bus_name,
585 if (!dentry) {
589 uhci->dentry = dentry;
702 debugfs_remove(uhci->dentry);
/drivers/media/platform/exynos4-is/
H A Dfimc-is.c766 struct dentry *dentry; local
770 dentry = debugfs_create_file("fw_log", S_IRUGO, is->debugfs_entry,
772 if (!dentry)
/drivers/misc/ibmasm/
H A Dibmasmfs.c94 static struct dentry *ibmasmfs_mount(struct file_system_type *fst,
152 static struct dentry *ibmasmfs_create_file(struct dentry *parent,
158 struct dentry *dentry; local
161 dentry = d_alloc_name(parent, name);
162 if (!dentry)
167 dput(dentry);
174 d_add(dentry, inode);
175 return dentry;
181 struct dentry *dentry; local
[all...]
/drivers/net/wireless/ath/ath10k/
H A Dspectral.c483 static struct dentry *create_buf_file_handler(const char *filename,
484 struct dentry *parent,
489 struct dentry *buf_file;
497 static int remove_buf_file_handler(struct dentry *dentry) argument
499 debugfs_remove(dentry);
/drivers/net/wireless/ath/ath9k/
H A Dspectral.c479 static struct dentry *create_buf_file_handler(const char *filename,
480 struct dentry *parent,
485 struct dentry *buf_file;
493 static int remove_buf_file_handler(struct dentry *dentry) argument
495 debugfs_remove(dentry);
/drivers/staging/lustre/lustre/include/linux/
H A Dlustre_compat25.h49 struct dentry *dentry)
55 path.dentry = dentry;
62 if (old_pwd.dentry)
115 #define cfs_fs_pwd(fs) ((fs)->pwd.dentry)
175 #define ll_d_hlist_for_each_entry(dentry, p, i_dentry, alias) \
176 p = NULL; hlist_for_each_entry(dentry, i_dentry, alias)
48 ll_set_fs_pwd(struct fs_struct *fs, struct vfsmount *mnt, struct dentry *dentry) argument
/drivers/block/drbd/
H A Ddrbd_debugfs.c19 static struct dentry *drbd_debugfs_root;
20 static struct dentry *drbd_debugfs_version;
21 static struct dentry *drbd_debugfs_resources;
22 static struct dentry *drbd_debugfs_minors;
425 static inline int debugfs_positive(struct dentry *dentry) argument
427 return dentry->d_inode && !d_unhashed(dentry);
435 struct dentry *parent;
484 struct dentry *dentr local
655 struct dentry *dentry; local
815 struct dentry *dentry; local
871 struct dentry *dentry; local
929 struct dentry *dentry; local
[all...]
/drivers/media/radio/
H A Dradio-si476x.c315 struct dentry *debugfs;
1369 struct dentry *dentry; local
1372 dentry = debugfs_create_dir(dev_name(radio->v4l2dev.dev), NULL);
1373 if (IS_ERR(dentry)) {
1374 ret = PTR_ERR(dentry);
1377 radio->debugfs = dentry;
1379 dentry = debugfs_create_file("acf", S_IRUGO,
1381 if (IS_ERR(dentry)) {
1382 ret = PTR_ERR(dentry);
[all...]
/drivers/memory/
H A Demif.c55 * @debugfs_root: dentry to the root folder for EMIF in debugfs
70 struct dentry *debugfs_root;
168 struct dentry *dentry; local
171 dentry = debugfs_create_dir(dev_name(emif->dev), NULL);
172 if (!dentry) {
176 emif->debugfs_root = dentry;
178 dentry = debugfs_create_file("regcache_dump", S_IRUGO,
180 if (!dentry) {
185 dentry
[all...]

Completed in 654 milliseconds

12