Home
last modified time | relevance | path

Searched refs:sysfs_dirent (Results 1 – 8 of 8) sorted by relevance

/fs/sysfs/
Dsysfs.h17 struct sysfs_dirent *children;
21 struct sysfs_dirent *target_sd;
41 struct sysfs_dirent { struct
44 struct sysfs_dirent *s_parent; argument
45 struct sysfs_dirent *s_sibling; argument
73 static inline unsigned int sysfs_type(struct sysfs_dirent *sd) in sysfs_type() argument
82 struct sysfs_dirent *parent_sd;
84 struct sysfs_dirent *removed;
91 extern struct sysfs_dirent sysfs_root;
105 struct dentry *sysfs_get_dentry(struct sysfs_dirent *sd);
[all …]
Ddir.c43 static void sysfs_link_sibling(struct sysfs_dirent *sd) in sysfs_link_sibling()
45 struct sysfs_dirent *parent_sd = sd->s_parent; in sysfs_link_sibling()
46 struct sysfs_dirent **pos; in sysfs_link_sibling()
72 static void sysfs_unlink_sibling(struct sysfs_dirent *sd) in sysfs_unlink_sibling()
74 struct sysfs_dirent **pos; in sysfs_unlink_sibling()
100 struct dentry *sysfs_get_dentry(struct sysfs_dirent *sd) in sysfs_get_dentry()
105 struct sysfs_dirent *cur; in sysfs_get_dentry()
136 static struct sysfs_dirent *sysfs_get_active(struct sysfs_dirent *sd) in sysfs_get_active()
165 static void sysfs_put_active(struct sysfs_dirent *sd) in sysfs_put_active()
195 struct sysfs_dirent *sysfs_get_active_two(struct sysfs_dirent *sd) in sysfs_get_active_two()
[all …]
Dsymlink.c25 struct sysfs_dirent *parent_sd = NULL; in sysfs_do_create_link()
26 struct sysfs_dirent *target_sd = NULL; in sysfs_do_create_link()
27 struct sysfs_dirent *sd = NULL; in sysfs_do_create_link()
115 struct sysfs_dirent *parent_sd = NULL; in sysfs_remove_link()
125 static int sysfs_get_target_path(struct sysfs_dirent *parent_sd, in sysfs_get_target_path()
126 struct sysfs_dirent *target_sd, char *path) in sysfs_get_target_path()
128 struct sysfs_dirent *base, *sd; in sysfs_get_target_path()
179 struct sysfs_dirent *sd = dentry->d_fsdata; in sysfs_getlink()
180 struct sysfs_dirent *parent_sd = sd->s_parent; in sysfs_getlink()
181 struct sysfs_dirent *target_sd = sd->s_symlink.target_sd; in sysfs_getlink()
Dfile.c76 struct sysfs_dirent *attr_sd = dentry->d_fsdata; in fill_read_buffer()
200 struct sysfs_dirent *attr_sd = dentry->d_fsdata; in flush_write_buffer()
265 static int sysfs_get_open_dirent(struct sysfs_dirent *sd, in sysfs_get_open_dirent()
314 static void sysfs_put_open_dirent(struct sysfs_dirent *sd, in sysfs_put_open_dirent()
334 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata; in sysfs_open_file()
407 struct sysfs_dirent *sd = filp->f_path.dentry->d_fsdata; in sysfs_release()
435 struct sysfs_dirent *attr_sd = filp->f_path.dentry->d_fsdata; in sysfs_poll()
456 void sysfs_notify_dirent(struct sysfs_dirent *sd) in sysfs_notify_dirent()
474 struct sysfs_dirent *sd = k->sd; in sysfs_notify()
498 int sysfs_add_file_mode(struct sysfs_dirent *dir_sd, in sysfs_add_file_mode()
[all …]
Dinode.c48 struct sysfs_dirent * sd = dentry->d_fsdata; in sysfs_setattr()
134 static int sysfs_count_nlink(struct sysfs_dirent *sd) in sysfs_count_nlink()
136 struct sysfs_dirent *child; in sysfs_count_nlink()
146 static void sysfs_init_inode(struct sysfs_dirent *sd, struct inode *inode) in sysfs_init_inode()
206 struct inode * sysfs_get_inode(struct sysfs_dirent *sd) in sysfs_get_inode()
217 int sysfs_hash_and_remove(struct sysfs_dirent *dir_sd, const char *name) in sysfs_hash_and_remove()
220 struct sysfs_dirent *sd; in sysfs_hash_and_remove()
Dmount.c35 struct sysfs_dirent sysfs_root = {
91 sizeof(struct sysfs_dirent), in sysfs_init()
121 struct sysfs_dirent *sysfs_get(struct sysfs_dirent *sd) in sysfs_get()
128 void sysfs_put(struct sysfs_dirent *sd) in sysfs_put()
Dgroup.c19 static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj, in remove_files()
29 static int create_files(struct sysfs_dirent *dir_sd, struct kobject *kobj, in create_files()
62 struct sysfs_dirent *sd; in internal_create_group()
131 struct sysfs_dirent *dir_sd = kobj->sd; in sysfs_remove_group()
132 struct sysfs_dirent *sd; in sysfs_remove_group()
Dbin.c38 struct sysfs_dirent *attr_sd = dentry->d_fsdata; in fill_read()
109 struct sysfs_dirent *attr_sd = dentry->d_fsdata; in flush_write()
174 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata; in mmap()
201 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata; in open()
240 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata; in release()