Lines Matching defs:param
24 struct sched_param param;
26 if (sched_getparam(getpid(), ¶m) != 0) {
42 old_priority = param.sched_priority;
44 (param.sched_priority = sched_get_priority_min(new_policy)) :
45 (param.sched_priority = max_prio);
47 result = sched_setscheduler(0, new_policy, ¶m);
49 if (sched_getparam(getpid(), ¶m) != 0) {
60 if (result != -1 && param.sched_priority == new_priority &&
65 (param.sched_priority == old_priority ||
67 if (param.sched_priority == old_priority) {
68 printf("The param does not change\n");