Lines Matching refs:kobject

25 struct kobject;
86 umode_t (*is_visible)(struct kobject *,
88 umode_t (*is_bin_visible)(struct kobject *,
172 ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *,
174 ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *,
176 int (*mmap)(struct file *, struct kobject *, struct bin_attribute *attr,
231 ssize_t (*show)(struct kobject *, struct attribute *, char *);
232 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
237 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
238 void sysfs_remove_dir(struct kobject *kobj);
239 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
241 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
242 struct kobject *new_parent_kobj,
244 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj,
246 void sysfs_remove_mount_point(struct kobject *parent_kobj,
249 int __must_check sysfs_create_file_ns(struct kobject *kobj,
252 int __must_check sysfs_create_files(struct kobject *kobj,
254 int __must_check sysfs_chmod_file(struct kobject *kobj,
256 struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj,
259 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
261 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
262 void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
264 int __must_check sysfs_create_bin_file(struct kobject *kobj,
266 void sysfs_remove_bin_file(struct kobject *kobj,
269 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
271 int __must_check sysfs_create_link_nowarn(struct kobject *kobj,
272 struct kobject *target,
274 void sysfs_remove_link(struct kobject *kobj, const char *name);
276 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *target,
280 void sysfs_delete_link(struct kobject *dir, struct kobject *targ,
283 int __must_check sysfs_create_group(struct kobject *kobj,
285 int __must_check sysfs_create_groups(struct kobject *kobj,
287 int __must_check sysfs_update_groups(struct kobject *kobj,
289 int sysfs_update_group(struct kobject *kobj,
291 void sysfs_remove_group(struct kobject *kobj,
293 void sysfs_remove_groups(struct kobject *kobj,
295 int sysfs_add_file_to_group(struct kobject *kobj,
297 void sysfs_remove_file_from_group(struct kobject *kobj,
299 int sysfs_merge_group(struct kobject *kobj,
301 void sysfs_unmerge_group(struct kobject *kobj,
303 int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name,
304 struct kobject *target, const char *link_name);
305 void sysfs_remove_link_from_group(struct kobject *kobj, const char *group_name,
307 int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj,
308 struct kobject *target_kobj,
312 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr);
321 int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid,
323 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid);
324 int sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ,
326 int sysfs_groups_change_owner(struct kobject *kobj,
329 int sysfs_group_change_owner(struct kobject *kobj,
339 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns()
344 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir()
348 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns()
354 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns()
355 struct kobject *new_parent_kobj, in sysfs_move_dir_ns()
361 static inline int sysfs_create_mount_point(struct kobject *parent_kobj, in sysfs_create_mount_point()
367 static inline void sysfs_remove_mount_point(struct kobject *parent_kobj, in sysfs_remove_mount_point()
372 static inline int sysfs_create_file_ns(struct kobject *kobj, in sysfs_create_file_ns()
379 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files()
385 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file()
392 sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection()
402 static inline void sysfs_remove_file_ns(struct kobject *kobj, in sysfs_remove_file_ns()
408 static inline bool sysfs_remove_file_self(struct kobject *kobj, in sysfs_remove_file_self()
414 static inline void sysfs_remove_files(struct kobject *kobj, in sysfs_remove_files()
419 static inline int sysfs_create_bin_file(struct kobject *kobj, in sysfs_create_bin_file()
425 static inline void sysfs_remove_bin_file(struct kobject *kobj, in sysfs_remove_bin_file()
430 static inline int sysfs_create_link(struct kobject *kobj, in sysfs_create_link()
431 struct kobject *target, const char *name) in sysfs_create_link()
436 static inline int sysfs_create_link_nowarn(struct kobject *kobj, in sysfs_create_link_nowarn()
437 struct kobject *target, in sysfs_create_link_nowarn()
443 static inline void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link()
447 static inline int sysfs_rename_link_ns(struct kobject *k, struct kobject *t, in sysfs_rename_link_ns()
454 static inline void sysfs_delete_link(struct kobject *k, struct kobject *t, in sysfs_delete_link()
459 static inline int sysfs_create_group(struct kobject *kobj, in sysfs_create_group()
465 static inline int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups()
471 static inline int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups()
477 static inline int sysfs_update_group(struct kobject *kobj, in sysfs_update_group()
483 static inline void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group()
488 static inline void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups()
493 static inline int sysfs_add_file_to_group(struct kobject *kobj, in sysfs_add_file_to_group()
499 static inline void sysfs_remove_file_from_group(struct kobject *kobj, in sysfs_remove_file_from_group()
504 static inline int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group()
510 static inline void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group()
515 static inline int sysfs_add_link_to_group(struct kobject *kobj, in sysfs_add_link_to_group()
516 const char *group_name, struct kobject *target, in sysfs_add_link_to_group()
522 static inline void sysfs_remove_link_from_group(struct kobject *kobj, in sysfs_remove_link_from_group()
527 static inline int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj, in compat_only_sysfs_link_entry_to_kobj()
528 struct kobject *target_kobj, in compat_only_sysfs_link_entry_to_kobj()
535 static inline void sysfs_notify(struct kobject *kobj, const char *dir, in sysfs_notify()
549 static inline int sysfs_file_change_owner(struct kobject *kobj, in sysfs_file_change_owner()
556 static inline int sysfs_link_change_owner(struct kobject *kobj, in sysfs_link_change_owner()
557 struct kobject *targ, in sysfs_link_change_owner()
564 static inline int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner()
569 static inline int sysfs_groups_change_owner(struct kobject *kobj, in sysfs_groups_change_owner()
576 static inline int sysfs_group_change_owner(struct kobject *kobj, in sysfs_group_change_owner()
596 static inline int __must_check sysfs_create_file(struct kobject *kobj, in sysfs_create_file()
602 static inline void sysfs_remove_file(struct kobject *kobj, in sysfs_remove_file()
608 static inline int sysfs_rename_link(struct kobject *kobj, struct kobject *target, in sysfs_rename_link()