Lines Matching refs:kobject

24 struct kobject;
85 umode_t (*is_visible)(struct kobject *,
87 umode_t (*is_bin_visible)(struct kobject *,
159 ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *,
161 ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *,
163 int (*mmap)(struct file *, struct kobject *, struct bin_attribute *attr,
210 ssize_t (*show)(struct kobject *, struct attribute *, char *);
211 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
216 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
217 void sysfs_remove_dir(struct kobject *kobj);
218 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
220 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
221 struct kobject *new_parent_kobj,
223 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj,
225 void sysfs_remove_mount_point(struct kobject *parent_kobj,
228 int __must_check sysfs_create_file_ns(struct kobject *kobj,
231 int __must_check sysfs_create_files(struct kobject *kobj,
233 int __must_check sysfs_chmod_file(struct kobject *kobj,
235 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
237 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
238 void sysfs_remove_files(struct kobject *kobj, const struct attribute **attr);
240 int __must_check sysfs_create_bin_file(struct kobject *kobj,
242 void sysfs_remove_bin_file(struct kobject *kobj,
245 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
247 int __must_check sysfs_create_link_nowarn(struct kobject *kobj,
248 struct kobject *target,
250 void sysfs_remove_link(struct kobject *kobj, const char *name);
252 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *target,
256 void sysfs_delete_link(struct kobject *dir, struct kobject *targ,
259 int __must_check sysfs_create_group(struct kobject *kobj,
261 int __must_check sysfs_create_groups(struct kobject *kobj,
263 int sysfs_update_group(struct kobject *kobj,
265 void sysfs_remove_group(struct kobject *kobj,
267 void sysfs_remove_groups(struct kobject *kobj,
269 int sysfs_add_file_to_group(struct kobject *kobj,
271 void sysfs_remove_file_from_group(struct kobject *kobj,
273 int sysfs_merge_group(struct kobject *kobj,
275 void sysfs_unmerge_group(struct kobject *kobj,
277 int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name,
278 struct kobject *target, const char *link_name);
279 void sysfs_remove_link_from_group(struct kobject *kobj, const char *group_name,
281 int __compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj,
282 struct kobject *target_kobj,
285 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr);
296 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns()
301 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir()
305 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns()
311 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns()
312 struct kobject *new_parent_kobj, in sysfs_move_dir_ns()
318 static inline int sysfs_create_mount_point(struct kobject *parent_kobj, in sysfs_create_mount_point()
324 static inline void sysfs_remove_mount_point(struct kobject *parent_kobj, in sysfs_remove_mount_point()
329 static inline int sysfs_create_file_ns(struct kobject *kobj, in sysfs_create_file_ns()
336 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files()
342 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file()
348 static inline void sysfs_remove_file_ns(struct kobject *kobj, in sysfs_remove_file_ns()
354 static inline bool sysfs_remove_file_self(struct kobject *kobj, in sysfs_remove_file_self()
360 static inline void sysfs_remove_files(struct kobject *kobj, in sysfs_remove_files()
365 static inline int sysfs_create_bin_file(struct kobject *kobj, in sysfs_create_bin_file()
371 static inline void sysfs_remove_bin_file(struct kobject *kobj, in sysfs_remove_bin_file()
376 static inline int sysfs_create_link(struct kobject *kobj, in sysfs_create_link()
377 struct kobject *target, const char *name) in sysfs_create_link()
382 static inline int sysfs_create_link_nowarn(struct kobject *kobj, in sysfs_create_link_nowarn()
383 struct kobject *target, in sysfs_create_link_nowarn()
389 static inline void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link()
393 static inline int sysfs_rename_link_ns(struct kobject *k, struct kobject *t, in sysfs_rename_link_ns()
400 static inline void sysfs_delete_link(struct kobject *k, struct kobject *t, in sysfs_delete_link()
405 static inline int sysfs_create_group(struct kobject *kobj, in sysfs_create_group()
411 static inline int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups()
417 static inline int sysfs_update_group(struct kobject *kobj, in sysfs_update_group()
423 static inline void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group()
428 static inline void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups()
433 static inline int sysfs_add_file_to_group(struct kobject *kobj, in sysfs_add_file_to_group()
439 static inline void sysfs_remove_file_from_group(struct kobject *kobj, in sysfs_remove_file_from_group()
444 static inline int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group()
450 static inline void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group()
455 static inline int sysfs_add_link_to_group(struct kobject *kobj, in sysfs_add_link_to_group()
456 const char *group_name, struct kobject *target, in sysfs_add_link_to_group()
462 static inline void sysfs_remove_link_from_group(struct kobject *kobj, in sysfs_remove_link_from_group()
468 struct kobject *kobj, in __compat_only_sysfs_link_entry_to_kobj()
469 struct kobject *target_kobj, in __compat_only_sysfs_link_entry_to_kobj()
475 static inline void sysfs_notify(struct kobject *kobj, const char *dir, in sysfs_notify()
491 static inline int __must_check sysfs_create_file(struct kobject *kobj, in sysfs_create_file()
497 static inline void sysfs_remove_file(struct kobject *kobj, in sysfs_remove_file()
503 static inline int sysfs_rename_link(struct kobject *kobj, struct kobject *target, in sysfs_rename_link()