Lines Matching refs:dentry
39 struct dentry * s_dentry;
67 extern struct inode *configfs_create(struct dentry *, umode_t mode);
72 extern int configfs_make_dirent(struct configfs_dirent *, struct dentry *,
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);
81 struct dentry *dentry, struct iattr *iattr);
83 extern struct dentry *configfs_pin_fs(void);
95 struct inode *dir, struct dentry *dentry,
97 extern int configfs_unlink(struct inode *dir, struct dentry *dentry);
99 int configfs_create_link(struct configfs_dirent *target, struct dentry *parent,
100 struct dentry *dentry, char *body);
102 static inline struct config_item * to_item(struct dentry * dentry) in to_item() argument
104 struct configfs_dirent * sd = dentry->d_fsdata; in to_item()
108 static inline struct configfs_attribute * to_attr(struct dentry * dentry) in to_attr() argument
110 struct configfs_dirent * sd = dentry->d_fsdata; in to_attr()
114 static inline struct configfs_bin_attribute *to_bin_attr(struct dentry *dentry) in to_bin_attr() argument
116 struct configfs_attribute *attr = to_attr(dentry); in to_bin_attr()
121 static inline struct config_item *configfs_get_config_item(struct dentry *dentry) in configfs_get_config_item() argument
125 spin_lock(&dentry->d_lock); in configfs_get_config_item()
126 if (!d_unhashed(dentry)) { in configfs_get_config_item()
127 struct configfs_dirent * sd = dentry->d_fsdata; in configfs_get_config_item()
130 spin_unlock(&dentry->d_lock); in configfs_get_config_item()