Searched refs:ADJTOSLOT (Results 1 – 1 of 1) sorted by relevance
345 #define ADJTOSLOT(adj) ((adj) + -OOM_SCORE_ADJ_MIN) macro346 #define ADJTOSLOT_COUNT (ADJTOSLOT(OOM_SCORE_ADJ_MAX) + 1)481 int adjslot = ADJTOSLOT(procp->oomadj); in proc_slot()674 for (i = 0; i <= ADJTOSLOT(OOM_SCORE_ADJ_MAX); i++) { in cmd_procpurge()691 int slot = ADJTOSLOT(oomadj); in inc_killcnt()727 (slot = ADJTOSLOT(min_oomadj)) < ADJTOSLOT_COUNT) { in get_killcnt()1268 return (struct proc *)adjslot_tail(&procadjslot_list[ADJTOSLOT(oomadj)]); in proc_adj_lru()1272 struct adjslot_list *head = &procadjslot_list[ADJTOSLOT(oomadj)]; in proc_get_heaviest()1932 for (i = 0; i <= ADJTOSLOT(OOM_SCORE_ADJ_MAX); i++) { in init()