• Home
  • Raw
  • Download

Lines Matching refs:kobject

25 struct kobject;
96 umode_t (*is_visible)(struct kobject *,
98 umode_t (*is_bin_visible)(struct kobject *,
149 struct kobject *kobj, struct attribute *attr, int n) \
181 struct kobject *kobj, struct attribute *a, int n) \
196 struct kobject *kobj, struct bin_attribute *attr, int n) \
205 struct kobject *kobj, struct bin_attribute *a, int n) \
298 ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *,
300 ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *,
302 loff_t (*llseek)(struct file *, struct kobject *, struct bin_attribute *,
304 int (*mmap)(struct file *, struct kobject *, struct bin_attribute *attr,
386 ssize_t (*show)(struct kobject *, struct attribute *, char *);
387 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
392 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
393 void sysfs_remove_dir(struct kobject *kobj);
394 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
396 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
397 struct kobject *new_parent_kobj,
399 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj,
401 void sysfs_remove_mount_point(struct kobject *parent_kobj,
404 int __must_check sysfs_create_file_ns(struct kobject *kobj,
407 int __must_check sysfs_create_files(struct kobject *kobj,
409 int __must_check sysfs_chmod_file(struct kobject *kobj,
411 struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj,
414 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
416 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
417 void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
419 int __must_check sysfs_create_bin_file(struct kobject *kobj,
421 void sysfs_remove_bin_file(struct kobject *kobj,
424 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
426 int __must_check sysfs_create_link_nowarn(struct kobject *kobj,
427 struct kobject *target,
429 void sysfs_remove_link(struct kobject *kobj, const char *name);
431 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *target,
435 void sysfs_delete_link(struct kobject *dir, struct kobject *targ,
438 int __must_check sysfs_create_group(struct kobject *kobj,
440 int __must_check sysfs_create_groups(struct kobject *kobj,
442 int __must_check sysfs_update_groups(struct kobject *kobj,
444 int sysfs_update_group(struct kobject *kobj,
446 void sysfs_remove_group(struct kobject *kobj,
448 void sysfs_remove_groups(struct kobject *kobj,
450 int sysfs_add_file_to_group(struct kobject *kobj,
452 void sysfs_remove_file_from_group(struct kobject *kobj,
454 int sysfs_merge_group(struct kobject *kobj,
456 void sysfs_unmerge_group(struct kobject *kobj,
458 int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name,
459 struct kobject *target, const char *link_name);
460 void sysfs_remove_link_from_group(struct kobject *kobj, const char *group_name,
462 int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj,
463 struct kobject *target_kobj,
467 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr);
476 int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid,
478 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid);
479 int sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ,
481 int sysfs_groups_change_owner(struct kobject *kobj,
484 int sysfs_group_change_owner(struct kobject *kobj,
492 ssize_t sysfs_bin_attr_simple_read(struct file *file, struct kobject *kobj,
498 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns()
503 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir()
507 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns()
513 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns()
514 struct kobject *new_parent_kobj, in sysfs_move_dir_ns()
520 static inline int sysfs_create_mount_point(struct kobject *parent_kobj, in sysfs_create_mount_point()
526 static inline void sysfs_remove_mount_point(struct kobject *parent_kobj, in sysfs_remove_mount_point()
531 static inline int sysfs_create_file_ns(struct kobject *kobj, in sysfs_create_file_ns()
538 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files()
544 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file()
551 sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection()
561 static inline void sysfs_remove_file_ns(struct kobject *kobj, in sysfs_remove_file_ns()
567 static inline bool sysfs_remove_file_self(struct kobject *kobj, in sysfs_remove_file_self()
573 static inline void sysfs_remove_files(struct kobject *kobj, in sysfs_remove_files()
578 static inline int sysfs_create_bin_file(struct kobject *kobj, in sysfs_create_bin_file()
584 static inline void sysfs_remove_bin_file(struct kobject *kobj, in sysfs_remove_bin_file()
589 static inline int sysfs_create_link(struct kobject *kobj, in sysfs_create_link()
590 struct kobject *target, const char *name) in sysfs_create_link()
595 static inline int sysfs_create_link_nowarn(struct kobject *kobj, in sysfs_create_link_nowarn()
596 struct kobject *target, in sysfs_create_link_nowarn()
602 static inline void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link()
606 static inline int sysfs_rename_link_ns(struct kobject *k, struct kobject *t, in sysfs_rename_link_ns()
613 static inline void sysfs_delete_link(struct kobject *k, struct kobject *t, in sysfs_delete_link()
618 static inline int sysfs_create_group(struct kobject *kobj, in sysfs_create_group()
624 static inline int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups()
630 static inline int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups()
636 static inline int sysfs_update_group(struct kobject *kobj, in sysfs_update_group()
642 static inline void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group()
647 static inline void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups()
652 static inline int sysfs_add_file_to_group(struct kobject *kobj, in sysfs_add_file_to_group()
658 static inline void sysfs_remove_file_from_group(struct kobject *kobj, in sysfs_remove_file_from_group()
663 static inline int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group()
669 static inline void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group()
674 static inline int sysfs_add_link_to_group(struct kobject *kobj, in sysfs_add_link_to_group()
675 const char *group_name, struct kobject *target, in sysfs_add_link_to_group()
681 static inline void sysfs_remove_link_from_group(struct kobject *kobj, in sysfs_remove_link_from_group()
686 static inline int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj, in compat_only_sysfs_link_entry_to_kobj()
687 struct kobject *target_kobj, in compat_only_sysfs_link_entry_to_kobj()
694 static inline void sysfs_notify(struct kobject *kobj, const char *dir, in sysfs_notify()
708 static inline int sysfs_file_change_owner(struct kobject *kobj, in sysfs_file_change_owner()
715 static inline int sysfs_link_change_owner(struct kobject *kobj, in sysfs_link_change_owner()
716 struct kobject *targ, in sysfs_link_change_owner()
723 static inline int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner()
728 static inline int sysfs_groups_change_owner(struct kobject *kobj, in sysfs_groups_change_owner()
735 static inline int sysfs_group_change_owner(struct kobject *kobj, in sysfs_group_change_owner()
755 struct kobject *kobj, in sysfs_bin_attr_simple_read()
764 static inline int __must_check sysfs_create_file(struct kobject *kobj, in sysfs_create_file()
770 static inline void sysfs_remove_file(struct kobject *kobj, in sysfs_remove_file()
776 static inline int sysfs_rename_link(struct kobject *kobj, struct kobject *target, in sysfs_rename_link()