Searched refs:CgroupController (Results 1 – 11 of 11) sorted by relevance
/system/core/libprocessgroup/cgrouprc_format/ |
D | cgroup_controller.cpp | 23 CgroupController::CgroupController() : version_(0), flags_(0) { in CgroupController() function in android::cgrouprc::format::CgroupController 28 CgroupController::CgroupController(uint32_t version, uint32_t flags, const std::string& name, in CgroupController() function in android::cgrouprc::format::CgroupController 30 : CgroupController() { in CgroupController() 42 uint32_t CgroupController::version() const { in version() 46 uint32_t CgroupController::flags() const { in flags() 50 const char* CgroupController::name() const { in name() 54 const char* CgroupController::path() const { in path() 58 void CgroupController::set_flags(uint32_t flags) { in set_flags()
|
/system/core/libprocessgroup/ |
D | cgroup_map.cpp | 51 uint32_t CgroupController::version() const { in version() 56 const char* CgroupController::name() const { in name() 61 const char* CgroupController::path() const { in path() 66 bool CgroupController::HasValue() const { in HasValue() 70 bool CgroupController::IsUsable() { in IsUsable() 85 std::string CgroupController::GetTasksFilePath(const std::string& rel_path) const { in GetTasksFilePath() 94 std::string CgroupController::GetProcsFilePath(const std::string& rel_path, uid_t uid, in GetProcsFilePath() 104 bool CgroupController::GetTaskGroup(int tid, std::string* group) const { in GetTaskGroup() 188 CgroupController CgroupMap::FindController(const std::string& name) const { in FindController() 192 return CgroupController(nullptr); in FindController() [all …]
|
D | cgroup_map.h | 31 class CgroupController { 34 explicit CgroupController(const ACgroupController* controller) in CgroupController() function 64 CgroupController FindController(const std::string& name) const;
|
D | task_profiles.h | 31 ProfileAttribute(const CgroupController& controller, const std::string& file_name) in ProfileAttribute() 34 const CgroupController* controller() const { return &controller_; } in controller() 36 void Reset(const CgroupController& controller, const std::string& file_name); 41 CgroupController controller_; 114 SetCgroupAction(const CgroupController& c, const std::string& p); 121 const CgroupController* controller() const { return &controller_; } in controller() 131 CgroupController controller_;
|
D | task_profiles.cpp | 54 void ProfileAttribute::Reset(const CgroupController& controller, const std::string& file_name) { in Reset() 151 SetCgroupAction::SetCgroupAction(const CgroupController& c, const std::string& p) in SetCgroupAction()
|
/system/core/libprocessgroup/cgrouprc_format/include/processgroup/format/ |
D | cgroup_controller.h | 27 struct CgroupController { struct 29 CgroupController(); 30 CgroupController(uint32_t version, uint32_t flags, const std::string& name,
|
D | cgroup_file.h | 28 CgroupController controllers_[];
|
/system/core/libprocessgroup/setup/ |
D | cgroup_descriptor.h | 30 const format::CgroupController* controller() const { return &controller_; } in controller() 38 format::CgroupController controller_;
|
D | cgroup_map_write.cpp | 253 const format::CgroupController* controller = descriptor.controller(); in SetupCgroup() 357 write(fd, descriptor.controller(), sizeof(format::CgroupController))); in WriteRcFile()
|
/system/core/libprocessgroup/cgrouprc/ |
D | cgrouprc_internal.h | 24 struct ACgroupController : android::cgrouprc::format::CgroupController {};
|
D | cgroup_file.cpp | 33 using android::cgrouprc::format::CgroupController; 68 auto expected = sizeof(CgroupFile) + file_data->controller_count_ * sizeof(CgroupController); in LoadRcFile()
|