parent_kn         202 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_add_file(struct kernfs_node *parent_kn, struct rftype *rft)
parent_kn         207 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	kn = __kernfs_create_file(parent_kn, rft->name, rft->mode,
parent_kn        1632 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_create_info_dir(struct kernfs_node *parent_kn)
parent_kn        1640 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	kn_info = kernfs_create_dir(parent_kn, "info", parent_kn->mode, NULL);
parent_kn        1684 arch/x86/kernel/cpu/resctrl/rdtgroup.c mongroup_create_dir(struct kernfs_node *parent_kn, struct rdtgroup *prgrp,
parent_kn        1691 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	kn = kernfs_create_dir(parent_kn, name, parent_kn->mode, prgrp);
parent_kn        1937 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int mkdir_mondata_all(struct kernfs_node *parent_kn,
parent_kn        2308 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int mon_addfile(struct kernfs_node *parent_kn, const char *name,
parent_kn        2314 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	kn = __kernfs_create_file(parent_kn, name, 0444,
parent_kn        2350 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int mkdir_mondata_subdir(struct kernfs_node *parent_kn,
parent_kn        2363 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	kn = kernfs_create_dir(parent_kn, name, parent_kn->mode, prgrp);
parent_kn        2407 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *parent_kn;
parent_kn        2415 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		parent_kn = prgrp->mon.mon_data_kn;
parent_kn        2416 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		mkdir_mondata_subdir(parent_kn, d, r, prgrp);
parent_kn        2420 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			parent_kn = crgrp->mon.mon_data_kn;
parent_kn        2421 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			mkdir_mondata_subdir(parent_kn, d, r, crgrp);
parent_kn        2426 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int mkdir_mondata_subdir_alldom(struct kernfs_node *parent_kn,
parent_kn        2434 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		ret = mkdir_mondata_subdir(parent_kn, dom, r, prgrp);
parent_kn        2459 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int mkdir_mondata_all(struct kernfs_node *parent_kn,
parent_kn        2470 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	ret = mongroup_create_dir(parent_kn, prgrp, "mon_data", &kn);
parent_kn        2659 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int mkdir_rdt_prepare(struct kernfs_node *parent_kn,
parent_kn        2669 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	prdtgrp = rdtgroup_kn_lock_live(parent_kn);
parent_kn        2696 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	kn = kernfs_create_dir(parent_kn, name, mode, rdtgrp);
parent_kn        2753 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	rdtgroup_kn_unlock(parent_kn);
parent_kn        2769 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_mkdir_mon(struct kernfs_node *parent_kn,
parent_kn        2777 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	ret = mkdir_rdt_prepare(parent_kn, prgrp_kn, name, mode, RDTMON_GROUP,
parent_kn        2791 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	rdtgroup_kn_unlock(parent_kn);
parent_kn        2799 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_mkdir_ctrl_mon(struct kernfs_node *parent_kn,
parent_kn        2808 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	ret = mkdir_rdt_prepare(parent_kn, prgrp_kn, name, mode, RDTCTRL_GROUP,
parent_kn        2850 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	rdtgroup_kn_unlock(parent_kn);
parent_kn        2870 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_mkdir(struct kernfs_node *parent_kn, const char *name,
parent_kn        2882 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	if (rdt_alloc_capable && parent_kn == rdtgroup_default.kn)
parent_kn        2883 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		return rdtgroup_mkdir_ctrl_mon(parent_kn, parent_kn, name, mode);
parent_kn        2889 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	if (rdt_mon_capable && is_mon_groups(parent_kn, name))
parent_kn        2890 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		return rdtgroup_mkdir_mon(parent_kn, parent_kn->parent, name, mode);
parent_kn        2988 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct kernfs_node *parent_kn = kn->parent;
parent_kn        3009 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	if (rdtgrp->type == RDTCTRL_GROUP && parent_kn == rdtgroup_default.kn &&
parent_kn        3018 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		 is_mon_groups(parent_kn, kn->name)) {
parent_kn         241 kernel/cgroup/cgroup-internal.h int cgroup_mkdir(struct kernfs_node *parent_kn, const char *name, umode_t mode);
parent_kn        5369 kernel/cgroup/cgroup.c int cgroup_mkdir(struct kernfs_node *parent_kn, const char *name, umode_t mode)
parent_kn        5379 kernel/cgroup/cgroup.c 	parent = cgroup_kn_lock_live(parent_kn, false);
parent_kn        5431 kernel/cgroup/cgroup.c 	cgroup_kn_unlock(parent_kn);