/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_link.c | 923 * file thread records) since HFS doesn't support hard links. 1143 thread_t thread = current_thread(); local 1151 if (origin->lo_thread == thread) { 1164 origin->lo_thread = thread; 1198 thread_t thread = current_thread(); local 1201 if ((origin->lo_thread == thread) || 1221 thread_t thread = current_thread(); local 1224 if (origin->lo_thread == thread) { 1243 thread_t thread = current_thread(); local 1246 if (origin->lo_thread == thread) { 1265 thread_t thread = current_thread(); local [all...] |
/xnu-2782.1.97/bsd/sys/ |
H A D | conf.h | 207 struct thread; 211 struct thread *dl_thread;
|
H A D | systm.h | 115 #include <kern/thread.h>
|
H A D | dtrace_glue.h | 37 #include <kern/thread.h> 531 extern struct regs *find_user_regs( thread_t thread); 533 extern vm_offset_t max_valid_stack_address(void); /* kern/thread.h */
|
/xnu-2782.1.97/osfmk/i386/ |
H A D | phys.c | 70 #include <kern/thread.h> 82 #include <i386/thread.h>
|
H A D | startup64.c | 34 #include <kern/thread.h> 49 #include <machine/thread.h>
|
H A D | machine_routines.c | 38 #include <kern/thread.h> 319 thread_t thread, 329 kret = thread_policy_set_internal(thread, THREAD_PRECEDENCE_POLICY, 732 boolean_t ml_thread_is64bit(thread_t thread) { argument 734 return (thread_is_64bit(thread)); 807 /* Eagerly evaluate all pending timer and thread callouts 318 ml_thread_policy( thread_t thread, __unused unsigned policy_id, unsigned policy_info) argument
|
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_sig.c | 105 #include <kern/thread.h> 190 static void psignal_internal(proc_t p, task_t task, thread_t thread, int flavor, int signum); 359 * Notes: Uses current thread as a parameter to inform PPC to enable 562 * Notes: The thread parameter is used in the PPC case to select the 563 * thread on which the floating point exception will be enabled 566 * process/thread pair. 568 * We mark thread as unused to alow compilation without warning 572 setsigvec(proc_t p, __unused thread_t thread, int signum, struct __kern_sigaction *sa, boolean_t in_sigstart) argument 667 execsigs(proc_t p, thread_t thread) argument 673 ut = (struct uthread *)get_bsdthread_info(thread); 900 thread_act_t thread; local 1711 psignal_internal(proc_t p, task_t task, thread_t thread, int flavor, int signum) argument 2184 psignal_vfork(proc_t p, task_t new_task, thread_t thread, int signum) argument 2190 psignal_uthread(thread_t thread, int signum) argument 2866 bsd_ast(thread_t thread) argument [all...] |
H A D | decmpfs.c | 303 void *thread = current_thread(); local 306 if (cp->lockowner == thread) { 307 /* this thread is already holding an exclusive lock, so bump the count */ 312 cp->lockowner = thread; 326 void *thread = current_thread(); local 328 if (cp->lockowner == thread) { 329 /* this thread is already holding an exclusive lock, so bump the count */ 333 cp->lockowner = thread; 344 void *thread = current_thread(); local 346 if (cp->lockowner == thread) { [all...] |
H A D | kern_exec.c | 186 thread_t thread); 202 #include <kern/thread.h> 623 * For vfork exec, the current implementation has not set up the thread in the 748 thread_t thread; local 789 thread = current_thread(); 790 uthread = get_bsdthread_info(thread); 842 * operation; in this case, we know that our task, thread, and 856 /* reset local idea of thread, uthread, task */ 857 thread = imgp->ip_new_thread; 858 uthread = get_bsdthread_info(thread); [all...] |
H A D | process_policy.c | 474 * the current thread voucher is the originator of the work. 485 thread_t thread = current_thread(); local 487 bgstate = proc_get_effective_thread_policy(thread, TASK_POLICY_DARWIN_BG); 489 /* If current thread or task backgrounded, return background */
|
H A D | kern_clock.c | 88 #include <kern/thread.h>
|
H A D | kern_fork.c | 120 #include <kern/thread.h> 227 * has its task, thread, and uthread lent to the child process, 234 * operations on the task, thread, or uthread will result in 236 * state, when a task, thread, and uthread are realized for the 345 * borrow the parent task, thread, and 353 * At first it may seem strange that we return the child thread 420 * child and the tash/thread/uthread from the parent in 498 * syscall, the process identity of this thread is slightly 514 /* temporarily drop thread-set-id state */ 520 /* blow thread stat 1452 uthread_alloc(task_t task, thread_t thread, int noinherit) argument [all...] |
H A D | kern_sfi.c | 33 #include <kern/thread.h>
|
/xnu-2782.1.97/tools/tests/affinity/ |
H A D | sets.c | 32 * A worker thread removes a buffer from an input queue, processses it and 39 * With affinity enabled, each producer and consumer thread sets its affinity 42 * Buffer management uses pthread mutex/condition variables. A thread blocks 81 /* This struct controls the function of a thread */ 89 pthread_t thread; member in struct:__anon1213 93 /* This defines a thread set */ 172 * This is the central function for every thread. 185 * set our tag to by our thread set number. 212 * The tets thread to get here releases everyone and starts the timer. 426 /* Set up the queue for the workers of this thread se [all...] |
/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOServicePrivate.h | 76 IOThread thread; member in struct:_IOServiceNotifierInvocation
|
/xnu-2782.1.97/libkern/gen/ |
H A D | OSDebug.cpp | 44 #include <kern/thread.h> 48 // From osmfk/kern/thread.h but considered to be private
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | hv_support.c | 31 #include <kern/thread.h> 45 .dispatch = NULL, /* thread is being dispatched for execution */ 46 .preempt = NULL, /* thread is being preempted */ 47 .thread_destroy = NULL, /* thread is being destroyed */ 49 .volatile_state = NULL, /* thread state is becoming volatile */ 99 /* associate an hv object with the current thread */ 111 /* get hv object associated with the current thread */ 117 /* test if a given thread state may be volatile between dispatch 132 /* memory pressure monitor thread */ 223 /* register callbacks for certain task/thread event [all...] |
H A D | processor.h | 139 struct thread 140 *active_thread, /* thread running on processor */ 141 *next_thread, /* next thread when dispatched */ 142 *idle_thread; /* this processor's idle thread. */ 146 int current_pri; /* priority of current thread */ 147 sched_mode_t current_thmode; /* sched mode of current thread */ 148 sfi_class_id_t current_sfi_class; /* SFI class of current thread */ 202 * coming out of the idle state to run a thread). However these
|
H A D | sched_average.c | 70 #include <kern/thread.h> 136 * the current thread.
|
/xnu-2782.1.97/osfmk/mach/ |
H A D | host_info.h | 154 natural_t thread; member in struct:kernel_resource_sizes
|
H A D | host_priv.defs | 134 * 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
|
/xnu-2782.1.97/osfmk/conf/ |
H A D | Makefile.template | 35 thread.o \
|
/xnu-2782.1.97/osfmk/pmc/ |
H A D | pmc.h | 402 * 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::__anon1141 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...] |
/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_upcall.c | 37 #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.
|