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()
206 struct kernfs_node *kn = kobj->sd, *tmp; in sysfs_notify()
279 int sysfs_add_file_mode_ns(struct kernfs_node *parent, in sysfs_add_file_mode_ns()
287 struct kernfs_node *kn; in sysfs_add_file_mode_ns()
329 int sysfs_add_bin_file_mode_ns(struct kernfs_node *parent, in sysfs_add_bin_file_mode_ns()
336 struct kernfs_node *kn; in sysfs_add_bin_file_mode_ns()
413 struct kernfs_node *parent; in sysfs_add_file_to_group()
447 struct kernfs_node *kn; in sysfs_chmod_file()
475 struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection()
478 struct kernfs_node *kn; in sysfs_break_active_protection()
501 void sysfs_unbreak_active_protection(struct kernfs_node *kn) in sysfs_unbreak_active_protection()
522 struct kernfs_node *parent = kobj->sd; in sysfs_remove_file_ns()
537 struct kernfs_node *parent = kobj->sd; in sysfs_remove_file_self()
538 struct kernfs_node *kn; in sysfs_remove_file_self()
570 struct kernfs_node *parent; in sysfs_remove_file_from_group()
618 static int internal_change_owner(struct kernfs_node *kn, kuid_t kuid, in internal_change_owner()
646 struct kernfs_node *kn = NULL; in sysfs_link_change_owner()
685 struct kernfs_node *kn; in sysfs_file_change_owner()