Searched refs:procs (Results 1 – 6 of 6) sorted by relevance
/system/memory/lmkd/include/ |
D | lmkd.h | 333 struct lmk_procprio procs[PROCS_PRIO_MAX_RECORD_COUNT]; member 349 params->procs[procs_idx].pid = (pid_t)ntohl(packet[packetIdx++]); in lmkd_pack_get_procs_prio() 350 params->procs[procs_idx].uid = (uid_t)ntohl(packet[packetIdx++]); in lmkd_pack_get_procs_prio() 351 params->procs[procs_idx].oomadj = ntohl(packet[packetIdx++]); in lmkd_pack_get_procs_prio() 352 params->procs[procs_idx].ptype = (enum proc_type)ntohl(packet[packetIdx++]); in lmkd_pack_get_procs_prio() 369 packet[packetIdx++] = htonl(params->procs[i].pid); in lmkd_pack_set_procs_prio() 370 packet[packetIdx++] = htonl(params->procs[i].uid); in lmkd_pack_set_procs_prio() 371 packet[packetIdx++] = htonl(params->procs[i].oomadj); in lmkd_pack_set_procs_prio() 372 packet[packetIdx++] = htonl((int)params->procs[i].ptype); in lmkd_pack_set_procs_prio()
|
/system/memory/libmeminfo/libsmapinfo/ |
D | smapinfo.cpp | 143 std::vector<ProcessRecord>* procs, in populate_procs() argument 189 procs->push_back(proc); in populate_procs() 356 std::vector<ProcessRecord> procs; in run_procrank() local 357 if (!procrank::populate_procs(¶ms, pgflags, pgflags_mask, swap_offset_array, pids, &procs, in run_procrank() 362 if (procs.empty()) { in run_procrank() 379 std::sort(procs.rbegin(), procs.rend(), proc_sort); in run_procrank() 381 std::sort(procs.begin(), procs.end(), proc_sort); in run_procrank() 386 for (auto& proc : procs) { in run_procrank() 692 const std::vector<LibProcRecord>& procs, std::ostream& out) { in print_procs() argument 693 for (const LibProcRecord& p : procs) { in print_procs() [all …]
|
/system/core/rootdir/ |
D | init.rc | 130 chown system system /dev/stune/cgroup.procs 131 chown system system /dev/stune/foreground/cgroup.procs 132 chown system system /dev/stune/background/cgroup.procs 133 chown system system /dev/stune/top-app/cgroup.procs 134 chown system system /dev/stune/rt/cgroup.procs 140 chmod 0664 /dev/stune/cgroup.procs 141 chmod 0664 /dev/stune/foreground/cgroup.procs 142 chmod 0664 /dev/stune/background/cgroup.procs 143 chmod 0664 /dev/stune/top-app/cgroup.procs 144 chmod 0664 /dev/stune/rt/cgroup.procs [all …]
|
/system/memory/lmkd/ |
D | lmkd.cpp | 1510 if (params.procs[i].oomadj < OOM_SCORE_ADJ_MIN || in handle_io_uring_procs_prio() 1511 params.procs[i].oomadj > OOM_SCORE_ADJ_MAX) in handle_io_uring_procs_prio() 1512 ALOGW("Skipping invalid PROCS_PRIO oomadj=%d for pid=%d", params.procs[i].oomadj, in handle_io_uring_procs_prio() 1513 params.procs[i].pid); in handle_io_uring_procs_prio() 1514 else if (params.procs[i].ptype < PROC_TYPE_FIRST || in handle_io_uring_procs_prio() 1515 params.procs[i].ptype >= PROC_TYPE_COUNT) in handle_io_uring_procs_prio() 1517 params.procs[i].pid, params.procs[i].ptype); in handle_io_uring_procs_prio() 1519 snprintf(path, PROCFS_PATH_MAX, "/proc/%d/status", params.procs[i].pid); in handle_io_uring_procs_prio() 1526 params.procs[i].pid); in handle_io_uring_procs_prio() 1571 tgid != params.procs[procs_idx].pid) { in handle_io_uring_procs_prio() [all …]
|
/system/extras/cpu_loads/ |
D | README.md | 31 echo $$ > /dev/cpuset/cpu7/cgroup.procs
|
/system/memory/lmkd/tests/ |
D | lmkd_tests.cpp | 304 procs_prio_request.procs[i] = {.pid = children_info[i].pid, in TEST_F()
|