Lines Matching refs:kobject
24 struct kobject;
77 umode_t (*is_visible)(struct kobject *,
149 ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *,
151 ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *,
153 int (*mmap)(struct file *, struct kobject *, struct bin_attribute *attr,
200 ssize_t (*show)(struct kobject *, struct attribute *, char *);
201 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
206 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
207 void sysfs_remove_dir(struct kobject *kobj);
208 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
210 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
211 struct kobject *new_parent_kobj,
213 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj,
215 void sysfs_remove_mount_point(struct kobject *parent_kobj,
218 int __must_check sysfs_create_file_ns(struct kobject *kobj,
221 int __must_check sysfs_create_files(struct kobject *kobj,
223 int __must_check sysfs_chmod_file(struct kobject *kobj,
225 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
227 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
228 void sysfs_remove_files(struct kobject *kobj, const struct attribute **attr);
230 int __must_check sysfs_create_bin_file(struct kobject *kobj,
232 void sysfs_remove_bin_file(struct kobject *kobj,
235 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
237 int __must_check sysfs_create_link_nowarn(struct kobject *kobj,
238 struct kobject *target,
240 void sysfs_remove_link(struct kobject *kobj, const char *name);
242 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *target,
246 void sysfs_delete_link(struct kobject *dir, struct kobject *targ,
249 int __must_check sysfs_create_group(struct kobject *kobj,
251 int __must_check sysfs_create_groups(struct kobject *kobj,
253 int sysfs_update_group(struct kobject *kobj,
255 void sysfs_remove_group(struct kobject *kobj,
257 void sysfs_remove_groups(struct kobject *kobj,
259 int sysfs_add_file_to_group(struct kobject *kobj,
261 void sysfs_remove_file_from_group(struct kobject *kobj,
263 int sysfs_merge_group(struct kobject *kobj,
265 void sysfs_unmerge_group(struct kobject *kobj,
267 int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name,
268 struct kobject *target, const char *link_name);
269 void sysfs_remove_link_from_group(struct kobject *kobj, const char *group_name,
272 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr);
283 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns()
288 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir()
292 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns()
298 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns()
299 struct kobject *new_parent_kobj, in sysfs_move_dir_ns()
305 static inline int sysfs_create_mount_point(struct kobject *parent_kobj, in sysfs_create_mount_point()
311 static inline void sysfs_remove_mount_point(struct kobject *parent_kobj, in sysfs_remove_mount_point()
316 static inline int sysfs_create_file_ns(struct kobject *kobj, in sysfs_create_file_ns()
323 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files()
329 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file()
335 static inline void sysfs_remove_file_ns(struct kobject *kobj, in sysfs_remove_file_ns()
341 static inline bool sysfs_remove_file_self(struct kobject *kobj, in sysfs_remove_file_self()
347 static inline void sysfs_remove_files(struct kobject *kobj, in sysfs_remove_files()
352 static inline int sysfs_create_bin_file(struct kobject *kobj, in sysfs_create_bin_file()
358 static inline void sysfs_remove_bin_file(struct kobject *kobj, in sysfs_remove_bin_file()
363 static inline int sysfs_create_link(struct kobject *kobj, in sysfs_create_link()
364 struct kobject *target, const char *name) in sysfs_create_link()
369 static inline int sysfs_create_link_nowarn(struct kobject *kobj, in sysfs_create_link_nowarn()
370 struct kobject *target, in sysfs_create_link_nowarn()
376 static inline void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link()
380 static inline int sysfs_rename_link_ns(struct kobject *k, struct kobject *t, in sysfs_rename_link_ns()
387 static inline void sysfs_delete_link(struct kobject *k, struct kobject *t, in sysfs_delete_link()
392 static inline int sysfs_create_group(struct kobject *kobj, in sysfs_create_group()
398 static inline int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups()
404 static inline int sysfs_update_group(struct kobject *kobj, in sysfs_update_group()
410 static inline void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group()
415 static inline void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups()
420 static inline int sysfs_add_file_to_group(struct kobject *kobj, in sysfs_add_file_to_group()
426 static inline void sysfs_remove_file_from_group(struct kobject *kobj, in sysfs_remove_file_from_group()
431 static inline int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group()
437 static inline void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group()
442 static inline int sysfs_add_link_to_group(struct kobject *kobj, in sysfs_add_link_to_group()
443 const char *group_name, struct kobject *target, in sysfs_add_link_to_group()
449 static inline void sysfs_remove_link_from_group(struct kobject *kobj, in sysfs_remove_link_from_group()
454 static inline void sysfs_notify(struct kobject *kobj, const char *dir, in sysfs_notify()
470 static inline int __must_check sysfs_create_file(struct kobject *kobj, in sysfs_create_file()
476 static inline void sysfs_remove_file(struct kobject *kobj, in sysfs_remove_file()
482 static inline int sysfs_rename_link(struct kobject *kobj, struct kobject *target, in sysfs_rename_link()