Searched refs:priority (Results 51 - 75 of 161) sorted by relevance

1234567

/haiku/src/system/kernel/
H A Dlow_resource_manager.cpp39 int32 priority; member in struct:low_resource_handler
135 marker.priority = handler->priority;
315 handler->data, resources, handler->priority, symbol);
461 /*! Registers a low resource handler. The higher the \a priority, the earlier
466 uint32 resources, int32 priority)
478 newHandler->priority = priority;
482 // sort it in after priority (higher priority come
465 register_low_resource_handler(low_resource_func function, void* data, uint32 resources, int32 priority) argument
[all...]
/haiku/src/libs/alm/
H A DArea.cpp630 double priority = kPriority; local
632 priority = -1;
637 kLE, max.Height(), priority, priority);
640 fMaxContentHeight->SetPenaltyNeg(priority);
641 fMaxContentHeight->SetPenaltyPos(priority);
648 priority = kPriority;
650 priority = -1;
655 max.Width(), priority, priority);
[all...]
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Deventhandler.h114 #define EVENTHANDLER_REGISTER(name, func, arg, priority) \
115 eventhandler_register(NULL, #name, func, arg, priority)
127 const char *name, void *func, void *arg, int priority);
137 /* Generic priority levels */
H A Dtaskqueue.h110 struct timeout_task *timeout_task, int priority, task_fn_t func,
112 #define TIMEOUT_TASK_INIT(queue, timeout_task, priority, func, context) \
113 _timeout_task_init(queue, timeout_task, priority, func, context);
/haiku/src/system/kernel/scheduler/
H A Dscheduler_tracing.h42 fPriority(thread->priority),
66 fPriority(thread->priority)
87 fPriority(thread->priority),
H A Dscheduler_cpu.cpp66 kprintf("thread id priority penalty name\n");
72 thread, thread->id, thread->priority,
73 thread->priority - threadData->GetEffectivePriority(),
130 CPUEntry::PushFront(ThreadData* thread, int32 priority) argument
133 fRunQueue.PushFront(thread, priority);
138 CPUEntry::PushBack(ThreadData* thread, int32 priority) argument
141 fRunQueue.PushBack(thread, priority);
180 CPUEntry::UpdatePriority(int32 priority) argument
187 if (oldPriority == priority)
189 fCore->CPUHeap()->ModifyKey(this, priority);
430 PushFront(ThreadData* thread, int32 priority) argument
440 PushBack(ThreadData* thread, int32 priority) argument
[all...]
/haiku/headers/private/kernel/
H A Dlow_resource_manager.h47 uint32 resources, int32 priority);
H A DDPC.h59 static DPCQueue* DefaultQueue(int priority);
61 status_t Init(const char* name, int32 priority,
/haiku/src/tests/system/kernel/scheduler/
H A Doverride_types.h25 int32 priority; member in struct:thread
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/headers/posix/sys/
H A Dresource.h84 extern int setpriority(int which, id_t who, int priority);
/haiku/headers/build/private/storage/mime/
H A DMimeUpdateThread.h30 MimeUpdateThread(const char *name, int32 priority,
/haiku/src/servers/registrar/mime/
H A DMimeUpdateThread.h32 MimeUpdateThread(const char *name, int32 priority, Database *database,
H A DMimeUpdateThread.cpp52 MimeUpdateThread::MimeUpdateThread(const char *name, int32 priority, argument
56 RegistrarThread(name, priority, managerMessenger),
/haiku/src/apps/expander/
H A DGenericThread.h15 int32 priority = B_NORMAL_PRIORITY,
46 status_t SetPriority(int32 priority);
H A DGenericThread.cpp10 GenericThread::GenericThread(const char* threadName, int32 priority, argument
14 fThreadId(spawn_thread(private_thread_function, threadName, priority,
299 GenericThread::SetPriority(int32 priority) argument
301 return (set_thread_priority(fThreadId, priority));
380 return info.priority;
/haiku/src/kits/media/
H A DMediaRecorderNode.cpp75 int32 priority; local
78 priority = B_OFFLINE_PROCESSING;
83 priority = B_AUDIO_RECORDING;
88 priority = B_VIDEO_RECORDING;
92 priority = B_DEFAULT_MEDIA_PRIORITY;
96 SetPriority(suggest_thread_priority(priority));
/haiku/src/system/libroot/os/
H A Dthread.c104 spawn_thread(thread_func entry, const char *name, int32 priority, void *data) argument
121 attributes.priority = priority;
164 set_thread_priority(thread_id thread, int32 priority) argument
166 return _kern_set_thread_priority(thread, priority);
/haiku/src/system/libroot/posix/pthread/
H A Dpthread.cpp120 attributes->priority = attr->sched_priority;
137 __pthread_set_default_priority(int32 priority) argument
139 pthread_attr_default.sched_priority = priority;
287 param->sched_priority = info.priority;
289 if (info.priority >= B_FIRST_REAL_TIME_PRIORITY)
/haiku/headers/private/kernel/vm/
H A DVMCache.h132 int priority);
133 virtual status_t Resize(off_t newSize, int priority);
134 virtual status_t Rebase(off_t newBase, int priority);
152 virtual status_t Commit(off_t size, int priority);
243 int priority);
248 static status_t CreateNullCache(int priority, VMCache*& cache);
/haiku/headers/private/system/
H A Dsystem_profiler_defs.h161 uint8 priority; member in struct:system_profiler_thread_enqueued_in_run_queue
199 uint8 priority; member in struct:system_profiler_io_request_scheduled
/haiku/src/libs/compat/freebsd_network/compat/net/
H A Dvnet.h395 #define VNET_GLOBAL_EVENTHANDLER_REGISTER_TAG(tag, name, func, arg, priority) \
399 arg, priority, \
403 #define VNET_GLOBAL_EVENTHANDLER_REGISTER(name, func, arg, priority) \
407 arg, priority, \
489 #define VNET_GLOBAL_EVENTHANDLER_REGISTER_TAG(tag, name, func, arg, priority) \
490 (tag) = eventhandler_register(NULL, #name, func, arg, priority)
491 #define VNET_GLOBAL_EVENTHANDLER_REGISTER(name, func, arg, priority) \
492 eventhandler_register(NULL, #name, func, arg, priority)
/haiku/src/apps/cortex/support/
H A DObservableLooper.h72 int32 priority=B_NORMAL_PRIORITY,
/haiku/src/system/kernel/device_manager/
H A DIOScheduler.h20 int32 priority; member in struct:IORequestOwner
/haiku/headers/os/package/solver/
H A DSolverRepository.h57 void SetPriority(int32 priority);
58 // negative priority is fine

Completed in 106 milliseconds

1234567