Searched refs:dentry (Results 476 - 500 of 1785) sorted by relevance

<<11121314151617181920>>

/linux-master/security/apparmor/
H A Dlsm.c245 d_backing_inode(path->dentry));
248 d_backing_inode(path->dentry)->i_mode
251 if (!path_mediated_fs(path->dentry))
258 * common_perm_dir_dentry - common permission wrapper when path is dir, dentry
260 * @dir: directory of the dentry (NOT NULL)
261 * @dentry: dentry to check (NOT NULL)
268 struct dentry *dentry, u32 mask,
271 struct path path = { .mnt = dir->mnt, .dentry
267 common_perm_dir_dentry(const char *op, const struct path *dir, struct dentry *dentry, u32 mask, struct path_cond *cond) argument
285 common_perm_rm(const char *op, const struct path *dir, struct dentry *dentry, u32 mask) argument
312 common_perm_create(const char *op, const struct path *dir, struct dentry *dentry, u32 mask, umode_t mode) argument
323 apparmor_path_unlink(const struct path *dir, struct dentry *dentry) argument
328 apparmor_path_mkdir(const struct path *dir, struct dentry *dentry, umode_t mode) argument
335 apparmor_path_rmdir(const struct path *dir, struct dentry *dentry) argument
340 apparmor_path_mknod(const struct path *dir, struct dentry *dentry, umode_t mode, unsigned int dev) argument
356 apparmor_path_symlink(const struct path *dir, struct dentry *dentry, const char *old_name) argument
[all...]
/linux-master/fs/ceph/
H A Dmds_client.h140 * either: 1) the target inode and/or its parent directory and dentry,
292 struct dentry *r_dentry; /* arg1 */
293 struct dentry *r_old_dentry; /* arg2: rename from or link from */
294 struct inode *r_old_dentry_dir; /* arg2: old dentry's parent dir */
331 u32 r_direct_hash; /* choose dir frag based on this dentry hash */
619 struct dentry *dentry, int *plen, u64 *base,
622 extern void __ceph_mdsc_drop_dentry_lease(struct dentry *dentry);
624 struct dentry *dentr
[all...]
/linux-master/drivers/clk/baikal-t1/
H A Dccu-div.c435 static void ccu_div_var_debug_init(struct clk_hw *hw, struct dentry *dentry) argument
473 dentry, &bits[didx],
478 debugfs_create_file_unsafe("div_clkdiv", ccu_div_dbgfs_mode, dentry,
482 static void ccu_div_gate_debug_init(struct clk_hw *hw, struct dentry *dentry) argument
493 debugfs_create_file_unsafe(bit->name, ccu_div_dbgfs_mode, dentry, bit,
496 debugfs_create_file_unsafe("div_clkdiv", 0400, dentry, div,
500 static void ccu_div_buf_debug_init(struct clk_hw *hw, struct dentry *dentry) argument
515 ccu_div_fixed_debug_init(struct clk_hw *hw, struct dentry *dentry) argument
[all...]
/linux-master/fs/overlayfs/
H A Dfile.c30 struct inode *realinode = d_inode(realpath->dentry);
95 struct dentry *dentry = file_dentry(file); local
103 ovl_path_real(dentry, &realpath);
106 err = ovl_verify_lowerdata(dentry);
110 ovl_path_realdata(dentry, &realpath);
112 if (!realpath.dentry)
116 if (unlikely(file_inode(real->file) != d_inode(realpath.dentry))) {
144 struct dentry *dentry local
[all...]
/linux-master/fs/btrfs/
H A Dexport.c62 * Read dentry of inode with @objectid from filesystem root @root_objectid.
70 * Return dentry alias for the inode, otherwise an error. In case the
73 struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid,
100 static struct dentry *btrfs_fh_to_parent(struct super_block *sb, struct fid *fh,
124 static struct dentry *btrfs_fh_to_dentry(struct super_block *sb, struct fid *fh,
146 struct dentry *btrfs_get_parent(struct dentry *child)
219 static int btrfs_get_name(struct dentry *parent, char *name,
220 struct dentry *child)
/linux-master/fs/nilfs2/
H A Dsuper.c603 static int nilfs_statfs(struct dentry *dentry, struct kstatfs *buf) argument
605 struct super_block *sb = dentry->d_sb;
606 struct nilfs_root *root = NILFS_I(d_inode(dentry))->i_root;
670 static int nilfs_show_options(struct seq_file *seq, struct dentry *dentry) argument
672 struct super_block *sb = dentry->d_sb;
674 struct nilfs_root *root = NILFS_I(d_inode(dentry))->i_root;
898 struct dentry **root_dentry)
901 struct dentry *dentr local
998 struct dentry *dentry; local
[all...]
/linux-master/fs/ubifs/
H A Dxattr.c396 ssize_t ubifs_listxattr(struct dentry *dentry, char *buffer, size_t size) argument
399 struct inode *host = d_inode(dentry);
407 dentry, size);
674 int ubifs_init_security(struct inode *dentry, struct inode *inode, argument
679 err = security_inode_init_security(inode, dentry, qstr,
682 struct ubifs_info *c = dentry->i_sb->s_fs_info;
691 struct dentry *dentry, struct inode *inode,
695 inode->i_ino, dentry, siz
690 xattr_get(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument
701 xattr_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...]
/linux-master/kernel/gcov/
H A Dfs.c43 * @dentry: main debugfs entry, either a directory or data file
59 struct dentry *dentry; member in struct:gcov_node
60 struct dentry **links;
476 static void add_links(struct gcov_node *node, struct dentry *parent)
485 node->links = kcalloc(num, sizeof(struct dentry *), GFP_KERNEL);
556 node->dentry = debugfs_create_file(deskew(node->name), 0600,
557 parent->dentry, node, &gcov_data_fops);
559 node->dentry = debugfs_create_dir(node->name, parent->dentry);
[all...]
/linux-master/fs/minix/
H A Ddir.c152 minix_dirent *minix_find_entry(struct dentry *dentry, struct page **res_page) argument
154 const char * name = dentry->d_name.name;
155 int namelen = dentry->d_name.len;
156 struct inode * dir = d_inode(dentry->d_parent);
200 int minix_add_link(struct dentry *dentry, struct inode *inode) argument
202 struct inode *dir = d_inode(dentry->d_parent);
203 const char * name = dentry->d_name.name;
204 int namelen = dentry
442 minix_inode_by_name(struct dentry *dentry) argument
[all...]
/linux-master/fs/smb/client/
H A Dreparse.c18 struct dentry *dentry, struct cifs_tcon *tcon,
74 d_instantiate(dentry, new);
119 struct dentry *dentry, struct cifs_tcon *tcon,
142 d_instantiate(dentry, new);
256 struct dentry *dentry, struct cifs_tcon *tcon,
289 d_instantiate(dentry, new);
298 struct dentry *dentr
17 smb2_create_reparse_symlink(const unsigned int xid, struct inode *inode, struct dentry *dentry, struct cifs_tcon *tcon, const char *full_path, const char *symname) argument
118 mknod_nfs(unsigned int xid, struct inode *inode, struct dentry *dentry, struct cifs_tcon *tcon, const char *full_path, umode_t mode, dev_t dev) argument
255 mknod_wsl(unsigned int xid, struct inode *inode, struct dentry *dentry, struct cifs_tcon *tcon, const char *full_path, umode_t mode, dev_t dev) argument
297 smb2_mknod_reparse(unsigned int xid, struct inode *inode, struct dentry *dentry, struct cifs_tcon *tcon, const char *full_path, umode_t mode, dev_t dev) argument
[all...]
H A Ddir.c28 renew_parental_timestamps(struct dentry *direntry)
71 build_path_from_dentry(struct dentry *direntry, void *page)
81 char *__build_path_from_dentry_optional_prefix(struct dentry *direntry, void *page,
137 char *build_path_from_dentry_optional_prefix(struct dentry *direntry, void *page,
153 check_name(struct dentry *direntry, struct cifs_tcon *tcon)
177 static int cifs_do_create(struct inode *inode, struct dentry *direntry, unsigned int xid,
433 cifs_atomic_open(struct inode *inode, struct dentry *direntry,
462 struct dentry *res;
465 * Check for hashed negative dentry. We have already revalidated
466 * the dentry an
827 cifs_ci_hash(const struct dentry *dentry, struct qstr *q) argument
847 cifs_ci_compare(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) argument
[all...]
/linux-master/fs/configfs/
H A Dfile.c51 struct configfs_dirent *sd = file->f_path.dentry->d_fsdata;
292 struct dentry *dentry = file->f_path.dentry; local
309 buffer->item = to_item(dentry->d_parent);
313 attr = to_attr(dentry);
318 buffer->bin_attr = to_bin_attr(dentry);
449 struct dentry *dir = item->ci_dentry;
471 struct dentry *dir = item->ci_dentry;
/linux-master/fs/hfs/
H A Dstring.c54 int hfs_hash_dentry(const struct dentry *dentry, struct qstr *this) argument
62 hash = init_name_hash(dentry);
95 int hfs_compare_dentry(const struct dentry *dentry, argument
/linux-master/net/6lowpan/
H A Ddebugfs.c15 static struct dentry *lowpan_debugfs;
167 struct dentry *ctx, u8 id)
170 struct dentry *root;
233 struct dentry *root;
248 struct dentry *contexts;
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_debugfs.c10 static struct dentry *nfp_dir;
124 void nfp_net_debugfs_vnic_add(struct nfp_net *nn, struct dentry *ddir)
126 struct dentry *queues, *tx, *rx, *xdp;
161 struct dentry *nfp_net_debugfs_device_add(struct pci_dev *pdev)
166 void nfp_net_debugfs_dir_clean(struct dentry **dir)
/linux-master/fs/orangefs/
H A Dinode.c826 int __orangefs_setattr_mode(struct dentry *dentry, struct iattr *iattr) argument
829 struct inode *inode = d_inode(dentry);
834 ret = posix_acl_chmod(&nop_mnt_idmap, dentry, inode->i_mode);
839 * Change attributes of an object referenced by dentry.
841 int orangefs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, argument
846 dentry);
847 ret = setattr_prepare(&nop_mnt_idmap, dentry, iattr);
850 ret = __orangefs_setattr_mode(dentry, iatt
920 orangefs_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument
940 orangefs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
[all...]
/linux-master/include/linux/
H A Dfs_context.h18 struct dentry;
96 struct dentry *root; /* The root and superblock */
129 extern struct fs_context *fs_context_for_reconfigure(struct dentry *dentry,
133 struct dentry *reference);
/linux-master/fs/fuse/
H A Dxattr.c109 ssize_t fuse_listxattr(struct dentry *entry, char *list, size_t size)
182 struct dentry *dentry, struct inode *inode,
193 struct dentry *dentry, struct inode *inode,
181 fuse_xattr_get(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *value, size_t size) argument
191 fuse_xattr_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
/linux-master/net/wireless/
H A Ddebugfs.c105 struct dentry *phyd = rdev->wiphy.debugfsdir;
139 static void wiphy_locked_debugfs_read_cancel(struct dentry *dentry, argument
219 static void wiphy_locked_debugfs_write_cancel(struct dentry *dentry, argument
/linux-master/fs/ramfs/
H A Dfile-nommu.c25 static int ramfs_nommu_setattr(struct mnt_idmap *, struct dentry *, struct iattr *);
162 struct dentry *dentry, struct iattr *ia)
164 struct inode *inode = d_inode(dentry);
169 ret = setattr_prepare(&nop_mnt_idmap, dentry, ia);
161 ramfs_nommu_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *ia) argument
/linux-master/fs/exfat/
H A Dinode.c51 ep->dentry.file.attr = cpu_to_le16(exfat_make_attr(inode));
55 &ep->dentry.file.create_tz,
56 &ep->dentry.file.create_time,
57 &ep->dentry.file.create_date,
58 &ep->dentry.file.create_time_cs);
61 &ep->dentry.file.modify_tz,
62 &ep->dentry.file.modify_time,
63 &ep->dentry.file.modify_date,
64 &ep->dentry.file.modify_time_cs);
67 &ep->dentry
[all...]
/linux-master/fs/freevxfs/
H A Dvxfs_super.c58 * @dentry: VFS dentry to locate superblock
63 * about the filesystem described by @dentry.
75 vxfs_statfs(struct dentry *dentry, struct kstatfs *bufp) argument
77 struct vxfs_sb_info *infp = VXFS_SBI(dentry->d_sb);
79 u64 id = huge_encode_dev(dentry->d_sb->s_bdev->bd_dev);
82 bufp->f_bsize = dentry->d_sb->s_blocksize;
268 warnf(fc, "vxfs: unable to get root dentry.");
/linux-master/fs/nfsd/
H A Dvfs.h72 int nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp,
78 struct svc_export **, struct dentry **);
81 int nfsd_mountpoint(struct dentry *, struct svc_export *);
157 struct dentry *, int);
185 .dentry = fh->fh_dentry};
/linux-master/fs/xfs/
H A Dxfs_xattr.c118 xfs_xattr_get(const struct xattr_handler *handler, struct dentry *unused,
156 struct mnt_idmap *idmap, struct dentry *unused,
302 struct dentry *dentry,
307 struct inode *inode = d_inode(dentry);
301 xfs_vn_listxattr( struct dentry *dentry, char *data, size_t size) argument
/linux-master/fs/
H A Dpidfs.c166 static int pidfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, argument
194 struct inode *inode = d_inode(path->dentry);
223 * the pidfs dentry name to start with 'anon_inode'.
225 static char *pidfs_dname(struct dentry *dentry, char *buffer, int buflen) argument

Completed in 393 milliseconds

<<11121314151617181920>>