Lines Matching defs:param
46 #include <sys/param.h>
84 int *param;
88 param = arg;
91 printf("2: Got mutex. *param = %d\n", *param);
92 ATF_REQUIRE_EQ(*param, 20);
93 (*param)++;
97 return param;
382 int *param;
386 param = arg;
389 printf("2: Got mutex. *param = %d\n", *param);
390 (*param)++;
394 return param;
481 struct sched_param param;
487 param.sched_priority = min_fifo_prio;
490 res = sched_setscheduler(getpid(), SCHED_FIFO, ¶m);
521 struct sched_param param;
523 param.sched_priority = min_fifo_prio + 10;
526 PTHREAD_REQUIRE(pthread_setschedparam(childid, 1, ¶m));
527 PTHREAD_REQUIRE(pthread_getschedparam(childid, &policy, ¶m));
529 _sched_protect(-2), param.sched_priority);
531 printf("high prio = %d\n", param.sched_priority);
552 struct sched_param param;
554 param.sched_priority = min_fifo_prio;
558 PTHREAD_REQUIRE(pthread_setschedparam(childid, 1, ¶m));
559 PTHREAD_REQUIRE(pthread_getschedparam(childid, &policy, ¶m));
561 param.sched_priority);
563 printf("low prio = %d\n", param.sched_priority);
614 struct sched_param param;
624 param.sched_priority = min_fifo_prio;
625 res = sched_setscheduler(getpid(), SCHED_FIFO, ¶m);