Home
last modified time | relevance | path

Searched refs:numInfos (Results 1 – 8 of 8) sorted by relevance

/haiku/src/system/libroot/os/
H A Dwait_for_objects.cpp12 wait_for_objects(object_wait_info* infos, int numInfos) in wait_for_objects() argument
14 return _kern_wait_for_objects(infos, numInfos, 0, 0); in wait_for_objects()
19 wait_for_objects_etc(object_wait_info* infos, int numInfos, uint32 flags, in wait_for_objects_etc() argument
22 return _kern_wait_for_objects(infos, numInfos, flags, timeout); in wait_for_objects_etc()
/haiku/src/system/kernel/events/
H A Devent_queue.cpp106 ssize_t Wait(event_wait_info* infos, int numInfos,
113 ssize_t _DequeueEvents(event_wait_info* infos, int numInfos);
380 EventQueue::Wait(event_wait_info* infos, int numInfos, in Wait() argument
400 if (numInfos == 0) in Wait()
404 count = _DequeueEvents(infos, numInfos); in Wait()
419 EventQueue::_DequeueEvents(event_wait_info* infos, int numInfos) in _DequeueEvents() argument
432 for (select_event* event = NULL; count < numInfos; ) { in _DequeueEvents()
636 _user_event_queue_select(int queue, event_wait_info* userInfos, int numInfos) in _user_event_queue_select() argument
638 if (numInfos <= 0) in _user_event_queue_select()
643 BStackOrHeapArray<event_wait_info, 16> infos(numInfos); in _user_event_queue_select()
[all …]
H A Dwait_for_objects.cpp663 common_wait_for_objects(object_wait_info* infos, int numInfos, uint32 flags, in common_wait_for_objects() argument
670 status = create_select_sync(numInfos, sync); in common_wait_for_objects()
677 for (int i = 0; i < numInfos; i++) { in common_wait_for_objects()
705 for (int i = 0; i < numInfos; i++) { in common_wait_for_objects()
715 for (int i = 0; i < numInfos; i++) { in common_wait_for_objects()
723 for (int i = 0; i < numInfos; i++) in common_wait_for_objects()
935 _kern_wait_for_objects(object_wait_info* infos, int numInfos, uint32 flags, in _kern_wait_for_objects() argument
938 return common_wait_for_objects(infos, numInfos, flags, timeout, true); in _kern_wait_for_objects()
1088 _user_wait_for_objects(object_wait_info* userInfos, int numInfos, uint32 flags, in _user_wait_for_objects() argument
1093 if (numInfos < 0 || !check_max_fds(numInfos - sem_max_sems() in _user_wait_for_objects()
[all …]
/haiku/src/bin/debug/strace/
H A Devents.cpp219 int numInfos = context.ReadValue<int>(context.GetNextSibling(param)); in read_object_wait_infos() local
220 if (numInfos <= 0) in read_object_wait_infos()
223 object_wait_info tmp[numInfos]; in read_object_wait_infos()
235 for (int i = 0; i < numInfos; i++) { in read_object_wait_infos()
282 int numInfos = 0; in read_event_wait_infos() local
284 numInfos = context.GetReturnValue(); in read_event_wait_infos()
286 numInfos = context.ReadValue<int>(context.GetNextSibling(param)); in read_event_wait_infos()
287 if (numInfos <= 0) in read_event_wait_infos()
290 event_wait_info tmp[numInfos]; in read_event_wait_infos()
302 for (int i = 0; i < numInfos; i++) { in read_event_wait_infos()
/haiku/headers/private/kernel/
H A Devent_queue.h20 int numInfos);
22 int numInfos, uint32 flags, bigtime_t timeout);
H A Dwait_for_objects.h45 int numInfos, uint32 flags, bigtime_t timeout);
/haiku/headers/os/kernel/
H A DOS.h661 extern ssize_t wait_for_objects(object_wait_info* infos, int numInfos);
662 extern ssize_t wait_for_objects_etc(object_wait_info* infos, int numInfos,
/haiku/headers/private/system/
H A Dsyscalls.h75 extern ssize_t _kern_wait_for_objects(object_wait_info* infos, int numInfos,
80 struct event_wait_info* userInfos, int numInfos);
82 int numInfos, uint32 flags, bigtime_t timeout);