/fuchsia/zircon/system/public/zircon/syscalls/ |
H A D | profile.h | 17 int32_t priority; member in struct:zx_profile_scheduler
|
/fuchsia/zircon/third_party/ulib/musl/src/misc/ |
H A D | syslog.c | 72 static void _vsyslog(int priority, const char* message, va_list ap) { argument 86 if (!(priority & LOG_FACMASK)) 87 priority |= log_facility; 94 l = snprintf(buf, sizeof buf, "<%d>%s %n%s%s%.0d%s: ", priority, timebuf, &hlen, log_ident, 120 void __vsyslog(int priority, const char* message, va_list ap) { argument 121 if (!(log_mask & LOG_MASK(priority & 7)) || (priority & ~0x3ff)) 124 _vsyslog(priority, message, ap); 128 void syslog(int priority, const char* message, ...) { argument 131 __vsyslog(priority, messag [all...] |
/fuchsia/zircon/kernel/object/ |
H A D | profile_dispatcher.cpp | 21 if ((info.scheduler.priority < LOWEST_PRIORITY) || 22 (info.scheduler.priority > HIGHEST_PRIORITY)) 51 // At the moment, the only thing we support is the priority. 52 return thread->SetPriority(info_.scheduler.priority);
|
H A D | thread_dispatcher.cpp | 351 // disabling interrupts effectively raises us to maximum priority on this cpu. 963 zx_status_t ThreadDispatcher::SetPriority(int32_t priority) { argument 970 // The priority was already validated by the Profile dispatcher. 971 thread_set_priority(&thread_, priority);
|
/fuchsia/zircon/system/ulib/gpt/ |
H A D | cros.c | 49 int gpt_cros_attr_set_priority(uint64_t* flags, uint8_t priority) { argument 50 if (priority >= 16) { 54 *flags = (*flags & ~PRIORITY_MASK) | ((uint64_t)priority << PRIORITY_SHIFT);
|
/fuchsia/zircon/system/utest/core/profile/ |
H A D | profile.c | 28 profile_info.scheduler.priority = ZX_PRIORITY_HIGHEST + 1; 46 profile_info.scheduler.priority = ZX_PRIORITY_HIGH; 50 profile_info.scheduler.priority = ZX_PRIORITY_DEFAULT;
|
/fuchsia/zircon/system/ulib/dispatcher-pool/include/dispatcher-pool/ |
H A D | dispatcher-thread-pool.h | 27 static zx_status_t Get(fbl::RefPtr<ThreadPool>* pool_out, uint32_t priority); 68 explicit ThreadPool(uint32_t priority) : priority_(priority) { } argument 71 uint32_t priority() const { return priority_; } function in class:dispatcher::ThreadPool
|
H A D | dispatcher-execution-domain.h | 99 static fbl::RefPtr<ExecutionDomain> Create(uint32_t priority = DEFAULT_PRIORITY);
|
/fuchsia/zircon/kernel/vm/ |
H A D | pmm_arena.h | 33 unsigned int priority() const { return info_.priority; } function in class:PmmArena
|
H A D | pmm_node.cpp | 63 // walk the arena list and add arena based on priority order 65 if (a.priority() > arena->priority()) {
|
H A D | pmm_arena.cpp | 146 printf(" arena %p: name '%s' base %#" PRIxPTR " size %s (0x%zx) priority %u flags 0x%x\n", 147 this, name(), base(), format_size(pbuf, sizeof(pbuf), size()), size(), priority(), flags());
|
/fuchsia/zircon/kernel/include/kernel/ |
H A D | sched.h | 20 void sched_init_thread(thread_t* t, int priority); 29 // set the inherited priority of a thread and return if the caller should locally reschedule. 30 // pri should be <= MAX_PRIORITY, negative values disable priority inheritance. 33 // set the priority of a thread and reset the boost value. This function might reschedule.
|
H A D | thread.h | 98 // priority: in the range of [MIN_PRIORITY, MAX_PRIORITY], from low to high. 101 // inherited_priority is temporarily set to >0 when inheriting a priority from another 103 // effective_priority is MAX(base_priority + priority boost, inherited_priority) and is 104 // the working priority for run queue decisions. 209 // thread priority 234 void thread_set_priority(thread_t* t, int priority); 236 thread_t* thread_create(const char* name, thread_start_routine entry, void* arg, int priority); 238 int priority, thread_trampoline_routine alt_trampoline);
|
/fuchsia/zircon/system/ulib/dispatcher-pool/ |
H A D | dispatcher-thread-pool.cpp | 24 zx_status_t ThreadPool::Get(fbl::RefPtr<ThreadPool>* pool_out, uint32_t priority) { argument 25 if ((pool_out == nullptr) || (priority > MAX_THREAD_PRIORITY)) 36 // Do we already have a pool running at the desired priority? If so, just 38 auto iter = active_pools_.find(priority); 47 auto new_pool = fbl::AdoptRef(new (&ac) ThreadPool(priority)); 49 printf("Failed to allocate new thread pool (prio %u)\n", priority); 55 printf("Failed to initialize new thread pool (prio %u, res %d)\n", priority, res); 287 printf("[Thread %03u-%02u] ", id_, pool_->priority()); 296 res = zx_thread_set_priority(pool_->priority()); 298 DEBUG_LOG("WARNING - Failed to set thread priority (re [all...] |
H A D | dispatcher-execution-domain.cpp | 13 fbl::RefPtr<ExecutionDomain> ExecutionDomain::Create(uint32_t priority) { argument 22 zx_status_t res = ThreadPool::Get(&thread_pool, priority);
|
/fuchsia/zircon/kernel/vm/include/vm/ |
H A D | pmm.h | 20 uint priority; member in struct:pmm_arena_info
|
/fuchsia/zircon/system/ulib/gpt/include/gpt/ |
H A D | cros.h | 64 // Gets/sets the priority field for a CrOS KERNEL partition. 65 // priority must be in the range [0, 16). If it is out of range, -1 68 int gpt_cros_attr_set_priority(uint64_t* flags, uint8_t priority);
|
/fuchsia/zircon/kernel/kernel/ |
H A D | thread.cpp | 129 * @param priority Execution priority for the thread. 133 * Thread priority is an integer from 0 (lowest) to 31 (highest). Some standard 152 int priority, 180 sched_init_thread(t, priority); 210 thread_t* thread_create(const char* name, thread_start_routine entry, void* arg, int priority) { argument 211 return thread_create_etc(NULL, name, entry, arg, priority, NULL); 943 * highest priority. 1007 * @brief Change priority of current thread 1009 * See thread_create() for a discussion of priority value 148 thread_create_etc( thread_t* t, const char* name, thread_start_routine entry, void* arg, int priority, thread_trampoline_routine alt_trampoline) argument 1011 thread_set_priority(thread_t* t, int priority) argument [all...] |
H A D | sched.cpp | 27 // disable priority boosting 30 #define MAX_PRIORITY_ADJ 4 // +/- priority levels from the base priority 58 // compute the effective priority of a thread 70 // boost the priority of the thread by +1 87 // deboost the priority of the thread by -1. 257 // pop the head of the highest priority queue with any threads 285 void sched_init_thread(thread_t* t, int priority) { argument 286 t->base_priority = priority; 338 // thread is being woken up, boost its priority [all...] |
/fuchsia/zircon/system/dev/audio/intel-hda/dsp/ |
H A D | intel-dsp-topology.cpp | 44 uint8_t priority; member in struct:audio::intel_hda::__anon172::PipelineConfig 50 .priority = 0, 56 .priority = 0, 62 .priority = 0, 68 .priority = 0, 399 st = ipc_.CreatePipeline(cfg.id, cfg.priority, cfg.mem_pages, cfg.lp);
|
H A D | debug.cpp | 336 LOG(INFO, " priority: %u\n", props->priority);
|
/fuchsia/zircon/system/uapp/gpt/ |
H A D | gpt.c | 44 printf("> %s edit_cros <n> [-T <tries>] [-S <successful>] [-P <priority] <dev>\n", bin_name); 80 uint32_t priority = gpt_cros_attr_get_priority(flags); local 83 snprintf(dst, dst_len, "priority=%u tries=%u successful=%u", priority, tries, successful); 575 int priority = -1; local 599 printf("priority must be in the range [0, 16)\n"); 602 priority = val; 647 if (priority >= 0) { 648 if (gpt_cros_attr_set_priority(&part->flags, priority) < 0) { 649 printf("Failed to set priority\ [all...] |
/fuchsia/zircon/system/dev/usb/xhci/ |
H A D | usb-xhci.c | 223 uint32_t priority; member in struct:completer 233 zx_thread_set_priority(completer->priority); 273 // We need a high priority thread for isochronous transfers. 275 // to be high priority. 276 completer->priority = (i == ISOCH_INTERRUPTER || xhci->num_interrupts == 1) ?
|
/fuchsia/zircon/kernel/object/include/object/ |
H A D | thread_dispatcher.h | 192 zx_status_t SetPriority(int32_t priority);
|
/fuchsia/zircon/system/uapp/disk-pave/ |
H A D | device-partitioner.cpp | 814 const uint8_t priority = gpt_cros_attr_get_priority(part->flags); local 815 if (priority > top_priority) { 816 top_priority = priority; 831 // Priority for Zircon A set to higher priority than all other kernels. 833 ERROR("Cannot set CrOS partition priority higher than other kernels\n"); 837 // TODO(raggi): when other (B/R) partitions are paved, set their priority 841 ERROR("Cannot set CrOS partition priority for ZIRCON-A\n");
|