Searched refs:thread (Results 176 - 200 of 264) sorted by relevance

1234567891011

/darwin-on-arm/xnu/bsd/sys/
H A Ddtrace_glue.h38 #include <kern/thread.h>
524 extern struct regs *find_user_regs( thread_t thread);
526 extern vm_offset_t max_valid_stack_address(void); /* kern/thread.h */
/darwin-on-arm/xnu/osfmk/i386/
H A Dstartup64.c34 #include <kern/thread.h>
50 #include <machine/thread.h>
H A Detimer.c44 #include <kern/thread.h>
266 * currently this is the primary processor for the calling thread's package.
H A Dhibernate_i386.c31 #include <kern/thread.h>
H A Dtrap_native.c77 #include <kern/thread.h>
/darwin-on-arm/xnu/osfmk/mach/
H A Dhost_priv.defs134 * Specify that the target thread must always be able
139 thread : thread_act_t;
229 * no task or thread-specific exception handlers or those handlers returned
/darwin-on-arm/xnu/osfmk/pmc/
H A Dpmc.h402 * reserve the counter using that config in a given execution context (system, or 1 task, or 1 thread),
541 thread_t thread; // not retained member in union:pmc_reservation::__anon1278
664 * @abstract Reserve a PMC for thread-wide counting.
665 * @discussion This method will attempt to reserve the given pmc for thread-wide counting. The resulting reservation will only count when the thread is
669 * @param thread The thread for which to enable the counter.
673 kern_return_t pmc_reserve_thread(pmc_t pmc, pmc_config_t config, thread_t thread, pmc_reservation_t *reservation);
677 * @discussion This method instructs the given reservation to start counting as soon as possible. If the reservation is for a thread (or task) other than the
678 * current thread, o
[all...]
/darwin-on-arm/xnu/osfmk/vm/
H A Dvm_fault.c82 #include <kern/thread.h>
120 * will be throttled. The throttling is done by giving the thread that's trying to demand zero a page a
381 * one thread is banging on this object, no problem with the unprotected
527 thread_t thread = current_thread(); local
529 if (thread->options & TH_OPT_VMPRIV)
532 thread->t_page_creation_count++;
538 thread->t_page_creation_count > vm_page_creation_throttle) {
542 elapsed_sec = tv_sec - thread->t_page_creation_time;
544 if (elapsed_sec <= 6 || (thread->t_page_creation_count / elapsed_sec) >= (vm_page_creation_throttle / 6)) {
556 thread
4302 thread_t thread = current_thread(); local
[all...]
H A Ddevice_vm.c41 #include <kern/thread.h>
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_vfsutils.c997 void *thread = current_thread(); local
999 if (hfsmp->hfs_global_lockowner == thread) {
1011 hfsmp->hfs_global_lockowner = thread;
1024 void *thread = current_thread(); local
1027 if (hfsmp->hfs_global_lockowner == thread) {
1792 * Find the current thread's directory hint for a given index.
2868 * first thread to schedule the timer. If some other thread beat
2887 void * thread = current_thread(); local
2894 if (hfsmp->jnl && journal_owner(hfsmp->jnl) != thread) {
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_clock.c88 #include <kern/thread.h>
H A Dkern_fork.c112 #include <kern/thread.h>
219 * has its task, thread, and uthread lent to the child process,
226 * operations on the task, thread, or uthread will result in
228 * state, when a task, thread, and uthread are realized for the
286 * rather than returning the actual thread. We can remove
336 * borrow the parent task, thread, and
344 * At first it may seem strange that we return the child thread
411 * child and the tash/thread/uthread from the parent in
492 /* temporarily drop thread-set-id state */
498 /* blow thread stat
1420 uthread_alloc(task_t task, thread_t thread, int noinherit) argument
[all...]
H A Dkern_synch.c47 #include <kern/thread.h>
108 /* due to thread cancel */
291 /* due to thread cancel */
H A Dmach_process.c90 #include <kern/thread.h>
H A Dsubr_log.c78 #include <kern/thread.h>
101 struct selinfo sc_selp; /* thread waiting for select */
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_upcall.c37 #include <kern/thread.h>
304 * the interface thread, so we just queue the arguments
306 * worker thread dequeue them and pass them on to nfsrv_rcv.
/darwin-on-arm/xnu/libkern/gen/
H A DOSDebug.cpp44 #include <kern/thread.h>
54 // From osmfk/kern/thread.h but considered to be private
295 /* Get the frame pointer from the current thread */
/darwin-on-arm/xnu/osfmk/arm/
H A Dpmap_asid.c68 #include <kern/thread.h>
H A Darm_vm_init.c46 #include <kern/thread.h>
H A Dmodel_dep.c87 #include <kern/thread.h>
H A Dpmap.h40 #include <kern/thread.h>
/darwin-on-arm/xnu/osfmk/arm64/
H A Dpmap.c43 #include <kern/thread.h>
/darwin-on-arm/xnu/osfmk/ipc/
H A Dipc_kmsg.h413 mach_msg_option_t option, thread_t thread,
/darwin-on-arm/xnu/osfmk/kern/
H A Dmachine.c89 #include <kern/thread.h>
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOService.cpp221 IOThread thread; member in struct:ArbitrationLockQueueElement
732 nub->retain(); // thread will release()
1002 element->thread = IOThreadSelf();
1023 // determine whether it is the same or a different thread trying to lock
1024 if( active->thread != element->thread ) { // it is a different thread
1028 // before placing this new thread on the waiting queue, we look for
1032 // determine whether the active thread holding the object we
1040 if( waiting->thread
[all...]

Completed in 146 milliseconds

1234567891011