Lines Matching refs:kernfs_node
22 static struct kobject *sysfs_file_kobj(struct kernfs_node *kn) in sysfs_file_kobj()
32 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) in sysfs_file_ops()
200 struct kernfs_node *kn = kobj->sd, *tmp; in sysfs_notify()
273 int sysfs_add_file_mode_ns(struct kernfs_node *parent, in sysfs_add_file_mode_ns()
281 struct kernfs_node *kn; in sysfs_add_file_mode_ns()
323 int sysfs_add_bin_file_mode_ns(struct kernfs_node *parent, in sysfs_add_bin_file_mode_ns()
330 struct kernfs_node *kn; in sysfs_add_bin_file_mode_ns()
401 struct kernfs_node *parent; in sysfs_add_file_to_group()
435 struct kernfs_node *kn; in sysfs_chmod_file()
463 struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection()
466 struct kernfs_node *kn; in sysfs_break_active_protection()
489 void sysfs_unbreak_active_protection(struct kernfs_node *kn) in sysfs_unbreak_active_protection()
510 struct kernfs_node *parent = kobj->sd; in sysfs_remove_file_ns()
525 struct kernfs_node *parent = kobj->sd; in sysfs_remove_file_self()
526 struct kernfs_node *kn; in sysfs_remove_file_self()
558 struct kernfs_node *parent; in sysfs_remove_file_from_group()
606 static int internal_change_owner(struct kernfs_node *kn, kuid_t kuid, in internal_change_owner()
634 struct kernfs_node *kn = NULL; in sysfs_link_change_owner()
673 struct kernfs_node *kn; in sysfs_file_change_owner()