Searched refs:sysfs_dirent (Results 1 - 14 of 14) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/sysfs/
H A Dsysfs.h16 /* type-specific structures for sysfs_dirent->s_* union members */
20 struct sysfs_dirent *children;
24 struct sysfs_dirent *target_sd;
44 * sysfs_dirent - the building block of sysfs hierarchy. Each and
45 * every sysfs node is represented by single sysfs_dirent.
47 * As long as s_count reference is held, the sysfs_dirent itself is
51 struct sysfs_dirent { struct
57 struct sysfs_dirent *s_parent;
58 struct sysfs_dirent *s_sibling;
92 static inline unsigned int sysfs_type(struct sysfs_dirent *s
[all...]
H A Ddir.c34 * sysfs_link_sibling - link sysfs_dirent into sibling list
35 * @sd: sysfs_dirent of interest
43 static void sysfs_link_sibling(struct sysfs_dirent *sd)
45 struct sysfs_dirent *parent_sd = sd->s_parent;
46 struct sysfs_dirent **pos;
63 * sysfs_unlink_sibling - unlink sysfs_dirent from sibling list
64 * @sd: sysfs_dirent of interest
72 static void sysfs_unlink_sibling(struct sysfs_dirent *sd)
74 struct sysfs_dirent **pos;
87 * sysfs_get_active - get an active reference to sysfs_dirent
[all...]
H A Dinode.c52 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
[all...]
H A Dgroup.c19 static void remove_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
29 static int create_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
62 struct sysfs_dirent *sd;
131 struct sysfs_dirent *dir_sd = kobj->sd;
132 struct sysfs_dirent *sd;
H A Dsymlink.c27 struct sysfs_dirent *parent_sd = NULL;
28 struct sysfs_dirent *target_sd = NULL;
29 struct sysfs_dirent *sd = NULL;
153 struct sysfs_dirent *parent_sd = NULL;
175 struct sysfs_dirent *parent_sd, *sd = NULL;
208 static int sysfs_get_target_path(struct sysfs_dirent *parent_sd,
209 struct sysfs_dirent *target_sd, char *path)
211 struct sysfs_dirent *base, *sd;
262 struct sysfs_dirent *sd = dentry->d_fsdata;
263 struct sysfs_dirent *parent_s
[all...]
H A Dmount.c35 struct sysfs_dirent sysfs_root = {
181 sizeof(struct sysfs_dirent),
211 struct sysfs_dirent *sysfs_get(struct sysfs_dirent *sd)
218 void sysfs_put(struct sysfs_dirent *sd)
H A Dbin.c34 * sysfs_dirent->s_bin_attr.buffers points to a the bin_buffer s
35 * sysfs_dirent->s_bin_attr.buffers is protected by sysfs_bin_lock
51 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata;
121 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata;
180 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata;
197 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata;
214 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata;
233 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata;
256 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata;
276 struct sysfs_dirent *attr_s
[all...]
H A Dfile.c36 * sysfs_open_dirent for each sysfs_dirent with one or more open
40 * sysfs_dirent->s_attr.open points to sysfs_open_dirent. s_attr.open
76 struct sysfs_dirent *attr_sd = dentry->d_fsdata;
200 struct sysfs_dirent *attr_sd = dentry->d_fsdata;
252 * @sd: target sysfs_dirent
265 static int sysfs_get_open_dirent(struct sysfs_dirent *sd,
305 * @sd: target sysfs_dirent
314 static void sysfs_put_open_dirent(struct sysfs_dirent *sd,
335 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata;
408 struct sysfs_dirent *s
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dsysfs.h117 struct sysfs_dirent;
169 void sysfs_notify_dirent(struct sysfs_dirent *sd);
170 struct sysfs_dirent *sysfs_get_dirent(struct sysfs_dirent *parent_sd,
173 struct sysfs_dirent *sysfs_get(struct sysfs_dirent *sd);
174 void sysfs_put(struct sysfs_dirent *sd);
309 static inline void sysfs_notify_dirent(struct sysfs_dirent *sd)
313 struct sysfs_dirent *sysfs_get_dirent(struct sysfs_dirent *parent_s
[all...]
H A Dkobject.h66 struct sysfs_dirent *sd;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/
H A Dmd.h129 struct sysfs_dirent *sysfs_state; /* handle for 'state'
293 struct sysfs_dirent *sysfs_state; /* handle for 'array_state'
296 struct sysfs_dirent *sysfs_action; /* handle for 'sync_action' */
418 static inline struct sysfs_dirent *sysfs_get_dirent_safe(struct sysfs_dirent *sd, char *name)
424 static inline void sysfs_notify_dirent_safe(struct sysfs_dirent *sd)
H A Dbitmap.h249 struct sysfs_dirent *sysfs_can_clear;
H A Dbitmap.c1684 struct sysfs_dirent *bm = NULL;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpio/
H A Dgpiolib.c327 struct sysfs_dirent *value_sd = priv;
336 struct sysfs_dirent *value_sd;

Completed in 126 milliseconds