/glibc-2.36/rt/ |
D | tst-mqueue2.c | 198 unsigned int prio; in do_test() local 199 ssize_t rets = mq_receive (q, buf, 3, &prio); in do_test() 208 else if (prio != 4 || memcmp (buf, "8 ", 3) != 0) in do_test() 211 prio, buf[0], buf[1], buf[2]); in do_test() 306 rets = mq_timedreceive (q, buf, 2, &prio, &ts); in do_test() 308 rets = mq_receive (q, buf, 2, &prio); in do_test() 317 else if (prio != 5 || memcmp (buf, "21 ", 3) != 0) in do_test() 320 prio, buf[0], buf[1], buf[2]); in do_test() 361 rets = mq_receive (q, buf, 2, &prio); in do_test()
|
D | tst-mqueue1.c | 195 unsigned int prio; in do_one_test() local 212 rets = mq_receive (q, (char *) &vr[i], 1, &prio); in do_one_test() 214 rets = mq_timedreceive (q, (char *) &vr[i], 1, &prio, &ts); in do_one_test() 225 else if (prio != (unsigned int) vr[i] >> 4) in do_one_test() 227 printf ("unexpected priority %x for value %02x\n", prio, in do_one_test() 240 rets = mq_timedreceive (q, (char *) &vr[10], 1, &prio, &ts); in do_one_test() 255 ret = mq_receive (q, (char *) &vr[10], 1, &prio); in do_one_test()
|
D | tst-mqueue4.c | 194 unsigned int prio; in do_test() local 195 ssize_t rets = mq_receive (q2, buf, 2, &prio); in do_test() 204 else if (prio != 5 || memcmp (buf, "k ", 3) != 0) in do_test() 207 prio, buf[0], buf[1], buf[2]); in do_test()
|
D | aio_misc.c | 313 int policy, prio; in __aio_enqueue_request() local 335 prio = param.sched_priority - aiocbp->aiocb.aio_reqprio; in __aio_enqueue_request() 362 aiocbp->aiocb.__abs_prio = prio; in __aio_enqueue_request() 383 && runp->next_prio->aiocbp->aiocb.__abs_prio >= prio) in __aio_enqueue_request() 715 int prio = newrequest->aiocbp->aiocb.__abs_prio; in add_request_to_runlist() local 718 if (runlist == NULL || runlist->aiocbp->aiocb.__abs_prio < prio) in add_request_to_runlist() 728 && runp->next_run->aiocbp->aiocb.__abs_prio >= prio) in add_request_to_runlist()
|
/glibc-2.36/sysdeps/posix/ |
D | nice.c | 28 int prio; in nice() local 34 prio = __getpriority (PRIO_PROCESS, 0); in nice() 35 if (prio == -1) in nice() 41 result = __setpriority (PRIO_PROCESS, 0, prio + incr); in nice()
|
/glibc-2.36/nptl/ |
D | pthread_setschedprio.c | 27 __pthread_setschedprio (pthread_t threadid, int prio) in __pthread_setschedprio() argument 38 param.sched_priority = prio; in __pthread_setschedprio() 45 if (__builtin_expect (pd->tpp != NULL, 0) && pd->tpp->priomax > prio) in __pthread_setschedprio() 55 param.sched_priority = prio; in __pthread_setschedprio()
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | setpriority.c | 24 __setpriority (enum __priority_which which, id_t who, int prio) in __setpriority() argument 50 = { NICE_TO_MACH_PRIORITY (prio) }; in __setpriority() 57 prierr = __task_priority (task, NICE_TO_MACH_PRIORITY (prio), 1); in __setpriority()
|
/glibc-2.36/hurd/hurd/ |
D | resource.h | 46 #define MACH_PRIORITY_TO_NICE(prio) ((prio) - 25) argument
|
/glibc-2.36/sysdeps/htl/ |
D | pt-setschedprio.c | 23 pthread_setschedprio (pthread_t thread, int prio) in pthread_setschedprio() argument
|
/glibc-2.36/nptl_db/ |
D | td_thr_setprio.c | 23 td_thr_setprio (const td_thrhandle_t *th, int prio) in td_thr_setprio() argument
|
/glibc-2.36/resource/ |
D | setpriority.c | 24 __setpriority (enum __priority_which which, id_t who, int prio) in __setpriority() argument
|