Searched refs:priority (Results 76 - 100 of 161) sorted by relevance

1234567

/haiku/src/servers/syslog_daemon/
H A Dlistener_output.cpp28 output.AddInt32("priority", message.priority);
/haiku/src/tools/fs_shell/
H A Dkernel_export.cpp18 int32_t priority, void *arg)
17 fssh_spawn_kernel_thread(fssh_thread_func function, const char *threadName, int32_t priority, void *arg) argument
/haiku/src/system/kernel/vm/
H A DVMAnonymousNoSwapCache.h25 virtual status_t Commit(off_t size, int priority);
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/kits/package/
H A DRepositoryConfig.cpp36 #define KEY_PRIORITY "priority"
73 const BString& baseURL, uint8 priority)
78 fPriority(priority),
291 BRepositoryConfig::SetPriority(uint8 priority) argument
293 fPriority = priority;
72 BRepositoryConfig(const BString& name, const BString& baseURL, uint8 priority) argument
/haiku/headers/private/kernel/
H A Dkscheduler.h42 /*! Sets the given thread's priority.
45 int32 scheduler_set_thread_priority(Thread* thread, int32 priority);
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 Dteam.h46 const char* const* env, int32 priority, team_id parentID, uint32 flags);
68 int32 argCount, int32 envCount, int32 priority, uint32 flags,
/haiku/headers/private/libroot/
H A Dpthread_private.h97 void __pthread_set_default_priority(int32 priority);
/haiku/src/system/kernel/
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/kits/locale/
H A DLocaleRosterData.cpp49 uint8 priority)
57 fPriority(priority),
120 static const char* kPriorityAttr = "ADDON:priority";
359 int8 priority; local
379 priority = -1;
381 &priority, sizeof(int8)) <= 0) {
382 // add-on has no priority-attribute yet, so we load it
383 // to fetch the priority from the corresponding
393 priority = *prioPtr;
395 &priority, sizeo
48 CatalogAddOnInfo(const BString& name, const BString& path, uint8 priority) argument
[all...]
/haiku/src/system/kernel/device_manager/
H A DIOSchedulerSimple.cpp42 kprintf(" priority: %" B_PRId32 "\n", priority);
176 owner.priority = B_IDLE_PRIORITY;
259 int32 priority = thread_get_io_priority(request->ThreadID()); local
260 if (priority >= 0)
261 owner->priority = priority;
472 IOSchedulerSimple::_ComputeRequestOwnerBandwidth(int32 priority) const
474 // TODO: Use a priority dependent quantum!
493 quantum = _ComputeRequestOwnerBandwidth(owner->priority);
[all...]
H A DIOSchedulerSimple.h49 int32 priority) const;
/haiku/src/add-ons/kernel/generic/dpc/
H A Ddpc.c83 new_dpc_queue(void **handle, const char *name, int32 priority) argument
112 queue->thread = spawn_kernel_thread(dpc_thread, name, priority, queue);
/haiku/src/apps/cortex/support/
H A DObservableLooper.cpp81 int32 priority,
84 BLooper(name, priority, portCapacity),
79 ObservableLooper( const char* name, int32 priority, int32 portCapacity, bigtime_t quitTimeout) argument
/haiku/headers/private/fs_shell/
H A Dfssh_os.h123 int32_t priority; member in struct:__anon369
152 int32_t priority, void *data);
/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...]
H A Dscheduler_cpu.h36 // The run queues. Holds the threads ready to run ordered by priority.
67 int32 priority);
69 int32 priority);
74 void UpdatePriority(int32 priority);
146 int32 priority);
148 int32 priority);
218 // of the shared cache for themselves. If power saving is the main priority we
/haiku/src/add-ons/tracker/zipomatic/
H A DGenericThread.h13 int32 priority = B_NORMAL_PRIORITY,
H A DGenericThread.cpp15 GenericThread::GenericThread(const char* thread_name, int32 priority, argument
19 fThreadId(spawn_thread(_ThreadFunction, thread_name, priority, this)),
388 return threadInfo.priority;
/haiku/headers/os/package/
H A DRepositoryInfo.h50 void SetPriority(uint8 priority);
/haiku/headers/os/app/
H A DLooper.h32 int32 priority = B_NORMAL_PRIORITY,
128 BLooper(int32 priority, port_id port,
139 void _InitData(const char* name, int32 priority,
/haiku/src/libs/compat/freebsd_network/
H A Dtaskqueue.c16 int count, int priority, const char *name);
56 _taskqueue_start_threads(struct taskqueue **taskQueue, int count, int priority, argument
86 priority, tq);
/haiku/src/kits/app/
H A DLooper.cpp111 BLooper::BLooper(const char* name, int32 priority, int32 portCapacity) argument
115 _InitData(name, priority, -1, portCapacity);
186 int32 priority; local
187 if (data->FindInt32("_prio", &priority) != B_OK)
188 priority = B_NORMAL_PRIORITY;
190 _InitData(Name(), priority, -1, portCapacity); local
218 status = data->AddInt32("_prio", threadInfo.priority);
900 BLooper::BLooper(int32 priority, port_id port, const char* name) argument
902 _InitData(name, priority, port, B_LOOPER_PORT_DEFAULT_CAPACITY);
1008 BLooper::_InitData(const char* name, int32 priority, port_i argument
[all...]
/haiku/src/kits/media/experimental/
H A DMediaClientNode.cpp74 int32 priority; local
76 priority = B_OFFLINE_PROCESSING;
81 priority = B_AUDIO_RECORDING;
86 priority = B_VIDEO_RECORDING;
90 priority = B_DEFAULT_MEDIA_PRIORITY;
94 SetPriority(suggest_thread_priority(priority));

Completed in 116 milliseconds

1234567