Lines Matching defs:pid
33 static int set_pathname(int fd, pid_t pid)
37 snprintf(buf, MAX_PATH_LEN, "/proc/%d/fd/%d", pid, fd);
41 static int trigger_fstat_events(pid_t pid)
72 ret = set_pathname(pipefd[0], pid);
75 ret = set_pathname(pipefd[1], pid);
78 ret = set_pathname(sockfd, pid);
81 ret = set_pathname(procfd, pid);
84 ret = set_pathname(devfd, pid);
87 ret = set_pathname(localfd, pid);
90 ret = set_pathname(indicatorfd, pid);