Home
last modified time | relevance | path

Searched refs:CgroupFile (Results 1 – 3 of 3) sorted by relevance

/system/core/libprocessgroup/cgrouprc/
Dcgroup_file.cpp34 using android::cgrouprc::format::CgroupFile;
36 static CgroupFile* LoadRcFile() { in LoadRcFile()
51 if (file_size < sizeof(CgroupFile)) { in LoadRcFile()
56 CgroupFile* file_data = (CgroupFile*)mmap(nullptr, file_size, PROT_READ, MAP_SHARED, fd, 0); in LoadRcFile()
62 if (file_data->version_ != CgroupFile::FILE_CURR_VERSION) { in LoadRcFile()
68 auto expected = sizeof(CgroupFile) + file_data->controller_count_ * sizeof(CgroupController); in LoadRcFile()
79 static CgroupFile* GetInstance() { in GetInstance()
/system/core/libprocessgroup/cgrouprc_format/include/processgroup/format/
Dcgroup_file.h25 struct CgroupFile { struct
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp346 format::CgroupFile fl; in WriteRcFile()
347 fl.version_ = format::CgroupFile::FILE_CURR_VERSION; in WriteRcFile()