Lines Matching refs:container_name
83 def full_path(container_name): argument
85 return os.path.join(super_root_path, container_name)
92 def cpuset_attr(container_name, attr): argument
94 return os.path.join(super_root_path, container_name, cpuset_prefix+attr)
97 def io_attr(container_name, attr): argument
100 return os.path.join(super_root_path, container_name, 'io.'+attr)
103 def tasks_path(container_name): argument
104 return os.path.join(full_path(container_name), 'tasks')
107 def mems_path(container_name): argument
108 return cpuset_attr(container_name, 'mems')
111 def memory_path(container_name): argument
112 return os.path.join(super_root_path, container_name, 'memory')
115 def cpus_path(container_name): argument
116 return cpuset_attr(container_name, 'cpus')
219 def get_mem_nodes(container_name): argument
221 file_name = mems_path(container_name)
309 def get_cpus(container_name): argument
310 file_name = cpus_path(container_name)
317 def get_tasks(container_name): argument
318 file_name = tasks_path(container_name)
354 def release_container(container_name=None): argument
357 if container_name is None:
358 container_name = my_container
359 _release_container_nest(container_name)
380 def set_io_controls(container_name, disks=[], ioprio_classes=[PROPIO_NORMAL], argument
406 service_level = io_attr(container_name, 'io_service_level')
418 container_name, ', '.join(disk_infos))