Lines Matching refs:kernfs_node

46 static struct kernfs_node *kn_info;
49 static struct kernfs_node *kn_mongrp;
52 static struct kernfs_node *kn_mondata;
205 static int rdtgroup_kn_set_ugid(struct kernfs_node *kn) in rdtgroup_kn_set_ugid()
218 static int rdtgroup_add_file(struct kernfs_node *parent_kn, struct rftype *rft) in rdtgroup_add_file()
220 struct kernfs_node *kn; in rdtgroup_add_file()
1847 static int rdtgroup_add_files(struct kernfs_node *kn, unsigned long fflags) in rdtgroup_add_files()
1931 struct kernfs_node *kn; in rdtgroup_kn_mode_restrict()
1970 struct kernfs_node *kn, *parent; in rdtgroup_kn_mode_restore()
2011 struct kernfs_node *kn_subdir; in rdtgroup_mkdir_info_resdir()
2030 static int rdtgroup_create_info_dir(struct kernfs_node *parent_kn) in rdtgroup_create_info_dir()
2078 mongroup_create_dir(struct kernfs_node *parent_kn, struct rdtgroup *prgrp, in mongroup_create_dir()
2079 char *name, struct kernfs_node **dest_kn) in mongroup_create_dir()
2081 struct kernfs_node *kn; in mongroup_create_dir()
2292 static struct rdtgroup *kernfs_to_rdtgroup(struct kernfs_node *kn) in kernfs_to_rdtgroup()
2310 static void rdtgroup_kn_get(struct rdtgroup *rdtgrp, struct kernfs_node *kn) in rdtgroup_kn_get()
2316 static void rdtgroup_kn_put(struct rdtgroup *rdtgrp, struct kernfs_node *kn) in rdtgroup_kn_put()
2330 struct rdtgroup *rdtgroup_kn_lock_live(struct kernfs_node *kn) in rdtgroup_kn_lock_live()
2348 void rdtgroup_kn_unlock(struct kernfs_node *kn) in rdtgroup_kn_unlock()
2359 static int mkdir_mondata_all(struct kernfs_node *parent_kn,
2361 struct kernfs_node **mon_data_kn);
2809 static int mon_addfile(struct kernfs_node *parent_kn, const char *name, in mon_addfile()
2812 struct kernfs_node *kn; in mon_addfile()
2849 static int mkdir_mondata_subdir(struct kernfs_node *parent_kn, in mkdir_mondata_subdir()
2854 struct kernfs_node *kn; in mkdir_mondata_subdir()
2901 struct kernfs_node *parent_kn; in mkdir_mondata_subdir_allrdtgrp()
2917 static int mkdir_mondata_subdir_alldom(struct kernfs_node *parent_kn, in mkdir_mondata_subdir_alldom()
2950 static int mkdir_mondata_all(struct kernfs_node *parent_kn, in mkdir_mondata_all()
2952 struct kernfs_node **dest_kn) in mkdir_mondata_all()
2955 struct kernfs_node *kn; in mkdir_mondata_all()
3170 static int mkdir_rdt_prepare(struct kernfs_node *parent_kn, in mkdir_rdt_prepare()
3175 struct kernfs_node *kn; in mkdir_rdt_prepare()
3280 static int rdtgroup_mkdir_mon(struct kernfs_node *parent_kn, in rdtgroup_mkdir_mon()
3307 static int rdtgroup_mkdir_ctrl_mon(struct kernfs_node *parent_kn, in rdtgroup_mkdir_ctrl_mon()
3311 struct kernfs_node *kn; in rdtgroup_mkdir_ctrl_mon()
3370 static bool is_mon_groups(struct kernfs_node *kn, const char *name) in is_mon_groups()
3376 static int rdtgroup_mkdir(struct kernfs_node *parent_kn, const char *name, in rdtgroup_mkdir()
3479 static int rdtgroup_rmdir(struct kernfs_node *kn) in rdtgroup_rmdir()
3481 struct kernfs_node *parent_kn = kn->parent; in rdtgroup_rmdir()
3559 static int rdtgroup_rename(struct kernfs_node *kn, in rdtgroup_rename()
3560 struct kernfs_node *new_parent, const char *new_name) in rdtgroup_rename()