Home
last modified time | relevance | path

Searched refs:cpus_dir (Results 1 – 2 of 2) sorted by relevance

/arch/s390/hypfs/
Dhypfs_vm.c126 struct dentry *guest_dir, *cpus_dir, *samples_dir, *mem_dir; in hpyfs_vm_create_guest() local
142 cpus_dir = hypfs_mkdir(guest_dir, "cpus"); in hpyfs_vm_create_guest()
143 if (IS_ERR(cpus_dir)) in hpyfs_vm_create_guest()
144 return PTR_ERR(cpus_dir); in hpyfs_vm_create_guest()
145 ATTRIBUTE(cpus_dir, "cputime_us", data->used_cpu); in hpyfs_vm_create_guest()
146 ATTRIBUTE(cpus_dir, "capped", capped_value); in hpyfs_vm_create_guest()
147 ATTRIBUTE(cpus_dir, "dedicated", dedicated_flag); in hpyfs_vm_create_guest()
148 ATTRIBUTE(cpus_dir, "count", data->vcpus); in hpyfs_vm_create_guest()
154 ATTRIBUTE(cpus_dir, "weight_min", data->ocpus); in hpyfs_vm_create_guest()
155 ATTRIBUTE(cpus_dir, "weight_max", data->cpu_max); in hpyfs_vm_create_guest()
[all …]
Dhypfs_diag.c634 static int hypfs_create_cpu_files(struct dentry *cpus_dir, void *cpu_info) in hypfs_create_cpu_files() argument
642 cpu_dir = hypfs_mkdir(cpus_dir, buffer); in hypfs_create_cpu_files()
666 struct dentry *cpus_dir; in hypfs_create_lpar_files() local
677 cpus_dir = hypfs_mkdir(lpar_dir, "cpus"); in hypfs_create_lpar_files()
678 if (IS_ERR(cpus_dir)) in hypfs_create_lpar_files()
679 return cpus_dir; in hypfs_create_lpar_files()
683 rc = hypfs_create_cpu_files(cpus_dir, cpu_info); in hypfs_create_lpar_files()
691 static int hypfs_create_phys_cpu_files(struct dentry *cpus_dir, void *cpu_info) in hypfs_create_phys_cpu_files() argument
699 cpu_dir = hypfs_mkdir(cpus_dir, buffer); in hypfs_create_phys_cpu_files()
715 struct dentry *cpus_dir; in hypfs_create_phys_files() local
[all …]