Home
last modified time | relevance | path

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

/system/memory/lmkd/
Dstatslog.cpp64 struct proc* procp; in pid_lookup() local
68 for (procp = pidhash[pid_hashfn(pid)]; procp && procp->pid != pid; procp = procp->pidhash_next) in pid_lookup()
71 return procp; in pid_lookup()
210 static void proc_insert(struct proc* procp) { in proc_insert() argument
215 int hval = pid_hashfn(procp->pid); in proc_insert()
216 procp->pidhash_next = pidhash[hval]; in proc_insert()
217 pidhash[hval] = procp; in proc_insert()
226 struct proc* procp; in stats_remove_taskname() local
229 for (procp = pidhash[hval], prevp = NULL; procp && procp->pid != pid; in stats_remove_taskname()
230 procp = procp->pidhash_next) in stats_remove_taskname()
[all …]
Dlmkd.cpp649 static bool claim_record(struct proc* procp, pid_t pid) { in claim_record() argument
650 if (procp->reg_pid == pid) { in claim_record()
654 if (procp->reg_pid == 0) { in claim_record()
656 procp->reg_pid = pid; in claim_record()
667 struct proc* procp = pidhash[i]; in remove_claims() local
668 while (procp) { in remove_claims()
669 if (procp->reg_pid == pid) { in remove_claims()
670 procp->reg_pid = 0; in remove_claims()
672 procp = procp->pidhash_next; in remove_claims()
820 struct proc *procp; in pid_lookup() local
[all …]
/system/core/llkd/
Dlibllkd.cpp708 bool llkSkipProc(proc* procp, in llkSkipProc() argument
710 if (!procp) return false; in llkSkipProc()
711 if (llkSkipName(std::to_string(procp->pid), ignorelist)) return true; in llkSkipProc()
712 if (llkSkipName(procp->getComm(), ignorelist)) return true; in llkSkipProc()
713 if (llkSkipName(procp->getCmdline(), ignorelist)) return true; in llkSkipProc()
714 if (llkSkipName(android::base::Basename(procp->getCmdline()), ignorelist)) return true; in llkSkipProc()
728 bool llkSkipPproc(proc* pprocp, proc* procp, in llkSkipPproc() argument
731 if (!pprocp || !procp || ignorelist.empty()) return false; in llkSkipPproc()
732 if (llkSkipProc(procp, llkSkipName(std::to_string(pprocp->pid), ignorelist))) return true; in llkSkipPproc()
733 if (llkSkipProc(procp, llkSkipName(pprocp->getComm(), ignorelist))) return true; in llkSkipPproc()
[all …]