Searched refs:dentry (Results 151 - 175 of 1771) sorted by relevance

1234567891011>>

/linux-master/fs/ext2/
H A Dnamei.c40 static inline int ext2_add_nondir(struct dentry *dentry, struct inode *inode) argument
42 int err = ext2_add_link(dentry, inode);
44 d_instantiate_new(dentry, inode);
56 static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) argument
62 if (dentry->d_name.len > EXT2_NAME_LEN)
65 res = ext2_inode_by_name(dir, &dentry->d_name, &ino);
79 return d_splice_alias(inode, dentry);
102 ext2_create(struct mnt_idmap * idmap, struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) argument
136 ext2_mknod(struct mnt_idmap * idmap, struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
157 ext2_symlink(struct mnt_idmap * idmap, struct inode * dir, struct dentry * dentry, const char * symname) argument
204 ext2_link(struct dentry * old_dentry, struct inode * dir, struct dentry *dentry) argument
228 ext2_mkdir(struct mnt_idmap * idmap, struct inode * dir, struct dentry * dentry, umode_t mode) argument
272 ext2_unlink(struct inode *dir, struct dentry *dentry) argument
301 ext2_rmdir(struct inode * dir, struct dentry *dentry) argument
[all...]
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_port_trace.c18 static struct dentry *t7xx_trace_create_buf_file_handler(const char *filename,
19 struct dentry *parent,
29 static int t7xx_trace_remove_buf_file_handler(struct dentry *dentry) argument
31 debugfs_remove(dentry);
54 struct dentry *debugfs_dir = port->t7xx_dev->debugfs_dir;
79 struct dentry *debugfs_wwan_dir;
80 struct dentry *debugfs_dir;
/linux-master/fs/ocfs2/
H A Dacl.h20 int ocfs2_iop_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
/linux-master/lib/
H A Dnotifier-error-inject.c21 static struct dentry *debugfs_create_errno(const char *name, umode_t mode,
22 struct dentry *parent, int *value)
47 struct dentry *notifier_err_inject_dir;
50 struct dentry *notifier_err_inject_init(const char *name, struct dentry *parent,
55 struct dentry *dir;
56 struct dentry *actions_dir;
66 struct dentry *action_dir;
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_params.h67 struct dentry;
69 void pvr_params_debugfs_init(struct pvr_device *pvr_dev, struct dentry *dir);
/linux-master/drivers/gpu/drm/msm/dp/
H A Ddp_debug.h47 struct dentry *root,
56 struct dentry *root,
/linux-master/fs/debugfs/
H A Dfile.c48 #define F_DENTRY(filp) ((filp)->f_path.dentry)
69 * @dentry: the dentry object whose data is being accessed.
82 int debugfs_file_get(struct dentry *dentry) argument
89 * debugfs_file_get() on a dentry that isn't even a file, let
92 if (WARN_ON(!d_is_reg(dentry)))
95 d_fsd = READ_ONCE(dentry->d_fsdata);
110 if (cmpxchg(&dentry->d_fsdata, d_fsd, fsd) != d_fsd) {
113 fsd = READ_ONCE(dentry
144 debugfs_file_put(struct dentry *dentry) argument
179 struct dentry *dentry = F_DENTRY(file); local
216 struct dentry *dentry = F_DENTRY(file); local
257 struct dentry *dentry = F_DENTRY(filp); local
340 struct dentry *dentry = F_DENTRY(filp); local
355 const struct dentry *dentry = F_DENTRY(filp); local
393 struct dentry *dentry = F_DENTRY(filp); local
461 struct dentry *dentry = F_DENTRY(file); local
476 struct dentry *dentry = F_DENTRY(file); local
881 struct dentry *dentry = F_DENTRY(file); local
904 struct dentry *dentry = F_DENTRY(file); local
963 struct dentry *dentry = F_DENTRY(file); local
999 struct dentry *dentry = F_DENTRY(file); local
1091 struct dentry *dentry = F_DENTRY(file); local
1107 struct dentry *dentry = F_DENTRY(file); local
[all...]
/linux-master/fs/configfs/
H A Dinode.c3 * inode.c - basic inode and dentry operations.
35 int configfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, argument
38 struct inode * inode = d_inode(dentry);
39 struct configfs_dirent * sd = dentry->d_fsdata;
63 error = simple_setattr(idmap, dentry, iattr);
156 struct inode *configfs_create(struct dentry *dentry, umode_t mode) argument
162 if (!dentry)
165 if (d_really_is_positive(dentry))
206 struct dentry * dentry = sd->s_dentry; local
214 simple_unlink(d_inode(parent), dentry); local
[all...]
/linux-master/security/integrity/evm/
H A Devm.h71 int evm_update_evmxattr(struct dentry *dentry,
75 int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name,
78 int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name,
/linux-master/fs/9p/
H A Dxattr.c65 ssize_t v9fs_xattr_get(struct dentry *dentry, const char *name, argument
73 fid = v9fs_fid_lookup(dentry);
94 int v9fs_xattr_set(struct dentry *dentry, const char *name, argument
100 fid = v9fs_fid_lookup(dentry);
140 ssize_t v9fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) argument
143 return v9fs_xattr_get(dentry, "", buffer, buffer_size);
147 struct dentry *dentr
146 v9fs_xattr_handler_get(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument
155 v9fs_xattr_handler_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *dentry, struct inode *inode, const char *name, const void *value, size_t size, int flags) argument
[all...]
H A Dvfs_inode.c465 * @dentry: dentry that is being deleted
470 static int v9fs_remove(struct inode *dir, struct dentry *dentry, int flags) argument
477 p9_debug(P9_DEBUG_VFS, "inode: %p dentry: %p rmdir: %x\n",
478 dir, dentry, flags);
481 inode = d_inode(dentry);
482 dfid = v9fs_parent_fid(dentry);
489 retval = p9_client_unlinkat(dfid, dentry->d_name.name,
494 v9fid = v9fs_fid_clone(dentry);
534 v9fs_create(struct v9fs_session_info *v9ses, struct inode *dir, struct dentry *dentry, char *extension, u32 perm, u8 mode) argument
611 v9fs_vfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
638 v9fs_vfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
673 v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
728 v9fs_vfs_atomic_open(struct inode *dir, struct dentry *dentry, struct file *file, unsigned int flags, umode_t mode) argument
942 struct dentry *dentry = path->dentry; local
987 v9fs_vfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr) argument
1134 v9fs_vfs_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
1186 v9fs_vfs_mkspecial(struct inode *dir, struct dentry *dentry, u32 perm, const char *extension) argument
1220 v9fs_vfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
1240 v9fs_vfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
1275 v9fs_vfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
[all...]
/linux-master/include/linux/
H A Dexportfs.h7 struct dentry;
164 * @encode_fh: encode a file handle fragment from a dentry
165 * @fh_to_dentry: find the implied object and get a dentry for it
166 * @fh_to_parent: find the implied object's parent and get a dentry for it
177 * file referred to by the &struct dentry @de. If @flag has CONNECTABLE bit
188 * fragment (@fh, @fh_len). It should return a &struct dentry which refers
194 * Any suitable dentry can be returned including, if necessary, a new dentry
200 * dentry if it was encoded into the filehandle fragment by @encode_fh.
225 struct dentry * (*fh_to_dentr
[all...]
H A Dlsm_hook_defs.h47 LSM_HOOK(int, 0, quota_on, struct dentry *dentry)
71 LSM_HOOK(int, 0, sb_statfs, struct dentry *dentry)
84 LSM_HOOK(int, -EOPNOTSUPP, dentry_init_security, struct dentry *dentry,
87 LSM_HOOK(int, 0, dentry_create_files_as, struct dentry *dentry, int mode,
91 LSM_HOOK(int, 0, path_unlink, const struct path *dir, struct dentry *dentry)
[all...]
/linux-master/fs/afs/
H A Ddynroot.c111 static int afs_probe_cell_name(struct dentry *dentry) argument
114 struct afs_net *net = afs_d2net(dentry);
115 const char *name = dentry->d_name.name;
116 size_t len = dentry->d_name.len;
158 struct inode *afs_try_auto_mntpt(struct dentry *dentry, struct inode *dir) argument
165 dentry, dentry, vnode->fid.vid, vnode->fid.vnode);
170 ret = afs_probe_cell_name(dentry);
192 afs_lookup_atcell(struct dentry *dentry) argument
235 afs_dynroot_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
[all...]
/linux-master/drivers/edac/
H A Ddebugfs.c4 static struct dentry *edac_debugfs;
57 struct dentry *parent;
83 struct dentry *edac_debugfs_create_dir(const char *dirname)
93 struct dentry *
94 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent)
105 * @parent: parent dentry. If NULL, it becomes the toplevel EDAC dir
109 struct dentry *
110 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent,
122 struct dentry *parent, u8 *value)
133 struct dentry *paren
[all...]
/linux-master/security/tomoyo/
H A Dtomoyo.c154 * @dentry: Pointer to "struct dentry".
158 static int tomoyo_path_unlink(const struct path *parent, struct dentry *dentry) argument
160 struct path path = { .mnt = parent->mnt, .dentry = dentry };
169 * @dentry: Pointer to "struct dentry".
174 static int tomoyo_path_mkdir(const struct path *parent, struct dentry *dentry, argument
191 tomoyo_path_rmdir(const struct path *parent, struct dentry *dentry) argument
207 tomoyo_path_symlink(const struct path *parent, struct dentry *dentry, const char *old_name) argument
225 tomoyo_path_mknod(const struct path *parent, struct dentry *dentry, umode_t mode, unsigned int dev) argument
[all...]
/linux-master/fs/kernfs/
H A Dmount.c28 static int kernfs_sop_show_options(struct seq_file *sf, struct dentry *dentry) argument
30 struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry));
38 static int kernfs_sop_show_path(struct seq_file *sf, struct dentry *dentry) argument
40 struct kernfs_node *node = kernfs_dentry_node(dentry);
47 seq_dentry(sf, dentry, " \t\n\\");
51 static int kernfs_statfs(struct dentry *dentry, struct kstatfs *buf) argument
53 simple_statfs(dentry, bu
208 struct dentry *dentry; local
[all...]
/linux-master/fs/ntfs3/
H A Dnamei.c67 static struct dentry *ntfs_lookup(struct inode *dir, struct dentry *dentry, argument
78 err = ntfs_nls_to_utf16(ni->mi.sbi, dentry->d_name.name,
79 dentry->d_name.len, uni, NTFS_NAME_LEN,
101 return d_splice_alias(inode, dentry);
108 struct dentry *dentry, umode_t mode, bool excl)
112 inode = ntfs_create_inode(idmap, dir, dentry, NULL, S_IFREG | mode, 0,
124 struct dentry *dentr
107 ntfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
123 ntfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
179 ntfs_unlink(struct inode *dir, struct dentry *dentry) argument
199 ntfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
217 ntfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
231 ntfs_rmdir(struct inode *dir, struct dentry *dentry) argument
251 ntfs_rename(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct inode *new_dir, struct dentry *new_dentry, u32 flags) argument
366 ntfs_atomic_open(struct inode *dir, struct dentry *dentry, struct file *file, u32 flags, umode_t mode) argument
475 ntfs_d_hash(const struct dentry *dentry, struct qstr *name) argument
533 ntfs_d_compare(const struct dentry *dentry, unsigned int len1, const char *str, const struct qstr *name) argument
[all...]
/linux-master/fs/xfs/
H A Dxfs_iops.c91 struct dentry *dentry)
93 namep->name = dentry->d_name.name;
94 namep->len = dentry->d_name.len;
101 struct dentry *dentry,
104 namep->name = dentry->d_name.name;
105 namep->len = dentry->d_name.len;
118 struct dentry *dentry)
89 xfs_dentry_to_name( struct xfs_name *namep, struct dentry *dentry) argument
99 xfs_dentry_mode_to_name( struct xfs_name *namep, struct dentry *dentry, int mode) argument
115 xfs_cleanup_inode( struct inode *dir, struct inode *inode, struct dentry *dentry) argument
164 xfs_generic_create( struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev, struct file *tmpfile) argument
257 xfs_vn_mknod( struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
268 xfs_vn_create( struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool flags) argument
279 xfs_vn_mkdir( struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
289 xfs_vn_lookup( struct inode *dir, struct dentry *dentry, unsigned int flags) argument
314 xfs_vn_ci_lookup( struct inode *dir, struct dentry *dentry, unsigned int flags) argument
354 xfs_vn_link( struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
377 xfs_vn_unlink( struct inode *dir, struct dentry *dentry) argument
401 xfs_vn_symlink( struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
485 xfs_vn_get_link( struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
633 xfs_vn_change_ok( struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr) argument
656 xfs_setattr_nonsize( struct mnt_idmap *idmap, struct dentry *dentry, struct xfs_inode *ip, struct iattr *iattr) argument
785 xfs_setattr_size( struct mnt_idmap *idmap, struct dentry *dentry, struct xfs_inode *ip, struct iattr *iattr) argument
982 xfs_vn_setattr_size( struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr) argument
999 xfs_vn_setattr( struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr) argument
[all...]
/linux-master/fs/affs/
H A Daffs.h140 extern int affs_remove_header(struct dentry *dentry);
152 extern bool affs_nofilenametruncate(const struct dentry *dentry);
155 extern int affs_copy_name(unsigned char *bstr, struct dentry *dentry);
169 extern struct dentry *affs_lookup(struct inode *dir, struct dentry *dentry, unsigned int);
170 extern int affs_unlink(struct inode *dir, struct dentry *dentr
[all...]
/linux-master/fs/exfat/
H A Dnamei.c15 static inline unsigned long exfat_d_version(struct dentry *dentry) argument
17 return (unsigned long) dentry->d_fsdata;
20 static inline void exfat_d_version_set(struct dentry *dentry, argument
23 dentry->d_fsdata = (void *) version;
28 * shortname of logname). So, the parent may have the negative-dentry which
31 * If it happened, the negative dentry isn't actually negative anymore. So,
34 static int exfat_d_revalidate(struct dentry *dentry, unsigne argument
84 exfat_d_hash(const struct dentry *dentry, struct qstr *qstr) argument
106 exfat_d_cmp(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) argument
141 exfat_utf8_d_hash(const struct dentry *dentry, struct qstr *qstr) argument
167 exfat_utf8_d_cmp(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) argument
212 int i, dentry, ret; local
298 int dentry; local
465 int ret, dentry, num_entries; local
541 exfat_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
588 int ret, dentry, count; local
684 exfat_d_anon_disconn(struct dentry *dentry) argument
689 exfat_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
766 exfat_unlink(struct inode *dir, struct dentry *dentry) argument
817 exfat_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
908 exfat_rmdir(struct inode *dir, struct dentry *dentry) argument
1106 int dentry; local
[all...]
/linux-master/fs/orangefs/
H A Dnamei.c16 * Get a newly allocated inode to go with a negative dentry.
20 struct dentry *dentry,
33 dentry);
45 dentry->d_name.name, ORANGEFS_NAME_MAX - 1);
52 dentry,
67 dentry);
76 dentry);
78 d_instantiate_new(dentry, inode);
79 orangefs_set_timeout(dentry);
18 orangefs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool exclusive) argument
105 orangefs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
173 orangefs_unlink(struct inode *dir, struct dentry *dentry) argument
219 orangefs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
308 orangefs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
[all...]
/linux-master/fs/crypto/
H A Dhooks.c33 struct dentry *dir;
53 struct dentry *dentry)
55 if (fscrypt_is_nokey_name(dentry))
59 * available, as it's implied by the dentry not being a no-key name.
69 int __fscrypt_prepare_rename(struct inode *old_dir, struct dentry *old_dentry,
70 struct inode *new_dir, struct dentry *new_dentry,
97 int __fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry, argument
100 int err = fscrypt_setup_filename(dir, &dentry
52 __fscrypt_prepare_link(struct inode *inode, struct inode *dir, struct dentry *dentry) argument
128 fscrypt_prepare_lookup_partial(struct inode *dir, struct dentry *dentry) argument
145 __fscrypt_prepare_setattr(struct dentry *dentry, struct iattr *attr) argument
431 struct dentry *dentry = path->dentry; local
[all...]
/linux-master/fs/devpts/
H A Dinode.c104 struct dentry *ptmx_dentry;
160 while (path.mnt->mnt_root == path.dentry)
168 dput(path.dentry);
307 struct dentry *dentry; local
309 struct dentry *root = sb->s_root;
323 dentry = d_alloc_name(root, "ptmx");
324 if (!dentry) {
325 pr_err("Unable to alloc dentry for ptmx node\n");
335 dput(dentry);
545 struct dentry *dentry; local
571 fsnotify_create(d_inode(root), dentry); local
586 devpts_get_priv(struct dentry *dentry) argument
599 devpts_pty_kill(struct dentry *dentry) argument
[all...]
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_debugfs.c14 static struct dentry *ionic_dir;
28 ionic->dentry = debugfs_create_dir(ionic_bus_info(ionic), ionic_dir);
33 debugfs_remove_recursive(ionic->dentry);
34 ionic->dentry = NULL;
59 debugfs_create_file("identity", 0400, ionic->dentry,
65 debugfs_create_u32("nlifs", 0400, ionic->dentry,
67 debugfs_create_u32("nintrs", 0400, ionic->dentry, &ionic->nintrs);
69 debugfs_create_u32("ntxqs_per_lif", 0400, ionic->dentry,
71 debugfs_create_u32("nrxqs_per_lif", 0400, ionic->dentry,
115 struct dentry *qcq_dentr
[all...]

Completed in 210 milliseconds

1234567891011>>