Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/s390/hypfs/
Dhypfs_vm.c127 struct dentry *guest_dir, *cpus_dir, *samples_dir, *mem_dir; in hypfs_vm_create_guest() local
143 cpus_dir = hypfs_mkdir(guest_dir, "cpus"); in hypfs_vm_create_guest()
144 if (IS_ERR(cpus_dir)) in hypfs_vm_create_guest()
145 return PTR_ERR(cpus_dir); in hypfs_vm_create_guest()
146 ATTRIBUTE(cpus_dir, "cputime_us", data->used_cpu); in hypfs_vm_create_guest()
147 ATTRIBUTE(cpus_dir, "capped", capped_value); in hypfs_vm_create_guest()
148 ATTRIBUTE(cpus_dir, "dedicated", dedicated_flag); in hypfs_vm_create_guest()
149 ATTRIBUTE(cpus_dir, "count", data->vcpus); in hypfs_vm_create_guest()
155 ATTRIBUTE(cpus_dir, "weight_min", data->ocpus); in hypfs_vm_create_guest()
156 ATTRIBUTE(cpus_dir, "weight_max", data->cpu_max); in hypfs_vm_create_guest()
[all …]
Dhypfs_diag.c472 static int hypfs_create_cpu_files(struct dentry *cpus_dir, void *cpu_info) in hypfs_create_cpu_files() argument
480 cpu_dir = hypfs_mkdir(cpus_dir, buffer); in hypfs_create_cpu_files()
504 struct dentry *cpus_dir; in hypfs_create_lpar_files() local
515 cpus_dir = hypfs_mkdir(lpar_dir, "cpus"); in hypfs_create_lpar_files()
516 if (IS_ERR(cpus_dir)) in hypfs_create_lpar_files()
517 return cpus_dir; in hypfs_create_lpar_files()
521 rc = hypfs_create_cpu_files(cpus_dir, cpu_info); in hypfs_create_lpar_files()
529 static int hypfs_create_phys_cpu_files(struct dentry *cpus_dir, void *cpu_info) in hypfs_create_phys_cpu_files() argument
537 cpu_dir = hypfs_mkdir(cpus_dir, buffer); in hypfs_create_phys_cpu_files()
553 struct dentry *cpus_dir; in hypfs_create_phys_files() local
[all …]