Lines Matching refs:dentry
46 struct dentry * s_dentry;
72 extern int configfs_create(struct dentry *, umode_t mode, void (*init)(struct inode *));
76 struct dentry *, void *, umode_t, int);
79 extern void configfs_hash_and_remove(struct dentry * dir, const char * name);
82 extern void configfs_drop_dentry(struct configfs_dirent *sd, struct dentry *parent);
83 extern int configfs_setattr(struct dentry *dentry, struct iattr *iattr);
85 extern struct dentry *configfs_pin_fs(void);
97 extern int configfs_symlink(struct inode *dir, struct dentry *dentry,
99 extern int configfs_unlink(struct inode *dir, struct dentry *dentry);
107 struct dentry *parent,
108 struct dentry *dentry);
110 static inline struct config_item * to_item(struct dentry * dentry) in to_item() argument
112 struct configfs_dirent * sd = dentry->d_fsdata; in to_item()
116 static inline struct configfs_attribute * to_attr(struct dentry * dentry) in to_attr() argument
118 struct configfs_dirent * sd = dentry->d_fsdata; in to_attr()
122 static inline struct config_item *configfs_get_config_item(struct dentry *dentry) in configfs_get_config_item() argument
126 spin_lock(&dentry->d_lock); in configfs_get_config_item()
127 if (!d_unhashed(dentry)) { in configfs_get_config_item()
128 struct configfs_dirent * sd = dentry->d_fsdata; in configfs_get_config_item()
135 spin_unlock(&dentry->d_lock); in configfs_get_config_item()