Searched refs:new_priority (Results 1 – 10 of 10) sorted by relevance
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_PRIORITY.c | 56 enum v4l2_priority new_priority; in do_set_priority() local 67 memset(&new_priority, 0xff, sizeof(new_priority)); in do_set_priority() 69 ioctl(get_video_fd(), VIDIOC_G_PRIORITY, &new_priority); in do_set_priority() 74 CU_ASSERT_EQUAL(new_priority, priority); in do_set_priority() 84 enum v4l2_priority new_priority; in do_set_invalid_priority() local 97 memset(&new_priority, 0xff, sizeof(new_priority)); in do_set_invalid_priority() 99 ioctl(get_video_fd(), VIDIOC_G_PRIORITY, &new_priority); in do_set_invalid_priority() 104 CU_ASSERT_EQUAL(new_priority, orig_priority); in do_set_invalid_priority()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
D | 1-1.c | 47 int min_priority, new_priority, old_priority; in main() local 76 new_priority = param.sched_priority == min_priority ? in main() 89 if (result == 0 && param.sched_priority == new_priority) { in main() 105 param.sched_priority = (new_priority -= 2); in main() 108 if (result == 0 && param.sched_priority == new_priority) { in main()
|
D | 5-1.c | 22 int result, new_priority, old_priority, max_prio, policy; in main() local 39 new_priority = (old_priority == max_prio) ? in main() 41 param.sched_priority = new_priority; in main() 50 if (result == 0 && param.sched_priority == new_priority) { in main()
|
D | 20-1.c | 32 int new_priority, max_priority, policy, result; in main() local 45 new_priority = (param.sched_priority == max_priority) ? in main() 65 param.sched_priority = new_priority; in main() 78 if (param.sched_priority == new_priority) { in main()
|
D | 21-2.c | 32 int new_priority, max_priority, policy, result; in main() local 44 new_priority = (param.sched_priority == max_priority) ? in main() 46 param.sched_priority = new_priority; in main() 76 if (param.sched_priority == new_priority) { in main()
|
D | 21-1.c | 32 int new_priority, max_priority, old_policy, policy, result; in main() local 44 new_priority = (param.sched_priority == max_priority) ? in main() 46 param.sched_priority = new_priority; in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
D | 22-2.c | 33 int new_priority, max_priority, policy, result; in main() local 44 new_priority = (param.sched_priority == max_priority) ? in main() 46 param.sched_priority = new_priority; in main() 81 if (param.sched_priority == new_priority) { in main()
|
D | 15-2.c | 33 int new_priority, max_priority, policy, result; in main() local 45 new_priority = (param.sched_priority == max_priority) ? in main() 65 param.sched_priority = new_priority; in main() 83 if (param.sched_priority == new_priority) { in main()
|
D | 4-1.c | 22 int result, new_priority, old_priority, max_prio; in main() local 43 new_priority = (old_priority == max_prio) ? in main() 60 if (result != -1 && param.sched_priority == new_priority && in main()
|
/external/vboot_reference/cgpt/ |
D | cgpt_prioritize.c | 72 static void ChangeGroup(group_list_t *gl, int old_priority, int new_priority) { in ChangeGroup() argument 76 gl->group[i].priority = new_priority; in ChangeGroup()
|