Home
last modified time | relevance | path

Searched refs:CgroupController (Results 1 – 11 of 11) sorted by relevance

/system/core/libprocessgroup/cgrouprc_format/
Dcgroup_controller.cpp23 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/
Dcgroup_map.cpp51 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()
80 std::string CgroupController::GetTasksFilePath(const std::string& rel_path) const { in GetTasksFilePath()
89 std::string CgroupController::GetProcsFilePath(const std::string& rel_path, uid_t uid, in GetProcsFilePath()
99 bool CgroupController::GetTaskGroup(int tid, std::string* group) const { in GetTaskGroup()
170 CgroupController CgroupMap::FindController(const std::string& name) const { in FindController()
174 return CgroupController(nullptr); in FindController()
[all …]
Dcgroup_map.h31 class CgroupController {
34 explicit CgroupController(const ACgroupController* controller) in CgroupController() function
64 CgroupController FindController(const std::string& name) const;
Dtask_profiles.h31 ProfileAttribute(const CgroupController& controller, const std::string& file_name) in ProfileAttribute()
34 const CgroupController* controller() const { return &controller_; } in controller()
40 CgroupController controller_;
112 SetCgroupAction(const CgroupController& c, const std::string& p);
118 const CgroupController* controller() const { return &controller_; } in controller()
128 CgroupController controller_;
Dtask_profiles.cpp139 SetCgroupAction::SetCgroupAction(const CgroupController& c, const std::string& p) in SetCgroupAction()
/system/core/libprocessgroup/cgrouprc_format/include/processgroup/format/
Dcgroup_controller.h27 struct CgroupController { struct
29 CgroupController();
30 CgroupController(uint32_t version, uint32_t flags, const std::string& name,
Dcgroup_file.h28 CgroupController controllers_[];
/system/core/libprocessgroup/setup/
Dcgroup_descriptor.h30 const format::CgroupController* controller() const { return &controller_; } in controller()
38 format::CgroupController controller_;
Dcgroup_map_write.cpp193 const format::CgroupController* controller = descriptor.controller(); in SetupCgroup()
258 write(fd, descriptor.controller(), sizeof(format::CgroupController))); in WriteRcFile()
/system/core/libprocessgroup/cgrouprc/
Dcgrouprc_internal.h24 struct ACgroupController : android::cgrouprc::format::CgroupController {};
Dcgroup_file.cpp33 using android::cgrouprc::format::CgroupController;
68 auto expected = sizeof(CgroupFile) + file_data->controller_count_ * sizeof(CgroupController); in LoadRcFile()