/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | lock.h | 175 event_t event, 181 event_t event, 187 event_t event, 194 event_t event, 202 event_t event,
|
H A D | kern_types.h | 61 typedef void *event_t; /* wait event */ typedef 62 #define NO_EVENT ((event_t) 0)
|
H A D | sched_prim.h | 240 event_t event, 245 event_t event, 251 event_t event, 257 event_t event,
|
H A D | locks.h | 253 event_t event, 259 event_t event, 299 event_t event, 305 event_t event, 434 event_t event, 440 event_t event,
|
H A D | locks.c | 404 event_t event, 434 event_t event, 465 event_t event, 500 event_t event, 593 assert_wait((event_t)(((unsigned int*)lck)+((sizeof(lck_mtx_t)-1)/sizeof(unsigned int))), THREAD_UNINT); 724 thread_wakeup_one((event_t)(((unsigned int*)lck)+(sizeof(lck_mtx_t)-1)/sizeof(unsigned int))); 734 thread_wakeup_one((event_t)(((unsigned int*)lck)+(sizeof(lck_mtx_t)-1)/sizeof(unsigned int))); 776 wait_result = assert_wait_timeout((event_t)mutex_pause, THREAD_UNINT, back_off, NSEC_PER_USEC); 819 event_t event, 856 event_t even [all...] |
H A D | wait_queue.h | 343 event_t wait_event, 350 event_t wake_event, 356 event_t wake_event, 362 event_t wake_event,
|
H A D | syscall_subr.c | 281 assert_wait_timeout((event_t)assert_wait_timeout, THREAD_ABORTSAFE, 300 assert_wait_timeout((event_t)assert_wait_timeout, THREAD_ABORTSAFE, option_time, 1000*NSEC_PER_USEC);
|
H A D | sched_prim.c | 660 event_t event, 675 event_t event, 706 event_t event, 744 event_t event, 772 event_t event, 798 event_t event, 822 event_t event, 847 event_t event, 1115 event_t event, 3078 assert_wait_deadline((event_t)sched_tick_threa [all...] |
H A D | clock.c | 700 wresult = assert_wait_deadline((event_t)mach_wait_until_trap, THREAD_ABORTSAFE, deadline); 721 assert_wait_deadline((event_t)clock_delay_until, THREAD_UNINT, deadline - sched_cswtime);
|
H A D | thread.c | 456 assert_wait((event_t)&thread_terminate_queue, THREAD_UNINT); 479 thread_wakeup((event_t)&thread_terminate_queue); 509 assert_wait((event_t)&thread_stack_queue, THREAD_UNINT); 531 thread_wakeup((event_t)&thread_stack_queue);
|
H A D | wait_queue.c | 912 event_t event, 1112 event_t event, 1435 event_t event, 1577 event_t event,
|
H A D | clock_oldops.c | 571 wait_result = assert_wait((event_t)alarm, THREAD_ABORTSAFE); 651 thread_wakeup((event_t)alrm2);
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOLocks.cpp | 72 return (int) lck_mtx_sleep(lock, LCK_SLEEP_DEFAULT, (event_t) event, (wait_interrupt_t) interType); 78 return (int) lck_mtx_sleep_deadline(lock, LCK_SLEEP_DEFAULT, (event_t) event, 84 thread_wakeup_prim((event_t) event, oneThread, THREAD_AWAKENED); 202 res = lck_mtx_sleep(lock->mutex, LCK_SLEEP_DEFAULT, (event_t) event, (wait_interrupt_t) interType); 215 thread_wakeup_prim((event_t) event, oneThread, THREAD_AWAKENED);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/ |
H A D | serial_general.c | 93 assert_wait_deadline((event_t)serial_keyboard_poll, THREAD_UNINT, next); /* Show we are "waiting" */
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/ |
H A D | ipc_space.h | 177 #define is_read_sleep(is) thread_sleep_mutex((event_t)(is), \ 184 #define is_write_sleep(is) thread_sleep_mutex((event_t)(is), \
|
H A D | ipc_entry.c | 741 thread_wakeup((event_t) space); 751 thread_wakeup((event_t) space); 937 thread_wakeup((event_t) space);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_page.h | 545 assert_wait((event_t) (m), (interruptible))) 556 thread_wakeup((event_t) (m)); \ 564 thread_wakeup((event_t) (m)); \
|
H A D | vm_purgeable.c | 120 wait_result_t res = thread_sleep_mutex((event_t)&token_q_allocating, 152 thread_wakeup((event_t)&token_q_allocating); 174 thread_wakeup((event_t)&token_q_allocating);
|
H A D | vm_resident.c | 1763 thread_wakeup((event_t) &vm_page_free_wanted); 1779 thread_wakeup((event_t)&kern_memorystatus_wakeup); 1869 thread_wakeup_one((event_t) &vm_page_free_wanted_privileged); 1873 thread_wakeup_one((event_t) &vm_page_free_count); 1893 thread_wakeup((event_t)&kern_memorystatus_wakeup); 1936 wait_result = assert_wait((event_t)&vm_page_free_wanted_privileged, interruptible); 1940 wait_result = assert_wait((event_t)&vm_page_free_count, interruptible); 1946 thread_wakeup((event_t)&vm_page_free_wanted); 2236 thread_wakeup_one((event_t) &vm_page_free_wanted_privileged); 2251 thread_wakeup((event_t) [all...] |
H A D | vm_object.h | 649 assert_wait((event_t)((vm_offset_t)(object)+(event)),(interruptible))) 657 lck_rw_sleep(&(object)->Lock, LCK_SLEEP_DEFAULT, (event_t)(event), (interruptible)) 667 thread_wakeup((event_t)((vm_offset_t)(object) + (event))); \
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | locks_ppc.c | 1020 res = assert_wait((event_t)(((unsigned int*)lck)+((sizeof(lck_rw_t)-1)/sizeof(unsigned int))), THREAD_UNINT); 1060 res = assert_wait((event_t)(((unsigned int*)lck)+((sizeof(lck_rw_t)-1)/sizeof(unsigned int))), THREAD_UNINT); 1145 thread_wakeup((event_t)(((unsigned int*)lck)+((sizeof(lck_rw_t)-1)/sizeof(unsigned int)))); 1197 res = assert_wait((event_t)(((unsigned int*)lck)+((sizeof(lck_rw_t)-1)/sizeof(unsigned int))), THREAD_UNINT); 1274 thread_wakeup((event_t)(((unsigned int*)lck)+((sizeof(lck_rw_t)-1)/sizeof(unsigned int)))); 1307 res = assert_wait((event_t)(((unsigned int*)lck)+((sizeof(lck_rw_t)-1)/sizeof(unsigned int))), THREAD_UNINT); 1368 thread_wakeup((event_t)(((unsigned int*)lck)+((sizeof(lck_rw_t)-1)/sizeof(unsigned int)))); 1527 res = assert_wait((event_t)(((unsigned int*)rlck)+((sizeof(lck_rw_t)-1)/sizeof(unsigned int))), THREAD_UNINT); 1575 res = assert_wait((event_t)(((unsigned int*)rlck)+((sizeof(lck_rw_t)-1)/sizeof(unsigned int))), THREAD_UNINT); 1686 thread_wakeup((event_t)(((unsigne [all...] |
H A D | pmsCPU.c | 296 thread_wakeup((event_t)&pmsBroadcastWait); /* If we were the last, wake up the signaller */
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/default_pager/ |
H A D | default_pager_internal.h | 552 #define DPT_SLEEP(lock, e, i) thread_sleep_mutex(&(lock), (event_t)(e), i) 605 event_t vs_waiting_seqno;/* to wait on seqno */ 606 event_t vs_waiting_read; /* to wait on readers */ 607 event_t vs_waiting_write;/* to wait on writers */ 608 event_t vs_waiting_async;/* to wait on async_pending */
|
H A D | dp_memory_object.c | 584 thread_wakeup((event_t)&backing_store_release_trigger_disable); 1081 assert_wait_timeout((event_t)assert_wait_timeout, THREAD_UNINT, 1, 1000*NSEC_PER_USEC);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | machine_routines.c | 460 wakeup((event_t)&max_cpus_initialized); 474 assert_wait((event_t)&max_cpus_initialized, THREAD_UNINT);
|