Home
last modified time | relevance | path

Searched refs:oomadj (Results 1 – 5 of 5) sorted by relevance

/system/core/lmkd/
Dlmkd.c327 int oomadj; member
481 int adjslot = ADJTOSLOT(procp->oomadj); in proc_slot()
565 if (params.oomadj < OOM_SCORE_ADJ_MIN || in cmd_procprio()
566 params.oomadj > OOM_SCORE_ADJ_MAX) { in cmd_procprio()
567 ALOGE("Invalid PROCPRIO oomadj argument %d", params.oomadj); in cmd_procprio()
575 snprintf(val, sizeof(val), "%d", params.oomadj); in cmd_procprio()
588 if (params.oomadj >= 900) { in cmd_procprio()
590 } else if (params.oomadj >= 800) { in cmd_procprio()
592 } else if (params.oomadj >= 700) { in cmd_procprio()
594 } else if (params.oomadj >= 600) { in cmd_procprio()
[all …]
/system/core/lmkd/tests/
Dlmkd_test.cpp185 int oomadj; member
241 data->oomadj = OOM_ADJ_MAX; in runMemStressTest()
242 while (data->oomadj >= OOM_ADJ_MIN) { in runMemStressTest()
252 params.oomadj = data->oomadj; in runMemStressTest()
266 data->oomadj -= OOM_ADJ_STEP; in runMemStressTest()
272 << data->oomadj; in runMemStressTest()
/system/core/lmkd/include/
Dlmkd.h94 int oomadj; member
104 params->oomadj = ntohl(packet[3]); in lmkd_pack_get_procprio()
115 packet[3] = htonl(params->oomadj); in lmkd_pack_set_procprio()
/system/core/libmeminfo/tools/
Dprocrank.cpp99 int32_t oomadj() const { return oomadj_; } in oomadj() function
228 ss << ::android::base::StringPrintf("%5d ", proc.oomadj()); in print_process_record()
367 return reverse_sort ? a.oomadj() < b.oomadj() : a.oomadj() > b.oomadj(); in main()
/system/extras/alloc-stress/
Dalloc-stress.cpp145 static void write_oomadj_to_lmkd(int oomadj) { in write_oomadj_to_lmkd() argument
163 lmk_procprio_cmd[3] = htonl(oomadj); in write_oomadj_to_lmkd()