Lines Matching refs:sysfs_dirent
52 static struct sysfs_inode_attrs *sysfs_init_inode_attrs(struct sysfs_dirent *sd)
71 int sysfs_sd_setattr(struct sysfs_dirent *sd, struct iattr * iattr)
109 struct sysfs_dirent *sd = dentry->d_fsdata;
132 static int sysfs_sd_setsecdata(struct sysfs_dirent *sd, void **secdata, u32 *secdata_len)
158 struct sysfs_dirent *sd = dentry->d_fsdata;
204 static int sysfs_count_nlink(struct sysfs_dirent *sd)
206 struct sysfs_dirent *child;
216 static void sysfs_refresh_inode(struct sysfs_dirent *sd, struct inode *inode)
222 /* sysfs_dirent has non-default attributes
223 * get them from persistent copy in sysfs_dirent
237 struct sysfs_dirent *sd = dentry->d_fsdata;
248 static void sysfs_init_inode(struct sysfs_dirent *sd, struct inode *inode)
286 * sysfs_get_inode - get inode for sysfs_dirent
288 * @sd: sysfs_dirent to allocate inode for
300 struct inode * sysfs_get_inode(struct super_block *sb, struct sysfs_dirent *sd)
312 * The sysfs_dirent serves as both an inode and a directory entry for sysfs.
314 * reference to sysfs_dirent from the sysfs inode. A
320 struct sysfs_dirent *sd = inode->i_private;
327 int sysfs_hash_and_remove(struct sysfs_dirent *dir_sd, const void *ns, const char *name)
330 struct sysfs_dirent *sd;
353 struct sysfs_dirent *sd = inode->i_private;