Searched refs:priority (Results 1 - 25 of 161) sorted by last modified time

1234567

/haiku/src/system/kernel/device_manager/
H A Ddevice_manager.cpp1473 int32 priority = node->Priority(); local
1481 if (child->Priority() < priority) {
2340 /*! This returns the priority or importance of this node. Nodes with higher
2341 priority are registered/probed first.
2342 Currently, only the B_FIND_MULTIPLE_CHILDREN flag alters the priority;
2343 it might make sense to be able to directly set the priority via an
/haiku/src/system/kernel/arch/riscv64/
H A Darch_int.cpp611 gPlicRegs->priority[irq] = 1;
620 gPlicRegs->priority[irq] = 0;
/haiku/headers/os/drivers/
H A DKernelExport.h182 const char *name, int32 priority, void *arg);
/haiku/src/apps/webpositive/
H A DURLInputGroup.cpp44 int32 matchPos, int32 matchLen, int32 priority)
47 fPriority(priority)
85 int32 priority = INT_MAX; local
96 priority--;
98 priority = INT_MAX;
101 choiceText, matchPos, pattern.Length(), priority));
43 URLChoice(const BString& choiceText, const BString& displayText, int32 matchPos, int32 matchLen, int32 priority) argument
/haiku/src/system/kernel/vm/
H A Dvm.cpp239 // The memory reserve an allocation of the certain priority must not touch.
685 int priority; local
688 priority = VM_PRIORITY_SYSTEM;
692 priority = VM_PRIORITY_USER;
733 cache->Resize(cache->virtual_base + offset, priority);
780 cache->Rebase(cache->virtual_base + size, priority);
833 dynamic_cast<VMAnonymousNoSwapCache*>(cache) == NULL, priority);
855 cache->Resize(cache->virtual_base + firstNewSize, priority);
868 cache->Resize(cache->virtual_base + oldSize, priority);
1077 int priority; local
1587 int priority; local
2065 int priority = (flags & CREATE_AREA_PRIORITY_VIP) != 0 local
5195 vm_try_reserve_memory(size_t amount, int priority, bigtime_t timeout) argument
5402 int priority = kernel && anyKernelArea local
[all...]
H A Dvm_page.cpp70 // maximum I/O priority of the page writer
72 // the maximum I/O priority shall be reached when this many pages need to
76 // The page reserve an allocation of the certain priority must not touch.
187 // Implies an order by descending VM priority (ascending dontTouch)
188 // and (secondarily) descending thread priority.
1488 // TODO: If this is a low priority thread, we might want to disable
1490 // high priority threads wait be kept waiting while a medium priority thread
2378 // our I/O priority
3047 reserve_pages(uint32 count, int priority, boo argument
3535 vm_page_reserve_pages(vm_page_reservation* reservation, uint32 count, int priority) argument
3550 vm_page_try_reserve_pages(vm_page_reservation* reservation, uint32 count, int priority) argument
3866 vm_page_allocate_page_run(uint32 flags, page_num_t length, const physical_address_restrictions* restrictions, int priority) argument
[all...]
H A DVMCache.cpp1097 VMCache::SetMinimalCommitment(off_t commitment, int priority) argument
1114 status = Commit(commitment, priority);
1171 VMCache::Resize(off_t newSize, int priority) argument
1179 status_t status = Commit(newSize - virtual_base, priority);
1209 VMCache::Rebase(off_t newBase, int priority) argument
1217 status_t status = Commit(virtual_end - newBase, priority);
1316 VMCache::Commit(off_t size, int priority) argument
1589 int priority)
1593 if (priority >= VM_PRIORITY_VIP)
1688 VMCacheFactory::CreateNullCache(int priority, VMCach argument
1587 CreateAnonymousCache(VMCache*& _cache, bool canOvercommit, int32 numPrecommittedPages, int32 numGuardPages, bool swappable, int priority) argument
[all...]
/haiku/src/system/kernel/
H A DDPC.cpp100 DPCQueue::DefaultQueue(int priority) argument
102 if (priority <= NORMAL_PRIORITY)
105 if (priority <= HIGH_PRIORITY)
113 DPCQueue::Init(const char* name, int32 priority, uint32 reservedSlots) argument
126 fThreadID = spawn_kernel_thread(&_ThreadEntry, name, priority, this);
322 if (sNormalPriorityQueue.Init("dpc: normal priority", NORMAL_PRIORITY,
324 || sHighPriorityQueue.Init("dpc: high priority", HIGH_PRIORITY,
326 || sRealTimePriorityQueue.Init("dpc: real-time priority",
H A Dthread.cpp173 priority(-1),
520 const char* name, int32 priority, void* arg, team_id team,
525 this->priority = priority;
915 thread->priority = attributes.priority == -1
916 ? B_NORMAL_PRIORITY : attributes.priority;
917 thread->priority = std::max(thread->priority,
919 thread->priority
519 ThreadCreationAttributes(thread_func function, const char* name, int32 priority, void* arg, team_id team, Thread* thread) argument
[all...]
/haiku/src/apps/debuganalyzer/model_loader/
H A DModelLoader.cpp983 if (thread->priority == 0)
992 if (thread->priority == 0)
1065 thread->priority = event->priority;
1084 // This really only happens when the thread priority is changed
1091 if (thread->priority == 0)
1236 // TODO: The priority is missing from the system_profiler_thread_added
1239 info->priority = 0;
1241 info->priority = B_NORMAL_PRIORITY;
/haiku/src/kits/debugger/dwarf/
H A DDebugInfoEntry.h131 DECLARE_DEBUG_INFO_ENTRY_ATTR_SETTER(priority)
H A DDebugInfoEntry.cpp274 DEFINE_DEBUG_INFO_ENTRY_ATTR_SETTER(priority)
H A DAttributeClasses.cpp98 { ENTRY(priority), AC_REFERENCE },
/haiku/src/libs/compat/freebsd_network/
H A Dsynch.cpp17 msleep(void* identifier, struct mtx* mutex, int priority, argument
/haiku/src/system/kernel/scheduler/
H A Dscheduler.cpp120 TRACE("enqueueing thread %ld with priority %ld on CPU %ld (core %ld)\n",
156 TRACE("enqueueing new thread %ld with static priority %ld\n", thread->id,
157 thread->priority);
168 /*! Sets the priority of a thread.
171 scheduler_set_thread_priority(Thread *thread, int32 priority) argument
181 int32 oldPriority = thread->priority;
183 TRACE("changing thread %ld priority to %ld (old: %ld, effective: %ld)\n",
184 thread->id, priority, oldPriority, threadData->GetEffectivePriority());
186 thread->priority = priority;
[all...]
/haiku/src/system/kernel/debug/
H A Ddebug.cpp1401 sSyslogMessage->priority = LOG_DEBUG;
H A Dcore_dump.cpp186 fPriority = fThread->priority;
/haiku/src/system/libnetwork/netresolv/nameser/
H A Dns_print.c391 u_int priority, weight, port; local
398 priority = ns_get16(rdata); rdata += NS_INT16SZ;
401 len = SPRINTF((t, "%u %u %u ", priority, weight, port));
/haiku/build/scripts/
H A Dbuild_haiku_image307 $mkindex -t string MAIL:priority
/haiku/headers/private/system/
H A Dsyscalls.h146 int32 priority, uint32 flags, port_id errorPort,
/haiku/headers/private/kernel/
H A Dthread.h59 int32 priority, void* arg,
100 void thread_set_io_priority(int32 priority);
115 return thread->priority == B_IDLE_PRIORITY;
128 thread_id spawn_kernel_thread_etc(thread_func, const char *name, int32 priority,
H A Dthread_types.h447 int32 priority; // protected by scheduler lock member in struct:BKernel::Thread
/haiku/headers/os/kernel/
H A DOS.h315 int32 priority; member in struct:__anon7
343 extern thread_id spawn_thread(thread_func, const char *name, int32 priority,
631 B_EVENT_PRIORITY_READ = 0x0008, /* FD priority readable */
632 B_EVENT_PRIORITY_WRITE = 0x0010, /* FD priority writable */
633 B_EVENT_HIGH_PRIORITY_READ = 0x0020, /* FD high priority readable */
634 B_EVENT_HIGH_PRIORITY_WRITE = 0x0040, /* FD high priority writable */
/haiku/src/tests/system/kernel/scheduler/
H A Dmain.cpp29 Thread(const char* name, int32 priority);
98 Thread::Thread(const char* name, int32 priority) argument
103 fThread.priority = fThread.next_priority = priority;
115 fThread.name, fThread.priority);
/haiku/src/apps/processcontroller/
H A DThreadBarMenu.cpp107 PriorityMenu* prio = new PriorityMenu(info.thread, info.priority);

Completed in 131 milliseconds

1234567