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

12345678

/haiku-fatelf/src/system/kernel/
H A Dteam.cpp1665 int32 envCount, int32 priority, team_id parentID, uint32 flags,
2165 parentThread->name, parentThread->priority, NULL, team->id, thread);
3622 const char* const* env, int32 priority, team_id parentID, uint32 flags)
4156 int32 argCount, int32 envCount, int32 priority, uint32 flags,
4172 argCount, envCount, priority, B_CURRENT_TEAM, flags, errorPort,
1664 load_image_internal(char**& _flatArgs, size_t flatArgsSize, int32 argCount, int32 envCount, int32 priority, team_id parentID, uint32 flags, port_id errorPort, uint32 errorToken) argument
3621 load_image_etc(int32 argCount, const char* const* args, const char* const* env, int32 priority, team_id parentID, uint32 flags) argument
4155 _user_load_image(const char* const* userFlatArgs, size_t flatArgsSize, int32 argCount, int32 envCount, int32 priority, uint32 flags, port_id errorPort, uint32 errorToken) argument
H A Dthread.cpp169 priority(-1),
517 const char* name, int32 priority, void* arg, team_id team,
522 this->priority = priority;
911 thread->priority = attributes.priority == -1
912 ? B_NORMAL_PRIORITY : attributes.priority;
913 thread->next_priority = thread->priority;
1172 info->priority = thread->priority;
516 ThreadCreationAttributes(thread_func function, const char* name, int32 priority, void* arg, team_id team, Thread* thread) argument
[all...]
/haiku-fatelf/src/system/kernel/slab/
H A DMemoryManager.cpp1451 int priority = (flags & CACHE_PRIORITY_VIP) != 0 local
1454 status_t error = vm_try_reserve_memory(size, priority,
1464 if (!vm_page_try_reserve_pages(&reservation, reservedPages, priority)) {
1469 vm_page_reserve_pages(&reservation, reservedPages, priority);
/haiku-fatelf/src/system/kernel/vm/
H A Dvm.cpp233 // The memory reserve an allocation of the certain priority must not touch.
623 int priority; local
626 priority = VM_PRIORITY_SYSTEM;
630 priority = VM_PRIORITY_USER;
658 cache->Resize(cache->virtual_base + newSize, priority);
797 int priority; local
799 priority = VM_PRIORITY_USER;
801 priority = VM_PRIORITY_VIP;
804 priority = VM_PRIORITY_SYSTEM;
838 status = cache->SetMinimalCommitment(size, priority);
1301 int priority; local
1779 int priority = (flags & CREATE_AREA_PRIORITY_VIP) != 0 local
4676 vm_try_reserve_memory(size_t amount, int priority, bigtime_t timeout) argument
4871 int priority = kernel && anyKernelArea local
[all...]
H A DVMAnonymousCache.cpp489 VMAnonymousCache::Resize(off_t newSize, int priority) argument
543 return VMCache::Resize(newSize, priority);
548 VMAnonymousCache::Commit(off_t size, int priority) argument
565 return _Commit(size, priority);
817 int priority = aspace == VMAddressSpace::Kernel() local
819 if (vm_try_reserve_memory(B_PAGE_SIZE, priority, 0) != B_OK) {
969 VMAnonymousCache::_Commit(off_t size, int priority) argument
1020 if (vm_try_reserve_memory(toReserve, priority, 1000000) != B_OK) {
H A DVMCache.cpp1055 VMCache::SetMinimalCommitment(off_t commitment, int priority) argument
1072 status = Commit(commitment, priority);
1089 VMCache::Resize(off_t newSize, int priority) argument
1097 status_t status = Commit(newSize - virtual_base, priority);
1192 VMCache::Commit(off_t size, int priority) argument
1466 int priority)
1470 if (priority >= VM_PRIORITY_VIP)
1565 VMCacheFactory::CreateNullCache(int priority, VMCache*& _cache) argument
1569 if (priority >= VM_PRIORITY_VIP)
1464 CreateAnonymousCache(VMCache*& _cache, bool canOvercommit, int32 numPrecommittedPages, int32 numGuardPages, bool swappable, int priority) argument
H A DVMAnonymousCache.h42 virtual status_t Resize(off_t newSize, int priority);
44 virtual status_t Commit(off_t size, int priority);
80 status_t _Commit(off_t size, int priority);
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 DVMAnonymousNoSwapCache.h25 virtual status_t Commit(off_t size, int priority);
/haiku-fatelf/src/system/libroot/posix/pthread/
H A Dpthread.cpp116 attributes->priority = attr->sched_priority;
271 param->sched_priority = info.priority;
/haiku-fatelf/src/kits/tracker/
H A DFSUtils.cpp3282 size_t flatArgsSize, int32 argCount, int32 envCount, int32 priority,
/haiku-fatelf/headers/private/kernel/vm/
H A DVMCache.h131 int priority);
132 virtual status_t Resize(off_t newSize, int priority);
146 virtual status_t Commit(off_t size, int priority);
234 int priority);
239 static status_t CreateNullCache(int priority, VMCache*& cache);
/haiku-fatelf/headers/private/system/
H A Dthread_defs.h45 int32 priority; member in struct:thread_creation_attributes
/haiku-fatelf/src/kits/media/
H A DMediaEventLooper.cpp171 // bump or reduce priority when switching from/to offline run mode
172 int32 priority; local
173 priority = (mode == B_OFFLINE) ? min_c(B_NORMAL_PRIORITY, fSetPriority) : fSetPriority;
174 if (priority != fCurrentPriority) {
175 fCurrentPriority = priority;
346 BMediaEventLooper::SetPriority(int32 priority) argument
351 if (priority < 5)
352 priority = 5;
354 if (priority > 120)
355 priority
[all...]
/haiku-fatelf/headers/private/locale/
H A DLocaleRosterData.h131 const BString& path, uint8 priority);
/haiku-fatelf/src/kits/locale/
H A DLocaleRosterData.cpp43 uint8 priority)
51 fPriority(priority),
114 static const char* kPriorityAttr = "ADDON:priority";
367 int8 priority; local
385 priority = -1;
387 &priority, sizeof(int8)) <= 0) {
388 // add-on has no priority-attribute yet, so we load it
389 // to fetch the priority from the corresponding
399 priority = *prioPtr;
401 &priority, sizeo
42 CatalogAddOnInfo(const BString& name, const BString& path, uint8 priority) argument
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dstub.c159 spawn_thread(thread_func func, const char *name, int32 priority, void *data) argument
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/server/
H A Dkernel_emu.cpp497 long priority, void *arg)
499 return spawn_thread(function, threadName, priority, arg);
496 spawn_kernel_thread(thread_entry function, const char *threadName, long priority, void *arg) argument
/haiku-fatelf/src/tests/add-ons/kernel/kernelland_emu/
H A Dlow_resource_manager.cpp29 uint32 resources, int32 priority)
28 register_low_resource_handler(low_resource_func function, void *data, uint32 resources, int32 priority) argument
H A Dmisc.cpp21 spawn_kernel_thread(thread_func func, const char *name, int32 priority, argument
24 return spawn_thread(func, name, priority, data);
/haiku-fatelf/src/tests/add-ons/kernel/network/
H A Duserland_modules.cpp404 _EXPORT thread_id spawn_kernel_thread(thread_entry func, const char *name, long priority, void *arg) argument
406 return spawn_thread(func, name, priority, arg);
/haiku-fatelf/src/tests/add-ons/kernel/partitioning_systems/
H A DPartitioningSystemsTest.cpp151 float priority = moduleInfo->identify_partition(fd, data, &cookie); local
153 printf("%s: %g\n", name, priority);
155 if (priority >= 0) {
/haiku-fatelf/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-fatelf/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);
H A Doverride_types.h25 int32 priority; member in struct:thread

Completed in 250 milliseconds

12345678