Lines Matching refs:kernfs_node
26 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) in sysfs_file_ops()
185 struct kernfs_node *kn = kobj->sd, *tmp; in sysfs_notify()
257 int sysfs_add_file_mode_ns(struct kernfs_node *parent, in sysfs_add_file_mode_ns()
263 struct kernfs_node *kn; in sysfs_add_file_mode_ns()
372 struct kernfs_node *parent; in sysfs_add_file_to_group()
406 struct kernfs_node *kn; in sysfs_chmod_file()
434 struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection()
437 struct kernfs_node *kn; in sysfs_break_active_protection()
458 void sysfs_unbreak_active_protection(struct kernfs_node *kn) in sysfs_unbreak_active_protection()
479 struct kernfs_node *parent = kobj->sd; in sysfs_remove_file_ns()
494 struct kernfs_node *parent = kobj->sd; in sysfs_remove_file_self()
495 struct kernfs_node *kn; in sysfs_remove_file_self()
527 struct kernfs_node *parent; in sysfs_remove_file_from_group()
575 static int internal_change_owner(struct kernfs_node *kn, kuid_t kuid, in internal_change_owner()
603 struct kernfs_node *kn = NULL; in sysfs_link_change_owner()
642 struct kernfs_node *kn; in sysfs_file_change_owner()