Home | History | Annotate | Download | only in server

Lines Matching defs:pid

44 // Returns the PID of the clatd running on interface |interface|, or 0 if clatd is not running on
52 pid_t pid = getClatdPid(interface);
54 if (pid != 0) {
55 ALOGE("clatd pid=%d already started on %s", pid, interface);
85 if ((pid = fork()) < 0) {
90 if (!pid) {
109 mClatdPids[interface] = pid;
117 pid_t pid = getClatdPid(interface);
119 if (pid == 0) {
124 ALOGD("Stopping clatd pid=%d on %s", pid, interface);
126 kill(pid, SIGTERM);
127 waitpid(pid, NULL, 0);
137 pid_t pid = getClatdPid(interface);
138 if (pid == 0) {
141 waitpid_status = waitpid(pid, NULL, WNOHANG);