/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
H A D | POSIXStopInfo.h | 23 POSIXStopInfo(lldb_private::Thread &thread, uint32_t status) argument 24 : StopInfo(thread, status) {} 33 POSIXLimboStopInfo(FreeBSDThread &thread) : POSIXStopInfo(thread, 0) {} argument 48 /// Represents the stop state of process when a new thread is spawned. 53 POSIXNewThreadStopInfo(FreeBSDThread &thread) : POSIXStopInfo(thread, 0) {} argument
|
/freebsd-11-stable/contrib/ntp/lib/isc/nothreads/ |
H A D | thread.c | 18 /* $Id: thread.c,v 1.5 2007/06/19 23:47:18 tbox Exp $ */ 22 #include <isc/thread.h>
|
/freebsd-11-stable/contrib/ntp/lib/isc/win32/ |
H A D | thread.c | 18 /* $Id: thread.c,v 1.24 2007/06/19 23:47:19 tbox Exp $ */ 24 #include <isc/thread.h> 30 isc_thread_t thread; local 33 thread = (isc_thread_t)_beginthreadex(NULL, 0, start, arg, 0, &id); 34 if (thread == NULL) { 39 *threadp = thread; 45 isc_thread_join(isc_thread_t thread, isc_threadresult_t *rp) { argument 49 result = WaitForSingleObject(thread, INFINITE); 55 if(!GetExitCodeThread(thread, &threadrc)) { 61 (void)CloseHandle(thread); [all...] |
/freebsd-11-stable/sys/powerpc/include/ |
H A D | reg.h | 68 int fill_regs(struct thread *, struct reg *); 69 int set_regs(struct thread *, struct reg *); 70 int fill_fpregs(struct thread *, struct fpreg *); 71 int set_fpregs(struct thread *, struct fpreg *); 72 int fill_dbregs(struct thread *, struct dbreg *); 73 int set_dbregs(struct thread *, struct dbreg *); 78 int fill_regs32(struct thread *, struct reg32 *); 79 int set_regs32(struct thread *, struct reg32 *); 80 void ppc32_setregs(struct thread *, struct image_params *, u_long);
|
/freebsd-11-stable/sys/x86/include/ |
H A D | sysarch.h | 124 struct thread; 127 int i386_get_ldt(struct thread *, struct i386_ldt_args *); 128 int i386_set_ldt(struct thread *, struct i386_ldt_args *, union descriptor *); 129 int i386_get_ioperm(struct thread *, struct i386_ioperm_args *); 130 int i386_set_ioperm(struct thread *, struct i386_ioperm_args *); 131 int amd64_get_ldt(struct thread *, struct i386_ldt_args *); 132 int amd64_set_ldt(struct thread *, struct i386_ldt_args *, 134 int amd64_get_ioperm(struct thread *, struct i386_ioperm_args *); 135 int amd64_set_ioperm(struct thread *, struct i386_ioperm_args *);
|
/freebsd-11-stable/sys/sys/ |
H A D | turnstile.h | 38 * A thread calls turnstile_chain_lock() to lock the turnstile chain 39 * associated with a given lock. A thread calls turnstile_wait() when 40 * the lock is contested to be put on the queue and block. If a thread 45 * When a lock is released, the thread calls turnstile_lookup() to look 49 * highest priority blocked thread while turnstile_broadcast() marks all 53 * pending thread(s) and give up ownership of the turnstile. 55 * Alternatively, if a thread wishes to relinquish ownership of a lock 58 * When a lock is acquired that already has at least one thread contested 62 * Each thread allocates a turnstile at thread creatio [all...] |
H A D | ptrace.h | 56 #define PT_GETLWPLIST 15 /* get thread list */ 59 #define PT_SUSPEND 18 /* suspend a thread */ 60 #define PT_RESUME 19 /* resume a thread */ 120 #define PL_FLAG_SA 0x01 /* M:N thread */ 121 #define PL_FLAG_BOUND 0x02 /* M:N bound thread */ 172 int ptrace_set_pc(struct thread *_td, unsigned long _addr); 173 int ptrace_single_step(struct thread *_td); 174 int ptrace_clear_single_step(struct thread *_td); 177 int cpu_ptrace(struct thread *_td, int _req, void *_addr, int _data); 190 int proc_read_regs(struct thread *_t [all...] |
H A D | posix4.h | 48 extern int syscall_not_present(struct thread *, const char *, struct nosys_args *); 51 int sys_ ## SC (struct thread *td, struct SC##_args *uap) \ 96 struct thread *, const struct sched_param *); 98 struct thread *, struct sched_param *); 101 struct thread *, int, const struct sched_param *); 102 int ksched_getscheduler(struct ksched *, struct thread *, int *); 110 struct thread *, struct timespec *);
|
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_taskdeps.h | 23 static inline void __kmp_node_deref(kmp_info_t *thread, kmp_depnode_t *node) { argument 31 __kmp_fast_free(thread, node); 33 __kmp_thread_free(thread, node); 38 static inline void __kmp_depnode_list_free(kmp_info_t *thread, argument 45 __kmp_node_deref(thread, list->node); 47 __kmp_fast_free(thread, list); 49 __kmp_thread_free(thread, list); 54 static inline void __kmp_dephash_free_entries(kmp_info_t *thread, argument 61 __kmp_depnode_list_free(thread, entry->last_ins); 62 __kmp_depnode_list_free(thread, entr 79 __kmp_dephash_free(kmp_info_t *thread, kmp_dephash_t *h) argument 89 kmp_info_t *thread = __kmp_threads[gtid]; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | i386gnu-nat.c | 66 fetch_fpregs (struct proc *thread) 72 err = thread_get_state (thread->port, i386_FLOAT_STATE, 77 proc_string (thread)); 118 struct proc *thread; 123 thread = inf_tid_to_thread (current_inferior, PIDGET (inferior_ptid)); 124 if (!thread) 125 error ("Can't fetch registers from thread %d: No such thread", 133 state = proc_get_state (thread, 0); 137 proc_string (thread)); 65 fetch_fpregs(struct proc *thread) argument 117 struct proc *thread; local 171 store_fpregs(struct proc *thread, int regno) argument 204 struct proc *thread; local [all...] |
/freebsd-11-stable/sys/amd64/include/ |
H A D | iodev.h | 41 int iodev_open(struct thread *td); 42 int iodev_close(struct thread *td);
|
H A D | fpu.h | 56 void fpuexit(struct thread *td); 58 int fpugetregs(struct thread *td); 63 int fpusetregs(struct thread *td, struct savefpu *addr, 65 int fpusetxstate(struct thread *td, char *xfpustate, 70 void fpuuserinited(struct thread *td); 73 int fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, 75 int fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx);
|
/freebsd-11-stable/sys/i386/include/ |
H A D | iodev.h | 41 int iodev_open(struct thread *td); 42 int iodev_close(struct thread *td);
|
H A D | npx.h | 56 void npxexit(struct thread *td); 58 int npxgetregs(struct thread *td); 62 int npxsetregs(struct thread *td, union savefpu *addr, 64 int npxsetxstate(struct thread *td, char *xfpustate, 69 void npxuserinited(struct thread *); 77 int fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, 79 int fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx);
|
/freebsd-11-stable/sys/fs/fuse/ |
H A D | fuse_io.h | 64 int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td); 65 int fuse_io_invalbuf(struct vnode *vp, struct thread *td);
|
/freebsd-11-stable/sys/compat/cloudabi32/ |
H A D | cloudabi32_util.h | 38 struct thread; 48 int cloudabi32_thread_setregs(struct thread *,
|
/freebsd-11-stable/sys/compat/cloudabi64/ |
H A D | cloudabi64_util.h | 38 struct thread; 48 int cloudabi64_thread_setregs(struct thread *,
|
/freebsd-11-stable/sys/contrib/ck/include/spinlock/ |
H A D | clh.h | 69 ck_spinlock_clh_lock(struct ck_spinlock_clh **queue, struct ck_spinlock_clh *thread) argument 73 /* Indicate to the next thread on queue that they will have to block. */ 74 thread->wait = true; 81 previous = ck_pr_fas_ptr(queue, thread); 82 thread->previous = previous; 84 /* Wait until previous thread is done with lock. */ 94 ck_spinlock_clh_unlock(struct ck_spinlock_clh **thread) argument 105 previous = thread[0]->previous; 111 ck_pr_store_uint(&(*thread)->wait, false); 118 *thread [all...] |
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_mmap.h | 47 int linux_mmap_common(struct thread *, uintptr_t, size_t, int, int, 49 int linux_mprotect_common(struct thread *, uintptr_t, size_t, int);
|
/freebsd-11-stable/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket_hci_raw.h | 71 int ng_btsocket_hci_raw_attach (struct socket *, int, struct thread *); 73 struct thread *); 75 struct thread *); 77 struct ifnet *, struct thread *); 84 struct thread *);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_rtems.cpp | 82 // will never be called. Instead, our own thread destruction hook 98 // Shared setup between thread creation and startup for the initial thread. 104 AsanThread *thread = (AsanThread *)MmapOrDie(sizeof(AsanThread), __func__); local 105 AsanThreadContext::CreateThreadContextArgs args = {thread, stack}; 109 // thread itself. But on RTEMS we already know the stack address 113 thread->Init(&options); 114 return thread; 118 // We're in the creator thread before the new thread i 158 AsanThread *thread = static_cast<AsanThread *>(hook); local 200 AsanThread *thread = static_cast<AsanThread *>(hook); local 231 __sanitizer_before_thread_create_hook(uptr thread, bool detached, const char *name, void *stack_base, size_t stack_size, void *tls_base, size_t tls_size) argument 241 __sanitizer_thread_create_hook(void *handle, uptr thread, int status) argument [all...] |
H A D | asan_stack.cpp | 34 explicit ScopedUnwinding(AsanThread *t) : thread(t) { 35 if (thread) { 36 can_unwind = !thread->isUnwinding(); 37 thread->setUnwinding(true); 41 if (thread) 42 thread->setUnwinding(false); 48 AsanThread *thread = nullptr; member in class:__asan::__anon975::ScopedUnwinding
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/ |
H A D | FuncUnwinders.h | 38 lldb::UnwindPlanSP GetUnwindPlanAtCallSite(Target &target, Thread &thread); 41 lldb_private::Thread &thread); 44 lldb_private::Thread &thread); 47 GetUnwindPlanArchitectureDefault(lldb_private::Thread &thread); 50 GetUnwindPlanArchitectureDefaultAtFunctionEntry(lldb_private::Thread &thread); 77 lldb::UnwindPlanSP GetAssemblyUnwindPlan(Target &target, Thread &thread); 82 Thread &thread); 87 Thread &thread); 92 Thread &thread); 98 lldb::UnwindPlanSP GetSymbolFileUnwindPlan(Thread &thread); [all...] |
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_xenix.h | 23 struct thread; 98 int xenix_rdchk(struct thread *, struct xenix_rdchk_args *); 99 int xenix_chsize(struct thread *, struct xenix_chsize_args *); 100 int xenix_ftime(struct thread *, struct xenix_ftime_args *); 101 int xenix_nap(struct thread *, struct xenix_nap_args *); 102 int xenix_scoinfo(struct thread *, struct xenix_scoinfo_args *); 103 int xenix_eaccess(struct thread *, struct xenix_eaccess_args *); 104 int ibcs2_sigaction(struct thread *, struct ibcs2_sigaction_args *); 105 int ibcs2_sigprocmask(struct thread *, struct ibcs2_sigprocmask_args *); 106 int ibcs2_sigpending(struct thread *, struc [all...] |
/freebsd-11-stable/sys/contrib/ck/src/ |
H A D | ck_hp.c | 221 ck_hp_reclaim(struct ck_hp_record *thread) argument 224 struct ck_hp *global = thread->global; 230 cache = thread->cache; 239 CK_STACK_FOREACH_SAFE(&thread->pending, entry, next) { 254 thread->n_pending -= 1; 260 CK_STACK_FIRST(&thread->pending) = CK_STACK_NEXT(entry); 264 thread->n_reclamations++; 271 ck_hp_retire(struct ck_hp_record *thread, argument 279 ck_stack_push_spnc(&thread->pending, &hazard->pending_entry); 281 thread 289 ck_hp_free(struct ck_hp_record *thread, struct ck_hp_hazard *hazard, void *data, void *pointer) argument 312 ck_hp_purge(struct ck_hp_record *thread) argument [all...] |