Searched refs:thread (Results 126 - 150 of 1555) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanCallFunctionUsingABI.cpp24 Thread &thread, const Address &function, llvm::Type &prototype,
27 : ThreadPlanCallFunction(thread, function, options),
33 if (!ConstructorSetup(thread, abi, start_load_addr, function_load_addr))
36 if (!abi->PrepareTrivialCall(thread, m_function_sp, function_load_addr,
50 s->Printf("Function call thread plan using ABI instead of JIT");
23 ThreadPlanCallFunctionUsingABI( Thread &thread, const Address &function, llvm::Type &prototype, llvm::Type &return_type, llvm::ArrayRef<ABI::CallArgument> args, const EvaluateExpressionOptions &options) argument
/freebsd-11-stable/contrib/llvm-project/lldb/bindings/interface/
H A DSBExecutionContext.i22 SBExecutionContext (lldb::SBThread thread); // can't be a const& because SBThread::get() isn't itself a const function
44 thread = property(GetThread, None, doc='''A read only property that returns the same result as GetThread().''')
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DHostNativeThreadBase.cpp23 HostNativeThreadBase::HostNativeThreadBase(thread_t thread) argument
24 : m_thread(thread), m_result(0) {}
43 bool HostNativeThreadBase::EqualsThread(lldb::thread_t thread) const {
44 return m_thread == thread;
65 LLDB_LOGF(log, "thread created");
/freebsd-11-stable/sys/sys/
H A Dumtx.h178 struct thread;
193 int kern_umtx_wake(struct thread *, void *, int, int);
194 void umtx_pi_adjust(struct thread *, u_char);
195 void umtx_thread_init(struct thread *);
196 void umtx_thread_fini(struct thread *);
197 void umtx_thread_alloc(struct thread *);
198 void umtx_thread_exit(struct thread *);
H A Dresourcevar.h117 struct thread;
119 void addupc_intr(struct thread *td, uintfptr_t pc, u_int ticks);
120 void addupc_task(struct thread *td, uintfptr_t pc, u_int ticks);
130 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which,
135 rlim_t lim_cur(struct thread *td, int which);
141 rlim_t lim_max(struct thread *td, int which);
143 void lim_rlimit(struct thread *td, int which, struct rlimit *rlp);
151 void rufetchtd(struct thread *td, struct rusage *ru);
152 void ruxagg(struct proc *p, struct thread *td);
H A Dsysent.h39 struct thread;
48 typedef int sy_call_t(struct thread *, void *);
105 int (*sv_coredump)(struct thread *, struct vnode *, off_t, int);
116 void (*sv_setregs)(struct thread *, struct image_params *,
121 void (*sv_set_syscall_retval)(struct thread *, int);
122 int (*sv_fetch_syscall_args)(struct thread *);
129 void (*sv_schedtail)(struct thread *);
130 void (*sv_thread_detach)(struct thread *);
131 int (*sv_trap)(struct thread *);
277 int lkmnosys(struct thread *, struc
[all...]
H A Dacct.h119 struct thread;
121 int acct_process(struct thread *td);
/freebsd-11-stable/sys/ufs/ufs/
H A Dquota.h220 struct thread;
232 int quotaoff(struct thread *, struct mount *, int);
233 int quotaon(struct thread *, struct mount *, int, void *);
234 int getquota32(struct thread *, struct mount *, u_long, int, void *);
235 int setquota32(struct thread *, struct mount *, u_long, int, void *);
236 int setuse32(struct thread *, struct mount *, u_long, int, void *);
237 int getquota(struct thread *, struct mount *, u_long, int, void *);
238 int setquota(struct thread *, struct mount *, u_long, int, void *);
239 int setuse(struct thread *, struct mount *, u_long, int, void *);
240 int getquotasize(struct thread *, struc
[all...]
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_misc.h152 int linux_common_wait(struct thread *td, int pid, int *status,
155 int linux_set_upcall_kse(struct thread *td, register_t stack);
156 int linux_set_cloned_tls(struct thread *td, void *desc);
157 struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t);
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadSpec.h18 // Note: For now the thread spec has only fixed elements -
26 // That's why the thread matches spec test is done as a virtual method in
28 // since it is the native thread that would know how to interpret the keys.
68 bool TIDMatches(Thread &thread) const;
77 bool IndexMatches(Thread &thread) const;
88 bool NameMatches(Thread &thread) const;
99 bool QueueNameMatches(Thread &thread) const;
101 bool ThreadPassesBasicTests(Thread &thread) const;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Architecture/Arm/
H A DArchitectureArm.cpp43 void ArchitectureArm::OverrideStopInfo(Thread &thread) const {
47 // the stop reason to no thread plans think we are stopped for a reason and
73 RegisterContextSP reg_ctx_sp(thread.GetRegisterContext());
101 const uint64_t opcode = thread.GetProcess()->ReadUnsignedIntegerFromMemory(pc, 4, UINT64_MAX, error);
110 thread.SetStopInfo (StopInfoSP());
123 thread.SetStopInfo(StopInfoSP());
/freebsd-11-stable/sys/arm64/arm64/
H A Dvm_machdep.c67 cpu_fork(struct thread *td1, struct proc *p2, struct thread *td2, int flags)
131 cpu_thread_swapin(struct thread *td)
136 cpu_thread_swapout(struct thread *td)
141 cpu_set_syscall_retval(struct thread *td, int error)
167 * thread, about to return to userspace. Put enough state in the new
168 * thread's PCB to get it to go back to the fork_return(), which
169 * finalizes the thread state and handles peculiarities of the first
170 * return to userspace for the new thread.
173 cpu_copy_thread(struct thread *t
[all...]
/freebsd-11-stable/sys/arm/arm/
H A Dvm_machdep.c96 cpu_fork(struct thread *td1, struct proc *p2, struct thread *td2, int flags)
166 cpu_thread_swapin(struct thread *td)
171 cpu_thread_swapout(struct thread *td)
176 cpu_set_syscall_retval(struct thread *td, int error)
238 * thread, about to return to userspace. Put enough state in the new
239 * thread's PCB to get it to go back to the fork_return(), which
240 * finalizes the thread state and handles peculiarities of the first
241 * return to userspace for the new thread.
244 cpu_copy_thread(struct thread *t
[all...]
H A Dmachdep_kdb.c97 fill_regs(struct thread *td, struct reg *regs)
109 fill_fpregs(struct thread *td, struct fpreg *regs)
116 set_regs(struct thread *td, struct reg *regs)
130 set_fpregs(struct thread *td, struct fpreg *regs)
136 fill_dbregs(struct thread *td, struct dbreg *regs)
144 set_dbregs(struct thread *td, struct dbreg *regs)
/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32_proto.h23 struct thread;
707 int freebsd32_wait4(struct thread *, struct freebsd32_wait4_args *);
708 int freebsd32_recvmsg(struct thread *, struct freebsd32_recvmsg_args *);
709 int freebsd32_sendmsg(struct thread *, struct freebsd32_sendmsg_args *);
710 int freebsd32_recvfrom(struct thread *, struct freebsd32_recvfrom_args *);
711 int freebsd32_sigaltstack(struct thread *, struct freebsd32_sigaltstack_args *);
712 int freebsd32_ioctl(struct thread *, struct freebsd32_ioctl_args *);
713 int freebsd32_execve(struct thread *, struct freebsd32_execve_args *);
714 int freebsd32_mprotect(struct thread *, struct freebsd32_mprotect_args *);
715 int freebsd32_setitimer(struct thread *, struc
[all...]
/freebsd-11-stable/sys/nfsclient/
H A Dnfs.h163 int (*nr_writebp)(struct buf *bp, int force, struct thread *td);
168 struct ucred *cred, struct thread *td);
246 int nfs_vinvalbuf(struct vnode *, int, struct thread *, int);
251 struct ucred *cred, struct thread *td);
255 int nfs_asyncio(struct nfsmount *, struct buf *, struct ucred *, struct thread *);
256 int nfs_doio(struct vnode *, struct buf *, struct ucred *, struct thread *);
259 int nfs_sigintr(struct nfsmount *, struct thread *);
261 int nfs_request(struct vnode *, struct mbuf *, int, struct thread *,
280 int nfs_writebp(struct buf *, int, struct thread *);
282 struct thread *);
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_thread.c69 * Asserts below verify the stability of struct thread and struct proc
79 _Static_assert(offsetof(struct thread, td_flags) == 0xe4,
80 "struct thread KBI td_flags");
81 _Static_assert(offsetof(struct thread, td_pflags) == 0xec,
82 "struct thread KBI td_pflags");
83 _Static_assert(offsetof(struct thread, td_frame) == 0x418,
84 "struct thread KBI td_frame");
85 _Static_assert(offsetof(struct thread, td_emuldata) == 0x4c0,
86 "struct thread KBI td_emuldata");
99 _Static_assert(offsetof(struct thread, td_flag
[all...]
/freebsd-11-stable/sys/ddb/
H A Ddb_thread.c49 db_printf("[ thread pid %d tid %ld ]\n", pid, (long)kdb_thread->td_tid);
55 struct thread *thr;
73 db_printf("unable to switch to thread %ld\n",
79 db_printf("%d: invalid thread\n", (int)tid);
93 struct thread *thr;
110 * Lookup a thread based on a db expression address. We assume that the
112 * first and try to treat it as a thread ID to find an associated thread.
114 * PID. If that matches a process, we return the first thread in that
115 * process. Otherwise, we treat the addr as a pointer to a thread
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DThreading.inc82 // Construct and execute the thread.
88 // Wait for the thread
97 // Calling "mach_thread_self()" bumps the reference count on the thread
148 // terminated, but additionally the end of a long thread name will usually
250 // When setting a thread into background state the scheduling priority is set
252 // throttled for any sockets the thread opens after going into background
258 // of another NORMAL I/O request, the thread that issues the THROTTLE I/O is
259 // forced to sleep for a certain interval. This slows down the thread that
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-arc/
H A DABISysV_arc.h25 bool PrepareTrivialCall(lldb_private::Thread &thread, lldb::addr_t sp,
30 // Special thread plan for GDB style non-jit function calls.
32 PrepareTrivialCall(lldb_private::Thread &thread, lldb::addr_t sp,
37 bool GetArgumentValues(lldb_private::Thread &thread,
45 GetReturnValueObjectImpl(lldb_private::Thread &thread,
49 lldb::ValueObjectSP GetReturnValueObjectImpl(lldb_private::Thread &thread,
95 GetReturnValueObjectSimple(lldb_private::Thread &thread,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-hexagon/
H A DABISysV_hexagon.h22 bool PrepareTrivialCall(lldb_private::Thread &thread, lldb::addr_t sp,
27 // special thread plan for GDB style non-jit function calls
29 PrepareTrivialCall(lldb_private::Thread &thread, lldb::addr_t sp,
34 bool GetArgumentValues(lldb_private::Thread &thread,
42 GetReturnValueObjectImpl(lldb_private::Thread &thread,
46 lldb::ValueObjectSP GetReturnValueObjectImpl(lldb_private::Thread &thread,
94 GetReturnValueObjectSimple(lldb_private::Thread &thread,
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_init.c35 __FBSDID("$FreeBSD: stable/11/lib/libthr/thread/thr_init.c 349688 2019-07-03 19:42:36Z kib $");
140 static void init_main_thread(struct pthread *thread);
304 * 1) Some thread routines have detected that the library hasn't yet
332 /* Set the initial thread. */
335 /* Create and initialize the initial thread. */
338 PANIC("Can't allocate initial thread");
345 * Add the thread to the thread list queue.
350 /* Setup the thread specific data */
373 init_main_thread(struct pthread *thread) argument
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/dlopen/dso/
H A Dh_pthread_dlopen.c77 testf_dso_pthread_create(pthread_t *thread, const pthread_attr_t *attr, argument
82 ret = pthread_create(thread, attr, routine, arg);
/freebsd-11-stable/sys/powerpc/include/
H A Dfpu.h73 void enable_fpu(struct thread *);
74 void save_fpu(struct thread *);
/freebsd-11-stable/sys/riscv/include/
H A Dpcpu.h68 static inline struct thread *
71 struct thread *td;

Completed in 290 milliseconds

1234567891011>>