/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_join.c | 63 pthread_t thread; local 65 PTHREAD_REQUIRE(pthread_create(&thread, NULL, threadfunc1, NULL)); 66 PTHREAD_REQUIRE(pthread_join(thread, NULL)); 72 pthread_t thread[25]; local 83 * Check alignment of thread stack, if supported. 90 * out, if we try to join the calling thread. 102 for (i = 0; i < __arraycount(thread); i++) { 108 rv = pthread_create(&thread[i], &attr, threadfunc2, (void *)i); 115 PTHREAD_REQUIRE(pthread_join(thread[i], &val)); 123 * Once the thread ha [all...] |
/freebsd-11-stable/sys/fs/nfsclient/ |
H A D | nfs.h | 81 * will be used by the thread that called nfs_asyncio(). 92 int ncl_meta_setsize(struct vnode *, struct thread *, u_quad_t); 96 int ncl_vinvalbuf(struct vnode *, int, struct thread *, int); 98 struct thread *); 99 int ncl_doio(struct vnode *, struct buf *, struct ucred *, struct thread *, 111 struct thread *); 113 struct thread *); 114 int ncl_writebp(struct buf *, int, struct thread *); 115 int ncl_commit(struct vnode *, u_quad_t, int, struct ucred *, struct thread *); 118 struct thread *); [all...] |
/freebsd-11-stable/sys/nfs/ |
H A D | krpc.h | 7 struct thread; 13 struct mbuf **data, struct sockaddr **from, struct thread *td); 16 u_int prog, u_int vers, u_int16_t *portp, struct thread *td);
|
H A D | nfs_fha.c | 96 "single nfsd thread should be working on at any time"); 247 fha_hash_entry_add_thread(struct fha_hash_entry *fhe, SVCTHREAD *thread) argument 251 thread->st_p2 = 0; 252 LIST_INSERT_HEAD(&fhe->threads, thread, st_alink); 257 fha_hash_entry_remove_thread(struct fha_hash_entry *fhe, SVCTHREAD *thread) argument 261 KASSERT(thread->st_p2 == 0, 262 ("%d reqs on removed thread %p", thread->st_p2, thread)); 263 LIST_REMOVE(thread, st_alin 289 SVCTHREAD *thread, *min_thread = NULL; local 382 SVCTHREAD *thread; local 442 fha_nd_complete(SVCTHREAD *thread, struct svc_req *req) argument 475 SVCTHREAD *thread; local [all...] |
/freebsd-11-stable/sys/amd64/include/ |
H A D | proc.h | 82 /* Get the current kernel thread stack usage. */ 84 struct thread *td = curthread; \ 92 void user_ldt_free(struct thread *); 94 int sysarch_ldt(struct thread *td, struct sysarch_args *uap, int uap_space); 95 int amd64_set_ldt_data(struct thread *td, int start, int num,
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_mib.h | 41 void linux_get_osname(struct thread *td, char *dst); 43 void linux_get_osrelease(struct thread *td, char *dst); 45 int linux_get_oss_version(struct thread *td); 47 int linux_kernver(struct thread *td);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/ |
H A D | HostThread.cpp | 17 HostThread::HostThread(lldb::thread_t thread) argument 18 : m_native_thread(new HostNativeThread(thread)) {} 44 bool HostThread::EqualsThread(lldb::thread_t thread) const { 45 return m_native_thread->EqualsThread(thread);
|
/freebsd-11-stable/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket_l2cap.h | 99 int ng_btsocket_l2cap_raw_attach (struct socket *, int, struct thread *); 101 struct thread *); 103 struct thread *); 105 struct ifnet *, struct thread *); 111 struct thread *); 196 int ng_btsocket_l2cap_attach (struct socket *, int, struct thread *); 198 struct thread *); 200 struct thread *); 202 struct ifnet *, struct thread *); 206 int ng_btsocket_l2cap_listen (struct socket *, int, struct thread *); [all...] |
H A D | ng_btsocket_sco.h | 110 int ng_btsocket_sco_attach (struct socket *, int, struct thread *); 112 struct thread *); 114 struct thread *); 116 struct ifnet *, struct thread *); 120 int ng_btsocket_sco_listen (struct socket *, int, struct thread *); 124 struct thread *);
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.mutex_owner.d | 31 * mutex_owner() should return a pointer to the kernel thread holding 44 struct thread *ptr;
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | io.c | 38 iodev_open(struct thread *td) 46 iodev_close(struct thread *td)
|
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_ctrdtr.c | 38 _tcb_ctor(struct pthread *thread, int initial) argument 47 tcb->tcb_thread = thread;
|
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | sys_machdep.c | 40 freebsd32_sysarch(struct thread *td, struct freebsd32_sysarch_args *uap) 48 sysarch(struct thread *td, struct sysarch_args *uap)
|
/freebsd-11-stable/sys/sys/ |
H A D | selinfo.h | 55 void selrecord(struct thread *selector, struct selinfo *sip); 58 void seltdfini(struct thread *td);
|
H A D | imgact.h | 93 struct thread; 100 void exec_cleanup(struct thread *td, struct vmspace *); 104 void exec_setregs(struct thread *, struct image_params *, u_long); 108 int exec_copyin_data_fds(struct thread *, struct image_args *, const void *, 110 int pre_execve(struct thread *td, struct vmspace **oldvmspace); 111 void post_execve(struct thread *td, int error, struct vmspace *oldvmspace);
|
H A D | sysproto.h | 23 struct thread; 1799 int nosys(struct thread *, struct nosys_args *); 1800 void sys_sys_exit(struct thread *, struct sys_exit_args *); 1801 int sys_fork(struct thread *, struct fork_args *); 1802 int sys_read(struct thread *, struct read_args *); 1803 int sys_write(struct thread *, struct write_args *); 1804 int sys_open(struct thread *, struct open_args *); 1805 int sys_close(struct thread *, struct close_args *); 1806 int sys_wait4(struct thread *, struct wait4_args *); 1807 int sys_link(struct thread *, struc [all...] |
/freebsd-11-stable/sys/ufs/ufs/ |
H A D | acl.h | 40 int ufs_getacl_nfs4_internal(struct vnode *vp, struct acl *aclp, struct thread *td); 41 int ufs_setacl_nfs4_internal(struct vnode *vp, struct acl *aclp, struct thread *td);
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | io.c | 38 iodev_open(struct thread *td) 46 iodev_close(struct thread *td)
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | NativeRegisterContextRegisterInfo.cpp | 16 NativeThreadProtocol &thread, 18 : NativeRegisterContext(thread), 15 NativeRegisterContextRegisterInfo( NativeThreadProtocol &thread, RegisterInfoInterface *register_info_interface) argument
|
/freebsd-11-stable/sys/sparc64/include/ |
H A D | reg.h | 111 int fill_regs(struct thread *, struct reg *); 112 int set_regs(struct thread *, struct reg *); 113 int fill_fpregs(struct thread *, struct fpreg *); 114 int set_fpregs(struct thread *, struct fpreg *); 115 int fill_dbregs(struct thread *, struct dbreg *); 116 int set_dbregs(struct thread *, struct dbreg *);
|
/freebsd-11-stable/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBHostOS.i | 37 ThreadCancel (lldb::thread_t thread, 41 ThreadDetach (lldb::thread_t thread, 44 ThreadJoin (lldb::thread_t thread,
|
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | vm_machdep.c | 63 cpu_fork(struct thread *td1, struct proc *p2, struct thread *td2, int flags) 114 cpu_thread_swapin(struct thread *td) 119 cpu_thread_swapout(struct thread *td) 124 cpu_set_syscall_retval(struct thread *td, int error) 150 * thread, about to return to userspace. Put enough state in the new 151 * thread's PCB to get it to go back to the fork_return(), which 152 * finalizes the thread state and handles peculiarities of the first 153 * return to userspace for the new thread. 156 cpu_copy_thread(struct thread *t [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/API/ |
H A D | SBHostOS.cpp | 111 llvm::Expected<HostThread> thread = local 113 if (!thread) { 115 error_ptr->SetError(Status(thread.takeError())); 117 llvm::consumeError(thread.takeError()); 121 return thread->Release(); 129 bool SBHostOS::ThreadCancel(lldb::thread_t thread, SBError *error_ptr) { argument 131 (lldb::thread_t, lldb::SBError *), thread, 135 HostThread host_thread(thread); 143 bool SBHostOS::ThreadDetach(lldb::thread_t thread, SBError *error_ptr) { argument 145 (lldb::thread_t, lldb::SBError *), thread, 162 ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result, SBError *error_ptr) argument [all...] |
/freebsd-11-stable/sys/i386/linux/ |
H A D | linux_proto.h | 23 struct thread; 1529 int linux_exit(struct thread *, struct linux_exit_args *); 1530 int linux_fork(struct thread *, struct linux_fork_args *); 1531 int linux_open(struct thread *, struct linux_open_args *); 1532 int linux_waitpid(struct thread *, struct linux_waitpid_args *); 1533 int linux_creat(struct thread *, struct linux_creat_args *); 1534 int linux_link(struct thread *, struct linux_link_args *); 1535 int linux_unlink(struct thread *, struct linux_unlink_args *); 1536 int linux_execve(struct thread *, struct linux_execve_args *); 1537 int linux_chdir(struct thread *, struc [all...] |
/freebsd-11-stable/sys/amd64/linux32/ |
H A D | linux32_proto.h | 23 struct thread; 1511 int linux_exit(struct thread *, struct linux_exit_args *); 1512 int linux_fork(struct thread *, struct linux_fork_args *); 1513 int linux_open(struct thread *, struct linux_open_args *); 1514 int linux_waitpid(struct thread *, struct linux_waitpid_args *); 1515 int linux_creat(struct thread *, struct linux_creat_args *); 1516 int linux_link(struct thread *, struct linux_link_args *); 1517 int linux_unlink(struct thread *, struct linux_unlink_args *); 1518 int linux_execve(struct thread *, struct linux_execve_args *); 1519 int linux_chdir(struct thread *, struc [all...] |