Lines Matching refs:getpid
145 sprintf(filename, "/proc/%d/stat", getpid()); in get_proc_num()
210 dprt("pid[%d]: exiting with -1\n", getpid()); in thread_func()
230 if ((sched_setscheduler(getpid(), sched_policy, &ssp)) == -1) { in thread_func()
232 dprt("pid[%d]: exiting with -1\n", getpid()); in thread_func()
239 dprt("pid[%d]: exiting with -1\n", getpid()); in thread_func()
243 if ((get_priority = sched_getparam(getpid(), &gsp)) == -1) { in thread_func()
245 dprt("pid[%d]: exiting with -1\n", getpid()); in thread_func()
252 dprt("pid[%d]: exiting with -1\n", getpid()); in thread_func()
263 "Processor last execed on = %d\n\n", getpid(), in thread_func()
271 locargptr->procs_id = getpid(); in thread_func()
273 dprt("pid[%d]: exiting with %ld\n", getpid(), locargptr); in thread_func()