Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 12 of 12) sorted by relevance

/kernel/object/
A Dprofile_dispatcher.cpp21 if ((info.scheduler.priority < LOWEST_PRIORITY) || in validate_profile()
22 (info.scheduler.priority > HIGHEST_PRIORITY)) in validate_profile()
52 return thread->SetPriority(info_.scheduler.priority); in ApplyProfile()
A Dthread_dispatcher.cpp1005 zx_status_t ThreadDispatcher::SetPriority(int32_t priority) { in SetPriority() argument
1013 thread_set_priority(&thread_, priority); in SetPriority()
/kernel/vm/
A Dpmm_arena.h33 unsigned int priority() const { return info_.priority; } in priority() function
A Dpmm_node.cpp65 if (a.priority() > arena->priority()) { in AddArena()
A Dpmm_arena.cpp147 … this, name(), base(), format_size(pbuf, sizeof(pbuf), size()), size(), priority(), flags()); in Dump()
/kernel/include/kernel/
A Dsched.h20 void sched_init_thread(thread_t* t, int priority);
A Dthread.h241 void thread_set_priority(thread_t* t, int priority);
243 thread_t* thread_create(const char* name, thread_start_routine entry, void* arg, int priority);
245 int priority, thread_trampoline_routine alt_trampoline);
/kernel/vm/include/vm/
A Dpmm.h20 uint priority; member
/kernel/kernel/
A Dthread.cpp153 int priority, in thread_create_etc() argument
181 sched_init_thread(t, priority); in thread_create_etc()
211 thread_t* thread_create(const char* name, thread_start_routine entry, void* arg, int priority) { in thread_create() argument
212 return thread_create_etc(NULL, name, entry, arg, priority, NULL); in thread_create()
1035 void thread_set_priority(thread_t* t, int priority) { in thread_set_priority() argument
1040 if (priority <= IDLE_PRIORITY) { in thread_set_priority()
1041 priority = IDLE_PRIORITY + 1; in thread_set_priority()
1043 if (priority > HIGHEST_PRIORITY) { in thread_set_priority()
1044 priority = HIGHEST_PRIORITY; in thread_set_priority()
1047 sched_change_priority(t, priority); in thread_set_priority()
A Dsched.cpp285 void sched_init_thread(thread_t* t, int priority) { in sched_init_thread() argument
286 t->base_priority = priority; in sched_init_thread()
/kernel/object/include/object/
A Dthread_dispatcher.h161 zx_status_t SetPriority(int32_t priority);
/kernel/platform/pc/
A Dmemory.cpp109 base_arena.priority = 1; in mem_arena_init()

Completed in 24 milliseconds