Lines Matching refs:kernfs_node

43 static struct kernfs_node *kn_info;
46 static struct kernfs_node *kn_mongrp;
49 static struct kernfs_node *kn_mondata;
189 static int rdtgroup_kn_set_ugid(struct kernfs_node *kn) in rdtgroup_kn_set_ugid()
202 static int rdtgroup_add_file(struct kernfs_node *parent_kn, struct rftype *rft) in rdtgroup_add_file()
204 struct kernfs_node *kn; in rdtgroup_add_file()
1627 static int rdtgroup_add_files(struct kernfs_node *kn, unsigned long fflags) in rdtgroup_add_files()
1702 struct kernfs_node *kn; in rdtgroup_kn_mode_restrict()
1741 struct kernfs_node *kn, *parent; in rdtgroup_kn_mode_restore()
1782 struct kernfs_node *kn_subdir; in rdtgroup_mkdir_info_resdir()
1801 static int rdtgroup_create_info_dir(struct kernfs_node *parent_kn) in rdtgroup_create_info_dir()
1846 mongroup_create_dir(struct kernfs_node *parent_kn, struct rdtgroup *prgrp, in mongroup_create_dir()
1847 char *name, struct kernfs_node **dest_kn) in mongroup_create_dir()
1849 struct kernfs_node *kn; in mongroup_create_dir()
2039 static struct rdtgroup *kernfs_to_rdtgroup(struct kernfs_node *kn) in kernfs_to_rdtgroup()
2057 struct rdtgroup *rdtgroup_kn_lock_live(struct kernfs_node *kn) in rdtgroup_kn_lock_live()
2076 void rdtgroup_kn_unlock(struct kernfs_node *kn) in rdtgroup_kn_unlock()
2097 static int mkdir_mondata_all(struct kernfs_node *parent_kn,
2099 struct kernfs_node **mon_data_kn);
2449 static int mon_addfile(struct kernfs_node *parent_kn, const char *name, in mon_addfile()
2452 struct kernfs_node *kn; in mon_addfile()
2491 static int mkdir_mondata_subdir(struct kernfs_node *parent_kn, in mkdir_mondata_subdir()
2496 struct kernfs_node *kn; in mkdir_mondata_subdir()
2543 struct kernfs_node *parent_kn; in mkdir_mondata_subdir_allrdtgrp()
2562 static int mkdir_mondata_subdir_alldom(struct kernfs_node *parent_kn, in mkdir_mondata_subdir_alldom()
2595 static int mkdir_mondata_all(struct kernfs_node *parent_kn, in mkdir_mondata_all()
2597 struct kernfs_node **dest_kn) in mkdir_mondata_all()
2600 struct kernfs_node *kn; in mkdir_mondata_all()
2795 static int mkdir_rdt_prepare(struct kernfs_node *parent_kn, in mkdir_rdt_prepare()
2800 struct kernfs_node *kn; in mkdir_rdt_prepare()
2905 static int rdtgroup_mkdir_mon(struct kernfs_node *parent_kn, in rdtgroup_mkdir_mon()
2932 static int rdtgroup_mkdir_ctrl_mon(struct kernfs_node *parent_kn, in rdtgroup_mkdir_ctrl_mon()
2936 struct kernfs_node *kn; in rdtgroup_mkdir_ctrl_mon()
2995 static bool is_mon_groups(struct kernfs_node *kn, const char *name) in is_mon_groups()
3001 static int rdtgroup_mkdir(struct kernfs_node *parent_kn, const char *name, in rdtgroup_mkdir()
3026 static int rdtgroup_rmdir_mon(struct kernfs_node *kn, struct rdtgroup *rdtgrp, in rdtgroup_rmdir_mon()
3059 static int rdtgroup_ctrl_remove(struct kernfs_node *kn, in rdtgroup_ctrl_remove()
3069 static int rdtgroup_rmdir_ctrl(struct kernfs_node *kn, struct rdtgroup *rdtgrp, in rdtgroup_rmdir_ctrl()
3107 static int rdtgroup_rmdir(struct kernfs_node *kn) in rdtgroup_rmdir()
3109 struct kernfs_node *parent_kn = kn->parent; in rdtgroup_rmdir()