Lines Matching refs:dentry
40 struct dentry * s_dentry;
66 extern int configfs_create(struct dentry *, umode_t mode, int (*init)(struct inode *));
72 struct dentry *, void *, umode_t, int);
75 extern int configfs_add_file(struct dentry *, const struct configfs_attribute *, int);
76 extern void configfs_hash_and_remove(struct dentry * dir, const char * name);
79 extern void configfs_drop_dentry(struct configfs_dirent *sd, struct dentry *parent);
80 extern int configfs_setattr(struct dentry *dentry, struct iattr *iattr);
82 extern struct dentry *configfs_pin_fs(void);
94 extern int configfs_symlink(struct inode *dir, struct dentry *dentry,
96 extern int configfs_unlink(struct inode *dir, struct dentry *dentry);
104 struct dentry *parent,
105 struct dentry *dentry);
107 static inline struct config_item * to_item(struct dentry * dentry) in to_item() argument
109 struct configfs_dirent * sd = dentry->d_fsdata; in to_item()
113 static inline struct configfs_attribute * to_attr(struct dentry * dentry) in to_attr() argument
115 struct configfs_dirent * sd = dentry->d_fsdata; in to_attr()
119 static inline struct config_item *configfs_get_config_item(struct dentry *dentry) in configfs_get_config_item() argument
123 spin_lock(&dentry->d_lock); in configfs_get_config_item()
124 if (!d_unhashed(dentry)) { in configfs_get_config_item()
125 struct configfs_dirent * sd = dentry->d_fsdata; in configfs_get_config_item()
132 spin_unlock(&dentry->d_lock); in configfs_get_config_item()