Home
last modified time | relevance | path

Searched refs:new_priority (Results 1 – 13 of 13) sorted by relevance

/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_PRIORITY.c56 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/
D1-1.c47 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()
D5-1.c22 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()
D21-2.c32 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()
D20-1.c32 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()
D21-1.c32 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/
D15-2.c33 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()
D22-2.c33 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()
D4-1.c22 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/libchrome/base/process/
Dprocess_unittest.cc256 int new_priority = process.GetPriority(); in TEST_F() local
257 EXPECT_EQ(old_priority, new_priority); in TEST_F()
282 int new_priority = process.GetPriority(); in TEST_F() local
283 EXPECT_EQ(old_priority, new_priority); in TEST_F()
/external/vboot_reference/cgpt/
Dcgpt_prioritize.c72 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()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_memory_scheduler.cc362 Priority new_priority = GetPriority(entry); in CreateSchedule() local
363 if (new_priority == ready_queue_it->first) { in CreateSchedule()
369 ready_queue.emplace(new_priority, std::move(entry)); in CreateSchedule()
/external/crosvm/devices/src/irqchip/
Dpic.rs351 let new_priority = Pic::get_priority(pic, irq_bitmap).unwrap_or(INVALID_PRIORITY); in get_irq() localVariable
352 if priority < new_priority { in get_irq()