Home
last modified time | relevance | path

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

/system/core/llkd/
Dlibllkd.cpp700 bool llkSkipProc(proc* procp, in llkSkipProc() argument
702 if (!procp) return false; in llkSkipProc()
703 if (llkSkipName(std::to_string(procp->pid), blacklist)) return true; in llkSkipProc()
704 if (llkSkipName(procp->getComm(), blacklist)) return true; in llkSkipProc()
705 if (llkSkipName(procp->getCmdline(), blacklist)) return true; in llkSkipProc()
706 if (llkSkipName(android::base::Basename(procp->getCmdline()), blacklist)) return true; in llkSkipProc()
720 bool llkSkipPproc(proc* pprocp, proc* procp, in llkSkipPproc() argument
723 if (!pprocp || !procp || blacklist.empty()) return false; in llkSkipPproc()
724 if (llkSkipProc(procp, llkSkipName(std::to_string(pprocp->pid), blacklist))) return true; in llkSkipPproc()
725 if (llkSkipProc(procp, llkSkipName(pprocp->getComm(), blacklist))) return true; in llkSkipPproc()
[all …]
/system/core/lmkd/
Dlmkd.c448 struct proc *procp; in pid_lookup() local
450 for (procp = pidhash[pid_hashfn(pid)]; procp && procp->pid != pid; in pid_lookup()
451 procp = procp->pidhash_next) in pid_lookup()
454 return procp; in pid_lookup()
480 static void proc_slot(struct proc *procp) { in proc_slot() argument
481 int adjslot = ADJTOSLOT(procp->oomadj); in proc_slot()
483 adjslot_insert(&procadjslot_list[adjslot], &procp->asl); in proc_slot()
486 static void proc_unslot(struct proc *procp) { in proc_unslot() argument
487 adjslot_remove(&procp->asl); in proc_unslot()
490 static void proc_insert(struct proc *procp) { in proc_insert() argument
[all …]