Home | History | Annotate | Download | only in ksmutils

Lines Matching defs:pids

72     pid_t *pids;
119 error = pm_kernel_pids(ker, &pids, &num_procs);
130 pids = malloc(sizeof(*pids));
131 if (pids == NULL) {
136 *pids = strtoul(argv[optind], NULL, 10);
137 if (*pids == 0) {
143 if (getprocname(*pids, cmdline, sizeof(cmdline)) < 0) {
146 printf("%s (%u):\n", cmdline, *pids);
153 error = pm_process_create(ker, pids[i], &proc);
155 fprintf(stderr, "warning: could not create process interface for %d\n", pids[i]);
163 fprintf(stderr, "warning: could not read process map for %d\n", pids[i]);
186 free(pids);