Searched refs:priority (Results 26 - 50 of 161) sorted by relevance

1234567

/haiku/src/apps/processcontroller/
H A DThreadBarMenuItem.cpp99 idleThread = threadInfo.priority == B_IDLE_PRIORITY;
139 popup->Update(fThreadInfo.priority);
153 if (info.priority == B_IDLE_PRIORITY) {
162 if (popup && info.priority != fThreadInfo.priority)
163 popup->Update (info.priority);
165 fThreadInfo.priority = info.priority;
/haiku/headers/private/kernel/vm/
H A Dvm_priv.h33 status_t vm_try_reserve_memory(size_t bytes, int priority, bigtime_t timeout);
H A Dvm_page.h60 int priority);
62 int priority);
67 const physical_address_restrictions* restrictions, int priority);
/haiku/headers/private/syslog_daemon/
H A Dsyslog_daemon.h26 int16 priority; member in struct:syslog_message
/haiku/headers/build/private/storage/mime/
H A DUpdateMimeInfoThread.h21 UpdateMimeInfoThread(const char *name, int32 priority,
/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Dsystm.h25 #define tsleep(identifier, priority, wmesg, timeout) \
26 msleep(identifier, &Giant, priority, wmesg, timeout)
27 #define tsleep_nsec(identifier, priority, wmesg, nsecs) \
28 tsleep(identifier, priority, wmesg, USEC_2_TICKS(nsecs / 1000))
/haiku/src/kits/storage/mime/
H A DMimeSnifferAddonManager.cpp157 float priority = addons[i]->Addon()->GuessMimeType(fileName, local
159 if (priority > bestPriority) {
161 bestPriority = priority;
187 float priority = addons[i]->Addon()->GuessMimeType(file, buffer, local
189 if (priority > bestPriority) {
191 bestPriority = priority;
/haiku/src/system/libroot/posix/sys/
H A Dpriority.c24 // Some notes on different priority notations:
32 // * Note that BeOS/Haiku does not have an absolute highest priority value
34 // the highest non-real-time priority and usually used as the priority
45 // priority," which is the maximum value in UNIX priority notation.
46 // "Zero" means normal priority, which in UNIX function notation is 0.
62 // where f() represents the BeOS priority value, and x represents the Unix
63 // priority value.
68 // returns an equivalent UNIX priority fo
[all...]
/haiku/headers/private/fs_shell/
H A Dfssh_kernel_export.h17 const char *threadName, int32_t priority,
/haiku/src/system/kernel/vm/
H A DVMAnonymousNoSwapCache.cpp62 VMAnonymousNoSwapCache::Commit(off_t size, int priority) argument
81 if (vm_try_reserve_memory(size - committed_size, priority, 1000000)
147 int priority = aspace == VMAddressSpace::Kernel() local
149 if (vm_try_reserve_memory(B_PAGE_SIZE, priority, 0) != B_OK) {
H A DVMAnonymousCache.h45 virtual status_t Resize(off_t newSize, int priority);
46 virtual status_t Rebase(off_t newBase, int priority);
52 virtual status_t Commit(off_t size, int priority);
90 status_t _Commit(off_t size, int priority);
/haiku/headers/private/storage/sniffer/
H A DRule.h25 /*! \brief A priority and a list of expressions to be used for sniffing out the
41 void SetTo(double priority, std::vector<DisjList*>* list);
/haiku/src/servers/registrar/mime/
H A DCreateAppMetaMimeThread.h27 int32 priority, Database* database,
H A DRegistrarThread.h18 RegistrarThread(const char *name, int32 priority,
H A DUpdateMimeInfoThread.h27 int32 priority, Database* database,
H A DRegistrarThread.cpp27 \param priority The desired priority of the new thread
31 RegistrarThread::RegistrarThread(const char *name, int32 priority, argument
39 fPriority(priority)
/haiku/src/libs/compat/freebsd_iflib/compat/sys/
H A Dgtaskqueue.h88 #define GTASK_INIT(gtask, flags, priority, func, context) do { \
90 (gtask)->ta_priority = (priority); \
95 #define GROUPTASK_INIT(gtask, priority, func, context) \
96 GTASK_INIT(&(gtask)->gt_task, TASK_SKIP_WAKEUP, priority, func, context)
/haiku/headers/private/system/
H A Dthread_defs.h46 int32 priority; member in struct:thread_creation_attributes
/haiku/src/libs/compat/freebsd_network/
H A Dsynch.cpp17 msleep(void* identifier, struct mtx* mutex, int priority, argument
/haiku/src/apps/cortex/support/
H A DBasicThread.h68 int32 priority=B_LOW_PRIORITY,
73 m_priority(priority),
67 BasicThread( int32 priority=B_LOW_PRIORITY, const char* name=0, bool killOnDelete=true) argument
/haiku/src/tests/kits/app/
H A DRegistrarThreadManagerTest.cpp35 TestThread(const char *name, int32 priority, BMessenger managerMessenger) argument
36 : RegistrarThread(name, priority, managerMessenger)
52 TerminatingThread(const char *name, int32 priority, BMessenger managerMessenger) argument
53 : TestThread(name, priority, managerMessenger)
69 WellBehavedInfiniteThread(const char *name, int32 priority, BMessenger managerMessenger) argument
70 : TestThread(name, priority, managerMessenger)
90 NaughtyInfiniteThread(const char *name, int32 priority, BMessenger managerMessenger) argument
91 : TestThread(name, priority, managerMessenger)
/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",
/haiku/src/kits/media/
H A DMediaEventLooper.cpp176 // bump or reduce priority when switching from/to offline run mode
177 int32 priority; local
178 priority = (mode == B_OFFLINE) ? min_c(B_NORMAL_PRIORITY, fSetPriority) : fSetPriority;
179 if (priority != fCurrentPriority) {
180 fCurrentPriority = priority;
353 BMediaEventLooper::SetPriority(int32 priority) argument
358 if (priority < 5)
359 priority = 5;
361 if (priority > 120)
362 priority
[all...]
/haiku/src/system/kernel/scheduler/
H A Dscheduler_thread.h40 inline int32 GetPriority() const { return fThread->priority; }
102 int32 minPriority, int32 priority);
152 int32 priority = GetPriority() / kDivisor; local
153 return std::max(std::min(priority, kMaximalPriority), kMinimalPriority);
387 int32 priority = GetEffectivePriority(); local
397 cpu->PushFront(this, priority);
403 fCore->PushFront(this, priority);
430 const int32 priority = GetEffectivePriority(); local
442 cpu->PushBack(this, priority);
451 fCore->PushBack(this, priority);
[all...]
/haiku/src/system/boot/loader/
H A Dpartitions.cpp338 float priority local
340 if (priority < 0.0)
343 TRACE((" priority: %" B_PRId32 "\n", (int32)(priority * 1000)));
344 if (priority <= bestPriority) {
356 bestPriority = priority;
366 float priority = sFileSystemModules[i]->identify_file_system(this); local
367 if (priority <= 0)
370 if (priority > bestFSPriority) {
372 bestFSPriority = priority;
[all...]

Completed in 97 milliseconds

1234567