Lines Matching refs:kernfs_node
26 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) in sysfs_file_ops()
182 struct kernfs_node *kn = kobj->sd, *tmp; in sysfs_notify()
254 int sysfs_add_file_mode_ns(struct kernfs_node *parent, in sysfs_add_file_mode_ns()
262 struct kernfs_node *kn; in sysfs_add_file_mode_ns()
304 int sysfs_add_bin_file_mode_ns(struct kernfs_node *parent, in sysfs_add_bin_file_mode_ns()
311 struct kernfs_node *kn; in sysfs_add_bin_file_mode_ns()
382 struct kernfs_node *parent; in sysfs_add_file_to_group()
416 struct kernfs_node *kn; in sysfs_chmod_file()
444 struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection()
447 struct kernfs_node *kn; in sysfs_break_active_protection()
468 void sysfs_unbreak_active_protection(struct kernfs_node *kn) in sysfs_unbreak_active_protection()
489 struct kernfs_node *parent = kobj->sd; in sysfs_remove_file_ns()
504 struct kernfs_node *parent = kobj->sd; in sysfs_remove_file_self()
505 struct kernfs_node *kn; in sysfs_remove_file_self()
537 struct kernfs_node *parent; in sysfs_remove_file_from_group()
585 static int internal_change_owner(struct kernfs_node *kn, kuid_t kuid, in internal_change_owner()
613 struct kernfs_node *kn = NULL; in sysfs_link_change_owner()
652 struct kernfs_node *kn; in sysfs_file_change_owner()