Lines Matching defs:pid
712 pid_t pid;
714 pid = getpid();
715 if (ioctl(pbm->filemon_fd, FILEMON_SET_PID, &pid) < 0) {
716 err(1, "Could not set filemon pid!");
1090 int pid;
1152 * <key> <pid> <data>
1156 * <pid> is the process that made the syscall.
1177 * Each time we spot a different process ('pid')
1181 * value for the current 'pid' and 'CWD' if none.
1184 pid = atoi(p);
1185 if (pid > 0 && pid != lastpid) {
1194 snprintf(lcwd_vname, sizeof(lcwd_vname), LCWD_VNAME_FMT, pid);
1195 snprintf(ldir_vname, sizeof(ldir_vname), LDIR_VNAME_FMT, pid);
1196 lastpid = pid;
1208 /* Skip past the pid. */
1215 pid, buf[0], cwd, lcwd, latestdir);