Lines Matching refs:pid
93 base::Process process = base::Process::Open(entry->pid()); in Init()
130 DHCPConfigRefPtr DHCPProvider::GetConfig(int pid) { in GetConfig() argument
131 SLOG(this, 2) << __func__ << " pid: " << pid; in GetConfig()
132 PIDConfigMap::const_iterator it = configs_.find(pid); in GetConfig()
139 void DHCPProvider::BindPID(int pid, const DHCPConfigRefPtr& config) { in BindPID() argument
140 SLOG(this, 2) << __func__ << " pid: " << pid; in BindPID()
141 configs_[pid] = config; in BindPID()
144 void DHCPProvider::UnbindPID(int pid) { in UnbindPID() argument
145 SLOG(this, 2) << __func__ << " pid: " << pid; in UnbindPID()
146 configs_.erase(pid); in UnbindPID()
147 recently_unbound_pids_.insert(pid); in UnbindPID()
150 pid), kUnbindDelayMilliseconds); in UnbindPID()
153 void DHCPProvider::RetireUnboundPID(int pid) { in RetireUnboundPID() argument
154 recently_unbound_pids_.erase(pid); in RetireUnboundPID()
157 bool DHCPProvider::IsRecentlyUnbound(int pid) { in IsRecentlyUnbound() argument
158 return ContainsValue(recently_unbound_pids_, pid); in IsRecentlyUnbound()