Home
last modified time | relevance | path

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

/system/memory/lmkd/
Dlmkd.cpp512 #define ADJTOSLOT(adj) ((adj) + -OOM_SCORE_ADJ_MIN) macro
513 #define ADJTOSLOT_COUNT (ADJTOSLOT(OOM_SCORE_ADJ_MAX) + 1)
853 int adjslot = ADJTOSLOT(procp->oomadj); in proc_slot()
1230 int slot = ADJTOSLOT(oomadj); in inc_killcnt()
1266 (slot = ADJTOSLOT(min_oomadj)) < ADJTOSLOT_COUNT) { in get_killcnt()
1884 return (struct proc *)adjslot_tail(&procadjslot_list[ADJTOSLOT(oomadj)]); in proc_adj_lru()
1888 struct adjslot_list *head = &procadjslot_list[ADJTOSLOT(oomadj)]; in proc_get_heaviest()
3040 for (i = 0; i <= ADJTOSLOT(OOM_SCORE_ADJ_MAX); i++) { in init()