Home
last modified time | relevance | path

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

/system/bpfprogs/
DtimeInState.c54 int prev_pid; member
119 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;
Dtime_in_state_test.cpp40 int prev_pid; member
100 switch_args args{.prev_pid = prevPid, .next_pid = nextPid}; in noteSchedSwitch()
/system/bpfprogs/test/
DbpfLoadTpProg.c28 int prev_pid; member
DbpfLoadTpProgBtf.c28 int prev_pid; member
/system/memory/lmkd/
Dlmkd.cpp2423 static bool find_victim(int oom_score, int prev_pid, struct proc &target_proc) { in find_victim() argument
2427 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() local
2455 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()