Searched refs:dentry (Results 301 - 325 of 1778) sorted by relevance

<<11121314151617181920>>

/linux-master/security/apparmor/include/
H A Dapparmorfs.h28 struct dentry *dentry; member in struct:aa_sfs_entry
111 int __aafs_profile_mkdir(struct aa_profile *profile, struct dentry *parent);
113 int __aafs_ns_mkdir(struct aa_ns *ns, struct dentry *parent, const char *name,
114 struct dentry *dent);
/linux-master/fs/reiserfs/
H A Dxattr_security.c13 security_get(const struct xattr_handler *handler, struct dentry *unused,
25 struct mnt_idmap *idmap, struct dentry *unused,
37 static bool security_list(struct dentry *dentry) argument
39 return !IS_PRIVATE(d_inode(dentry));
H A Dnamei.c353 static struct dentry *reiserfs_lookup(struct inode *dir, struct dentry *dentry, argument
361 if (REISERFS_MAX_NAME(dir->i_sb->s_blocksize) < dentry->d_name.len)
368 reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len,
392 return d_splice_alias(inode, dentry);
396 * looks up the dentry of the parent directory for child.
399 struct dentry *reiserfs_get_parent(struct dentry *chil
614 reiserfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
694 reiserfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
778 reiserfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
893 reiserfs_rmdir(struct inode *dir, struct dentry *dentry) argument
991 reiserfs_unlink(struct inode *dir, struct dentry *dentry) argument
1094 reiserfs_symlink(struct mnt_idmap *idmap, struct inode *parent_dir, struct dentry *dentry, const char *symname) argument
1196 reiserfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
[all...]
/linux-master/drivers/misc/ibmasm/
H A Dibmasmfs.c147 static struct dentry *ibmasmfs_create_file(struct dentry *parent,
153 struct dentry *dentry; local
156 dentry = d_alloc_name(parent, name);
157 if (!dentry)
162 dput(dentry);
169 d_add(dentry, inode);
170 return dentry;
173 static struct dentry *ibmasmfs_create_di
176 struct dentry *dentry; local
[all...]
/linux-master/fs/ubifs/
H A Ddebug.h107 struct dentry *dfs_dir;
108 struct dentry *dfs_dump_lprops;
109 struct dentry *dfs_dump_budg;
110 struct dentry *dfs_dump_tnc;
111 struct dentry *dfs_chk_gen;
112 struct dentry *dfs_chk_index;
113 struct dentry *dfs_chk_orph;
114 struct dentry *dfs_chk_lprops;
115 struct dentry *dfs_chk_fs;
116 struct dentry *dfs_tst_rcvr
[all...]
H A Ddir.c195 static struct dentry *ubifs_lookup(struct inode *dir, struct dentry *dentry, argument
205 dbg_gen("'%pd' in dir ino %lu", dentry, dir->i_ino);
207 err = fscrypt_prepare_lookup(dir, dentry, &nm);
209 return d_splice_alias(NULL, dentry);
255 dentry, err);
272 return d_splice_alias(inode, dentry);
275 static int ubifs_prepare_create(struct inode *dir, struct dentry *dentry, argument
284 ubifs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
354 create_whiteout(struct inode *dir, struct dentry *dentry) argument
425 struct dentry *dentry = file->f_path.dentry; local
720 ubifs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
798 ubifs_unlink(struct inode *dir, struct dentry *dentry) argument
905 ubifs_rmdir(struct inode *dir, struct dentry *dentry) argument
981 ubifs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
1055 ubifs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
1147 ubifs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
[all...]
/linux-master/fs/proc/
H A Dinternal.h91 int (*proc_get_link)(struct dentry *, struct path *);
167 extern int proc_setattr(struct mnt_idmap *, struct dentry *,
172 extern int pid_delete_dentry(const struct dentry *);
174 struct dentry *proc_pid_lookup(struct dentry *, unsigned int);
178 typedef struct dentry *instantiate_t(struct dentry *,
190 extern struct dentry *proc_lookup(struct inode *, struct dentry *, unsigned int);
191 struct dentry *proc_lookup_d
[all...]
/linux-master/fs/smb/client/
H A Dnamespace.c120 static bool is_dfs_mount(struct dentry *dentry) argument
122 struct cifs_sb_info *cifs_sb = CIFS_SB(dentry->d_sb);
132 /* Return full path out of a dentry set for automount */
133 static char *automount_fullpath(struct dentry *dentry, void *page) argument
135 struct cifs_sb_info *cifs_sb = CIFS_SB(dentry->d_sb);
143 return build_path_from_dentry_optional_prefix(dentry,
149 s = dentry_path_raw(dentry, page, PATH_MAX);
192 struct dentry *mntp
[all...]
/linux-master/fs/
H A Dposix_acl.c115 struct dentry *dentry, struct inode *inode,
156 if (dentry && inode->i_op->get_acl) {
157 acl = inode->i_op->get_acl(idmap, dentry, type);
595 * @dentry: dentry to check permissions on
598 * If the dentry has been found through an idmapped mount the idmap of
605 posix_acl_chmod(struct mnt_idmap *idmap, struct dentry *dentry, argument
608 struct inode *inode = d_inode(dentry);
114 __get_acl(struct mnt_idmap *idmap, struct dentry *dentry, struct inode *inode, int type) argument
935 set_posix_acl(struct mnt_idmap *idmap, struct dentry *dentry, int type, struct posix_acl *acl) argument
985 posix_acl_xattr_list(struct dentry *dentry) argument
1016 simple_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, struct posix_acl *acl, int type) argument
1089 vfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl) argument
1166 vfs_get_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) argument
1210 vfs_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) argument
1263 do_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, const void *kvalue, size_t size) argument
1284 do_get_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, void *kvalue, size_t size) argument
[all...]
H A Dattr.c143 * setattr_prepare - check if attribute changes to a dentry are allowed
145 * @dentry: dentry to check
149 * in the given dentry. This includes the normal unix access permission
163 int setattr_prepare(struct mnt_idmap *idmap, struct dentry *dentry, argument
166 struct inode *inode = d_inode(dentry);
221 error = security_inode_killpriv(idmap, dentry);
355 * @dentry: object affected
379 int notify_change(struct mnt_idmap *idmap, struct dentry *dentr argument
[all...]
/linux-master/drivers/net/wireless/marvell/libertas/
H A Ddev.h65 struct dentry *debugfs_dir;
66 struct dentry *debugfs_debug;
67 struct dentry *debugfs_files[6];
68 struct dentry *events_dir;
69 struct dentry *debugfs_events_files[6];
70 struct dentry *regs_dir;
71 struct dentry *debugfs_regs_files[6];
/linux-master/fs/ecryptfs/
H A Decryptfs_kernel.h150 * as dentry name */
154 * dentry name */
261 /* dentry private data. Each dentry must keep track of a lower
497 ecryptfs_set_dentry_private(struct dentry *dentry, argument
500 dentry->d_fsdata = dentry_info;
503 static inline struct dentry *
504 ecryptfs_dentry_to_lower(struct dentry *dentry) argument
510 ecryptfs_dentry_to_lower_path(struct dentry *dentry) argument
[all...]
/linux-master/fs/bcachefs/
H A Dxattr.c258 static int bch2_xattr_emit(struct dentry *dentry, argument
265 return handler && (!handler->list || handler->list(dentry))
299 ssize_t bch2_xattr_list(struct dentry *dentry, char *buffer, size_t buffer_size) argument
301 struct bch_fs *c = dentry->d_sb->s_fs_info;
302 struct bch_inode_info *inode = to_bch_ei(dentry->d_inode);
324 ret = bch2_xattr_emit(dentry, bkey_s_c_to_xattr(k).v, &buf);
354 struct dentry *dentry, struc
353 bch2_xattr_get_handler(const struct xattr_handler *handler, struct dentry *dentry, struct inode *vinode, const char *name, void *buffer, size_t size) argument
365 bch2_xattr_set_handler(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *dentry, struct inode *vinode, const char *name, const void *value, size_t size, int flags) argument
394 bch2_xattr_trusted_list(struct dentry *dentry) argument
428 __bch2_xattr_bcachefs_get(const struct xattr_handler *handler, struct dentry *dentry, struct inode *vinode, const char *name, void *buffer, size_t size, bool all) argument
478 bch2_xattr_bcachefs_get(const struct xattr_handler *handler, struct dentry *dentry, struct inode *vinode, const char *name, void *buffer, size_t size) argument
509 bch2_xattr_bcachefs_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *dentry, struct inode *vinode, const char *name, const void *value, size_t size, int flags) argument
608 bch2_xattr_bcachefs_get_effective( const struct xattr_handler *handler, struct dentry *dentry, struct inode *vinode, const char *name, void *buffer, size_t size) argument
[all...]
/linux-master/fs/nfs/
H A Dproc.c126 nfs_proc_setattr(struct dentry *dentry, struct nfs_fattr *fattr, argument
129 struct inode *inode = d_inode(dentry);
156 nfs_proc_lookup(struct inode *dir, struct dentry *dentry, argument
161 .name = dentry->d_name.name,
162 .len = dentry->d_name.len
177 if (nfs_lookup_is_soft_revalidate(dentry))
180 dprintk("NFS call lookup %pd2\n", dentry);
216 struct dentry *dentr
215 nfs_alloc_createdata(struct inode *dir, struct dentry *dentry, struct iattr *sattr) argument
241 nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, int flags) argument
270 nfs_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr, dev_t rdev) argument
314 nfs_proc_remove(struct inode *dir, struct dentry *dentry) argument
335 nfs_proc_unlink_setup(struct rpc_message *msg, struct dentry *dentry, struct inode *inode) argument
399 nfs_proc_symlink(struct inode *dir, struct dentry *dentry, struct folio *folio, unsigned int len, struct iattr *sattr) argument
450 nfs_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr) argument
[all...]
/linux-master/include/linux/
H A Dfs.h1081 * In those days, file_dentry() was needed to get the underlying fs dentry that
1086 static inline struct dentry *file_dentry(const struct file *file)
1088 struct dentry *dentry = file->f_path.dentry; local
1090 WARN_ON_ONCE(d_inode(dentry) != file_inode(file));
1091 return dentry;
1218 struct dentry *s_root;
1859 struct dentry *, umode_t, bool);
1861 struct dentry *, umode_
1896 vfs_whiteout(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry) argument
3460 parent_ino(struct dentry *dentry) argument
[all...]
/linux-master/fs/sysv/
H A Ddir.c139 struct sysv_dir_entry *sysv_find_entry(struct dentry *dentry, struct page **res_page) argument
141 const char * name = dentry->d_name.name;
142 int namelen = dentry->d_name.len;
143 struct inode * dir = d_inode(dentry->d_parent);
184 int sysv_add_link(struct dentry *dentry, struct inode *inode) argument
186 struct inode *dir = d_inode(dentry->d_parent);
187 const char * name = dentry->d_name.name;
188 int namelen = dentry
371 sysv_inode_by_name(struct dentry *dentry) argument
[all...]
/linux-master/fs/afs/
H A Dxattr.c37 struct dentry *dentry,
101 struct dentry *dentry,
139 struct dentry *dentry,
232 struct dentry *dentry,
269 struct dentry *dentry,
36 afs_xattr_get_acl(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument
99 afs_xattr_set_acl(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *dentry, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument
138 afs_xattr_get_yfs(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument
230 afs_xattr_set_yfs(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *dentry, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument
268 afs_xattr_get_cell(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument
295 afs_xattr_get_fid(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument
333 afs_xattr_get_volume(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument
[all...]
/linux-master/security/integrity/ima/
H A Dima_fs.c119 static struct dentry **ascii_securityfs_measurement_lists __ro_after_init;
120 static struct dentry **binary_securityfs_measurement_lists __ro_after_init;
125 struct dentry **lists)
127 struct dentry *dentry; local
130 dentry = file_dentry(m->file);
133 if (dentry == lists[i]) {
397 static struct dentry *ima_dir;
398 static struct dentry *ima_symlink;
399 static struct dentry *binary_runtime_measurement
437 struct dentry *dentry; local
[all...]
/linux-master/security/apparmor/
H A Dapparmorfs.c150 static int aafs_show_path(struct seq_file *seq, struct dentry *dentry) argument
152 seq_printf(seq, "%s:[%lu]", AAFS_NAME, d_inode(dentry)->i_ino);
206 * @dir: parent directory for the dentry
207 * @dentry: dentry we are seting the inode up for
214 static int __aafs_setup_d_inode(struct inode *dir, struct dentry *dentry, argument
222 AA_BUG(!dentry);
242 d_instantiate(dentry, inod
269 struct dentry *dentry; local
351 aafs_remove(struct dentry *dentry) argument
1618 rawdata_get_link_base(struct dentry *dentry, struct inode *inode, struct delayed_call *done, const char *name) argument
1646 rawdata_get_link_sha256(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
1653 rawdata_get_link_abi(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
1660 rawdata_get_link_data(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
1794 ns_mkdir_op(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
1845 ns_rmdir_op(struct inode *dir, struct dentry *dentry) argument
2540 struct dentry *dentry; local
2581 policy_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
2601 policy_readlink(struct dentry *dentry, char __user *buffer, int buflen) argument
[all...]
/linux-master/fs/bfs/
H A Ddir.c79 struct dentry *dentry, umode_t mode, bool excl)
113 err = bfs_add_entry(dir, &dentry->d_name, inode->i_ino);
121 d_instantiate(dentry, inode);
125 static struct dentry *bfs_lookup(struct inode *dir, struct dentry *dentry, argument
133 if (dentry->d_name.len > BFS_NAMELEN)
137 bh = bfs_find_entry(dir, &dentry->d_name, &de);
144 return d_splice_alias(inode, dentry);
78 bfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
169 bfs_unlink(struct inode *dir, struct dentry *dentry) argument
[all...]
/linux-master/fs/ocfs2/
H A Dnamei.c96 static struct dentry *ocfs2_lookup(struct inode *dir, struct dentry *dentry, argument
102 struct dentry *ret;
105 trace_ocfs2_lookup(dir, dentry, dentry->d_name.len,
106 dentry->d_name.name,
109 if (dentry->d_name.len > OCFS2_MAX_FILENAME_LEN) {
122 status = ocfs2_lookup_ino_from_name(dir, dentry->d_name.name,
123 dentry
209 ocfs2_cleanup_add_entry_failure(struct ocfs2_super *osb, struct dentry *dentry, struct inode *inode) argument
224 ocfs2_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) argument
646 ocfs2_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
662 ocfs2_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
679 ocfs2_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
846 ocfs2_remote_dentry_delete(struct dentry *dentry) argument
872 ocfs2_unlink(struct inode *dir, struct dentry *dentry) argument
1803 ocfs2_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
2779 ocfs2_mv_orphaned_inode_to_new(struct inode *dir, struct inode *inode, struct dentry *dentry) argument
[all...]
H A Dexport.c34 static struct dentry *ocfs2_get_dentry(struct super_block *sb,
41 struct dentry *result;
129 static struct dentry *ocfs2_get_parent(struct dentry *child)
133 struct dentry *parent;
203 trace_ocfs2_encode_fh_begin(dentry, dentry->d_name.len,
204 dentry->d_name.name,
250 static struct dentry *ocfs2_fh_to_dentry(struct super_block *sb,
264 static struct dentry *ocfs2_fh_to_paren
[all...]
/linux-master/security/selinux/
H A Dselinuxfs.c71 struct dentry *bool_dir;
75 struct dentry *class_dir;
78 struct dentry *policycap_dir;
327 static int sel_make_bools(struct selinux_policy *newpolicy, struct dentry *bool_dir,
331 struct dentry *class_dir,
335 static struct dentry *sel_make_dir(struct dentry *dir, const char *name,
339 static struct dentry *sel_make_swapover_dir(struct super_block *sb,
508 struct dentry *tmp_parent, *tmp_bool_dir, *tmp_class_dir;
1206 const char *name = filep->f_path.dentry
1365 struct dentry *dentry; local
1598 struct dentry *dentry; local
1629 struct dentry *dentry; local
1677 struct dentry *dentry; local
1781 struct dentry *dentry; local
1814 struct dentry *dentry = NULL; local
1880 struct dentry *dentry = NULL; local
1910 struct dentry *dentry = d_alloc_name(dir, name); local
1947 struct dentry *dentry = d_alloc_name(sb->s_root, ".swapover"); local
1976 struct dentry *dentry; local
[all...]
/linux-master/fs/gfs2/
H A Dinode.c603 * @dentry: The new dentry
620 static int gfs2_create_inode(struct inode *dir, struct dentry *dentry, argument
625 const struct qstr *name = &dentry->d_name;
657 inode = gfs2_dir_search(dir, &dentry->d_name, !S_ISREG(mode) || excl);
665 d_instantiate(dentry, inode);
669 error = finish_open(file, dentry, gfs2_open_common);
808 d_instantiate(dentry, inode);
813 error = finish_open(file, dentry, gfs2_open_commo
871 gfs2_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
887 __gfs2_lookup(struct inode *dir, struct dentry *dentry, struct file *file) argument
927 gfs2_lookup(struct inode *dir, struct dentry *dentry, unsigned flags) argument
945 gfs2_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
1113 gfs2_unlink_inode(struct gfs2_inode *dip, const struct dentry *dentry) argument
1148 gfs2_unlink(struct inode *dir, struct dentry *dentry) argument
1231 gfs2_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
1253 gfs2_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
1270 gfs2_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) argument
1287 gfs2_atomic_open(struct inode *dir, struct dentry *dentry, struct file *file, unsigned flags, umode_t mode) argument
1808 gfs2_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
2000 gfs2_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) argument
[all...]
/linux-master/fs/ceph/
H A Dexport.c56 struct dentry *dentry = d_find_alias(inode); local
57 if (!dentry)
61 dir = d_inode_rcu(dentry->d_parent);
64 sfh->hash = ceph_dentry_hash(dir, dentry);
68 dput(dentry);
184 static struct dentry *__fh_to_dentry(struct super_block *sb, u64 ino)
206 static struct dentry *__snapfh_to_dentry(struct super_block *sb,
294 * convert regular fh to dentry
296 static struct dentry *ceph_fh_to_dentr
421 struct dentry *dentry; local
[all...]

Completed in 313 milliseconds

<<11121314151617181920>>