Searched refs:prev_pid (Results 1 – 5 of 5) sorted by relevance
54 int prev_pid; member119 if (old_last && args->prev_pid != cpu_pid) return ALLOW;135 if (!args->prev_pid || (!old_last && args->next_pid)) {146 if (!args->prev_pid || !old_last) return ALLOW;180 const int pid = args->prev_pid;
40 int prev_pid; member100 switch_args args{.prev_pid = prevPid, .next_pid = nextPid}; in noteSchedSwitch()
28 int prev_pid; member
2423 static bool find_victim(int oom_score, int prev_pid, struct proc &target_proc) { in find_victim() argument2427 if (!prev_pid) { in find_victim()2430 procp = proc_adj_prev(oom_score, prev_pid); in find_victim()2449 int prev_pid = 0; in watchdog_callback() local2455 if (!find_victim(oom_score, prev_pid, target)) { in watchdog_callback()2457 prev_pid = 0; in watchdog_callback()2468 prev_pid = target.pid; in watchdog_callback()