Searched refs:ADJTOSLOT (Results 1 – 1 of 1) sorted by relevance
521 #define ADJTOSLOT(adj) ((adj) + -OOM_SCORE_ADJ_MIN) macro522 #define ADJTOSLOT_COUNT (ADJTOSLOT(OOM_SCORE_ADJ_MAX) + 1)913 int adjslot = ADJTOSLOT(procp->oomadj); in proc_slot()1293 int slot = ADJTOSLOT(oomadj); in inc_killcnt()1329 (slot = ADJTOSLOT(min_oomadj)) < ADJTOSLOT_COUNT) { in get_killcnt()1964 return (struct proc *)adjslot_tail(&procadjslot_list[ADJTOSLOT(oomadj)]); in proc_adj_lru()1968 struct adjslot_list *head = &procadjslot_list[ADJTOSLOT(oomadj)]; in proc_get_heaviest()3217 for (i = 0; i <= ADJTOSLOT(OOM_SCORE_ADJ_MAX); i++) { in init()