Home
last modified time | relevance | path

Searched defs:td (Results 26 – 50 of 860) sorted by relevance

12345678910>>...35

/freebsd/sys/amd64/amd64/
H A Dexec_machdep.c113 struct thread *td; in sendsig() local
226 sys_sigreturn(struct thread *td, struct sigreturn_args *uap) in sys_sigreturn()
411 fill_regs(struct thread *td, struct reg *regs) in fill_regs()
460 set_regs(struct thread *td, struct reg *regs) in set_regs()
561 fill_fpregs(struct thread *td, struct fpreg *fpregs) in fill_fpregs()
574 set_fpregs(struct thread *td, struct fpreg *fpregs) in set_fpregs()
588 get_mcontext(struct thread *td, mcontext_t *mcp, int flags) in get_mcontext()
647 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
758 fpstate_drop(struct thread *td) in fpstate_drop()
781 fill_dbregs(struct thread *td, struct dbreg *dbregs) in fill_dbregs()
[all …]
H A Dptrace_machdep.c55 get_segbases(struct regset *rs, struct thread *td, void *buf, in get_segbases()
76 set_segbases(struct regset *rs, struct thread *td, void *buf, in set_segbases()
105 get_segbases32(struct regset *rs, struct thread *td, void *buf, in get_segbases32()
126 set_segbases32(struct regset *rs, struct thread *td, void *buf, in set_segbases32()
155 cpu_ptrace_xstate(struct thread *td, int req, void *addr, int data) in cpu_ptrace_xstate()
244 cpu_ptrace_setbase(struct thread *td, int req, register_t r) in cpu_ptrace_setbase()
264 cpu32_ptrace(struct thread *td, int req, void *addr, int data) in cpu32_ptrace()
328 cpu_ptrace(struct thread *td, int req, void *addr, int data) in cpu_ptrace()
384 ptrace_set_pc(struct thread *td, unsigned long addr) in ptrace_set_pc()
393 ptrace_single_step(struct thread *td) in ptrace_single_step()
[all …]
/freebsd/sys/i386/i386/
H A Dptrace_machdep.c53 get_segbases(struct regset *rs, struct thread *td, void *buf, in get_segbases()
69 set_segbases(struct regset *rs, struct thread *td, void *buf, in set_segbases()
94 cpu_ptrace_xstate(struct thread *td, int req, void *addr, int data) in cpu_ptrace_xstate()
165 cpu_ptrace_xmm(struct thread *td, int req, void *addr, int data) in cpu_ptrace_xmm()
202 cpu_ptrace(struct thread *td, int req, void *addr, int data) in cpu_ptrace()
250 ptrace_set_pc(struct thread *td, u_long addr) in ptrace_set_pc()
258 ptrace_single_step(struct thread *td) in ptrace_single_step()
270 ptrace_clear_single_step(struct thread *td) in ptrace_clear_single_step()
H A Dexec_machdep.c132 struct thread *td; in osendsig() local
261 struct thread *td; in freebsd4_sendsig() local
380 struct thread *td; in sendsig() local
1006 fill_regs(struct thread *td, struct reg *regs) in fill_regs()
1042 set_regs(struct thread *td, struct reg *regs) in set_regs()
1072 fill_fpregs(struct thread *td, struct fpreg *fpregs) in fill_fpregs()
1089 set_fpregs(struct thread *td, struct fpreg *fpregs) in set_fpregs()
1161 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
1253 fpstate_drop(struct thread *td) in fpstate_drop()
1276 fill_dbregs(struct thread *td, struct dbreg *dbregs) in fill_dbregs()
[all …]
/freebsd/sys/compat/linux/
H A Dlinux_fork.c65 linux_fork(struct thread *td, struct linux_fork_args *args) in linux_fork()
95 linux_vfork(struct thread *td, struct linux_vfork_args *args) in linux_vfork()
126 linux_clone_proc(struct thread *td, struct l_clone_args *args) in linux_clone_proc()
237 linux_clone_thread(struct thread *td, struct l_clone_args *args) in linux_clone_thread()
359 linux_clone(struct thread *td, struct linux_clone_args *args) in linux_clone()
430 linux_clone3(struct thread *td, struct linux_clone3_args *args) in linux_clone3()
475 linux_exit(struct thread *td, struct linux_exit_args *args) in linux_exit()
496 linux_set_tid_address(struct thread *td, struct linux_set_tid_address_args *args) in linux_set_tid_address()
514 linux_thread_detach(struct thread *td) in linux_thread_detach()
H A Dlinux_xattr.c131 listxattr(struct thread *td, struct listxattr_args *args) in listxattr()
211 linux_listxattr(struct thread *td, struct linux_listxattr_args *args) in linux_listxattr()
253 removexattr(struct thread *td, struct removexattr_args *args) in removexattr()
310 getxattr(struct thread *td, struct getxattr_args *args) in getxattr()
328 linux_getxattr(struct thread *td, struct linux_getxattr_args *args) in linux_getxattr()
343 linux_lgetxattr(struct thread *td, struct linux_lgetxattr_args *args) in linux_lgetxattr()
358 linux_fgetxattr(struct thread *td, struct linux_fgetxattr_args *args) in linux_fgetxattr()
373 setxattr(struct thread *td, struct setxattr_args *args) in setxattr()
415 linux_setxattr(struct thread *td, struct linux_setxattr_args *args) in linux_setxattr()
431 linux_lsetxattr(struct thread *td, struct linux_lsetxattr_args *args) in linux_lsetxattr()
[all …]
/freebsd/sys/kern/
H A Dvfs_syscalls.c135 kern_sync(struct thread *td) in kern_sync()
172 sys_sync(struct thread *td, struct sync_args *uap) in sys_sync()
1024 change_dir(struct vnode *vp, struct thread *td) in change_dir()
1089 sys_open(struct thread *td, struct open_args *uap) in sys_open()
1303 ocreat(struct thread *td, struct ocreat_args *uap) in ocreat()
1332 freebsd11_mknod(struct thread *td, in freebsd11_mknod()
1341 freebsd11_mknodat(struct thread *td, in freebsd11_mknodat()
2086 struct thread *td) in vn_access()
2220 ostat(struct thread *td, struct ostat_args *uap) in ostat()
2698 struct thread *td) in kern_readlink_vp()
[all …]
H A Dsys_capability.c100 sys_cap_enter(struct thread *td, struct cap_enter_args *uap) in sys_cap_enter()
123 sys_cap_getmode(struct thread *td, struct cap_getmode_args *uap) in sys_cap_getmode()
134 sys_cap_enter(struct thread *td, struct cap_enter_args *uap) in sys_cap_enter()
141 sys_cap_getmode(struct thread *td, struct cap_getmode_args *uap) in sys_cap_getmode()
229 kern_cap_rights_limit(struct thread *td, int fd, cap_rights_t *rights) in kern_cap_rights_limit()
266 sys_cap_rights_limit(struct thread *td, struct cap_rights_limit_args *uap) in sys_cap_rights_limit()
309 sys___cap_rights_get(struct thread *td, struct __cap_rights_get_args *uap) in sys___cap_rights_get()
484 sys_cap_ioctls_get(struct thread *td, struct cap_ioctls_get_args *uap) in sys_cap_ioctls_get()
612 sys_cap_fcntls_get(struct thread *td, struct cap_fcntls_get_args *uap) in sys_cap_fcntls_get()
665 sys_cap_ioctls_get(struct thread *td, struct cap_ioctls_get_args *uap) in sys_cap_ioctls_get()
[all …]
H A Dkern_switch.c153 choosethread_panic(struct thread *td) in choosethread_panic()
176 struct thread *td; in choosethread() local
201 struct thread *td = curthread; in critical_enter_KBI() local
211 struct thread *td; in critical_exit_preempt() local
246 struct thread *td = curthread; in critical_exit_KBI() local
363 runq_add(struct runq *rq, struct thread *td, int flags) in runq_add()
428 struct thread *td; in runq_choose_fuzz() local
470 struct thread *td; in runq_choose() local
490 struct thread *td; in runq_choose_from() local
512 runq_remove(struct runq *rq, struct thread *td) in runq_remove()
[all …]
H A Dsys_process.c111 proc_read_regs(struct thread *td, struct reg *regs) in proc_read_regs()
118 proc_write_regs(struct thread *td, struct reg *regs) in proc_write_regs()
125 proc_read_dbregs(struct thread *td, struct dbreg *dbregs) in proc_read_dbregs()
132 proc_write_dbregs(struct thread *td, struct dbreg *dbregs) in proc_write_dbregs()
143 proc_read_fpregs(struct thread *td, struct fpreg *fpregs) in proc_read_fpregs()
150 proc_write_fpregs(struct thread *td, struct fpreg *fpregs) in proc_write_fpregs()
157 proc_find_regset(struct thread *td, int note) in proc_find_regset()
296 proc_read_regs32(struct thread *td, struct reg32 *regs32) in proc_read_regs32()
339 proc_sstep(struct thread *td) in proc_sstep()
599 sys_ptrace(struct thread *td, struct ptrace_args *uap) in sys_ptrace()
[all …]
H A Dkern_sig.c709 cursig(struct thread *td) in cursig()
740 struct thread *td; in sigonstack() local
1078 struct thread *td; in execsigs() local
1775 struct thread *td; member
2231 struct thread *td; in sigev_findtd() local
2958 struct thread *td; in reschedule_signals() local
3045 struct thread *td; in sigdeferstop_impl() local
3087 struct thread *td; in sigallowstop_impl() local
3399 struct thread *td; in postsig() local
3536 struct thread *td; in sig_intr() local
[all …]
H A Dsys_generic.c189 sys_read(struct thread *td, struct read_args *uap) in sys_read()
220 sys_pread(struct thread *td, struct pread_args *uap) in sys_pread()
265 sys_readv(struct thread *td, struct readv_args *uap) in sys_readv()
887 kern_fspacectl(struct thread *td, int fd, int cmd, in kern_fspacectl()
1474 sys_poll(struct thread *td, struct poll_args *uap) in sys_poll()
1637 pollrescan(struct thread *td) in pollrescan()
1818 selfdalloc(struct thread *td, void *cookie) in selfdalloc()
1970 seltdinit(struct thread *td) in seltdinit()
2021 seltdfini(struct thread *td) in seltdfini()
2045 seltdclear(struct thread *td) in seltdclear()
[all …]
H A Dsched_ule.c390 struct thread *td; in runq_print() local
620 struct thread *td; in tdq_setlowpri() local
849 struct thread *td; in sched_balance_group() local
995 struct thread *td; in tdq_move() local
1236 struct thread *td; in runq_steal() local
1263 struct thread *td; in tdq_steal() local
1459 struct thread *td; in tdq_choose() local
2314 struct thread *td; in sched_nice() local
2475 struct thread *td; in sched_exit() local
2685 struct thread *td; in sched_choose() local
[all …]
/freebsd/sys/amd64/linux32/
H A Dlinux32_machdep.c100 linux_readv(struct thread *td, struct linux_readv_args *uap) in linux_readv()
119 linux_ipc(struct thread *td, struct linux_ipc_args *args) in linux_ipc()
250 linux_old_select(struct thread *td, struct linux_old_select_args *args) in linux_old_select()
269 linux_set_cloned_tls(struct thread *td, void *desc) in linux_set_cloned_tls()
295 linux_set_upcall(struct thread *td, register_t stack) in linux_set_upcall()
310 linux_mmap(struct thread *td, struct linux_mmap_args *args) in linux_mmap()
325 linux_iopl(struct thread *td, struct linux_iopl_args *args) in linux_iopl()
342 linux_sigaction(struct thread *td, struct linux_sigaction_args *args) in linux_sigaction()
391 linux_pause(struct thread *td, struct linux_pause_args *args) in linux_pause()
452 linux_getrusage(struct thread *td, struct linux_getrusage_args *uap) in linux_getrusage()
[all …]
/freebsd/sys/arm/arm/
H A Dmachdep_ptrace.c39 ptrace_read_int(struct thread *td, vm_offset_t addr, uint32_t *v) in ptrace_read_int()
48 ptrace_write_int(struct thread *td, vm_offset_t addr, uint32_t v) in ptrace_write_int()
60 struct thread *td = cookie; in ptrace_get_usr_reg() local
86 struct thread *td = cookie; in ptrace_get_usr_int() local
109 ptrace_get_alternative_next(struct thread *td, uint32_t cur_instr, in ptrace_get_alternative_next()
126 ptrace_single_step(struct thread *td) in ptrace_single_step()
183 ptrace_clear_single_step(struct thread *td) in ptrace_clear_single_step()
213 ptrace_set_pc(struct thread *td, unsigned long addr) in ptrace_set_pc()
H A Dmachdep_kdb.c92 fill_regs(struct thread *td, struct reg *regs) in fill_regs()
104 fill_fpregs(struct thread *td, struct fpreg *regs) in fill_fpregs()
130 set_regs(struct thread *td, struct reg *regs) in set_regs()
144 set_fpregs(struct thread *td, struct fpreg *regs) in set_fpregs()
159 fill_dbregs(struct thread *td, struct dbreg *regs) in fill_dbregs()
167 set_dbregs(struct thread *td, struct dbreg *regs) in set_dbregs()
H A Dexec_machdep.c77 exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack) in exec_setregs()
96 get_vfpcontext(struct thread *td, mcontext_vfp_t *vfp) in get_vfpcontext()
118 set_vfpcontext(struct thread *td, mcontext_vfp_t *vfp) in set_vfpcontext()
135 arm_get_vfpstate(struct thread *td, void *args) in arm_get_vfpstate()
162 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) in get_mcontext()
216 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext()
278 struct thread *td; in sendsig() local
371 sys_sigreturn(struct thread *td, struct sigreturn_args *uap) in sys_sigreturn()
/freebsd/sys/powerpc/powerpc/
H A Dcopyinout.c161 struct thread *td; in REMAP() local
200 struct thread *td; in REMAP() local
239 struct thread *td; in REMAP() local
292 struct thread *td; in REMAP() local
320 struct thread *td; in REMAP() local
349 struct thread *td; in REMAP() local
384 struct thread *td; in REMAP() local
420 struct thread *td; in REMAP() local
449 struct thread *td; in REMAP() local
564 struct thread *td; in REMAP() local
[all …]
H A Dfpu.c47 save_fpu_int(struct thread *td) in save_fpu_int()
101 enable_fpu(struct thread *td) in enable_fpu()
182 save_fpu(struct thread *td) in save_fpu()
203 save_fpu_nodrop(struct thread *td) in save_fpu_nodrop()
230 get_fpu_exception(struct thread *td) in get_fpu_exception()
276 disable_fpu(struct thread *td) in disable_fpu()
310 fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx, u_int flags) in fpu_kern_enter()
346 fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx) in fpu_kern_leave()
/freebsd/sys/arm64/arm64/
H A Dfreebsd32_machdep.c72 freebsd32_sysarch(struct thread *td, struct freebsd32_sysarch_args *uap) in freebsd32_sysarch()
131 get_fpcontext32(struct thread *td, mcontext32_vfp_t *mcp) in get_fpcontext32()
167 set_fpcontext32(struct thread *td, mcontext32_vfp_t *mcp) in set_fpcontext32()
189 get_mcontext32(struct thread *td, mcontext32_t *mcp, int flags) in get_mcontext32()
214 set_mcontext32(struct thread *td, mcontext32_t *mcp) in set_mcontext32()
261 freebsd32_getcontext(struct thread *td, struct freebsd32_getcontext_args *uap) in freebsd32_getcontext()
280 freebsd32_setcontext(struct thread *td, struct freebsd32_setcontext_args *uap) in freebsd32_setcontext()
300 freebsd32_sigreturn(struct thread *td, struct freebsd32_sigreturn_args *uap) in freebsd32_sigreturn()
321 freebsd32_swapcontext(struct thread *td, struct freebsd32_swapcontext_args *uap) in freebsd32_swapcontext()
350 struct thread *td; in freebsd32_sendsig() local
[all …]
/freebsd/sys/amd64/ia32/
H A Dia32_signal.c92 ia32_get_fpcontext(struct thread *td, struct ia32_mcontext *mcp, in ia32_get_fpcontext()
119 ia32_set_fpcontext(struct thread *td, struct ia32_mcontext *mcp, in ia32_set_fpcontext()
145 ia32_get_mcontext(struct thread *td, struct ia32_mcontext *mcp, int flags) in ia32_get_mcontext()
198 ia32_set_mcontext(struct thread *td, struct ia32_mcontext *mcp) in ia32_set_mcontext()
256 freebsd32_getcontext(struct thread *td, struct freebsd32_getcontext_args *uap) in freebsd32_getcontext()
275 freebsd32_setcontext(struct thread *td, struct freebsd32_setcontext_args *uap) in freebsd32_setcontext()
341 struct thread *td; in ia32_osendsig() local
444 struct thread *td; in freebsd4_ia32_sendsig() local
555 struct thread *td; in ia32_sendsig() local
751 freebsd4_freebsd32_sigreturn(struct thread *td, in freebsd4_freebsd32_sigreturn()
[all …]
H A Dia32_reg.c73 fill_regs32(struct thread *td, struct reg32 *regs) in fill_regs32()
107 set_regs32(struct thread *td, struct reg32 *regs) in set_regs32()
136 fill_fpregs32(struct thread *td, struct fpreg32 *regs) in fill_fpregs32()
210 set_fpregs32(struct thread *td, struct fpreg32 *regs) in set_fpregs32()
242 fill_dbregs32(struct thread *td, struct dbreg32 *regs) in fill_dbregs32()
254 set_dbregs32(struct thread *td, struct dbreg32 *regs) in set_dbregs32()
267 get_i386_segbases(struct regset *rs, struct thread *td, void *buf, in get_i386_segbases()
288 set_i386_segbases(struct regset *rs, struct thread *td, void *buf, in set_i386_segbases()
/freebsd/lib/libc/tests/nss/
H A Dtestutil.h56 #define TEST_DATA_INIT(ent, td, clonef, freef)\ argument
58 #define TEST_DATA_DESTROY(ent, td) __##ent##_test_data_destroy(td) argument
59 #define TEST_DATA_APPEND(ent, td, d) __##ent##_test_data_append(td, d) argument
60 #define TEST_DATA_FOREACH(ent, td, f, mdata)\ argument
64 #define TEST_DATA_FIND(ent, td, d, fcmp, mdata)\ argument
66 #define TEST_DATA_CLEAR(ent, td) __##ent##_test_data_clear(td) argument
207 #define TEST_SNAPSHOT_FILE_WRITE(ent, fname, td, f) \ argument
209 #define TEST_SNAPSHOT_FILE_READ(ent, fname, td, f) \ argument
294 #define DO_1PASS_TEST(ent, td, f, mdata) \ argument
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dtestmode.c33 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_pending() local
95 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_free_skb() local
106 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_alloc_skb() local
180 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_init() local
272 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_start() local
284 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_stop() local
314 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_init_defaults() local
366 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_set_state() local
412 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_cmd() local
539 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_dump_stats() local
[all …]
/freebsd/sys/dev/cpuctl/
H A Dcpuctl.c111 cpu_sched_is_bound(struct thread *td) in cpu_sched_is_bound()
125 set_cpu(int cpu, struct thread *td) in set_cpu()
139 restore_cpu(int oldcpu, int is_bound, struct thread *td) in restore_cpu()
154 int flags, struct thread *td) in cpuctl_ioctl()
210 struct thread *td) in cpuctl_do_cpuid_count()
235 cpuctl_do_cpuid(int cpu, cpuctl_cpuid_args_t *data, struct thread *td) in cpuctl_do_cpuid()
303 cpuctl_do_update(int cpu, cpuctl_update_args_t *data, struct thread *td) in cpuctl_do_update()
351 update_intel(int cpu, cpuctl_update_args_t *args, struct thread *td) in update_intel()
414 update_amd(int cpu, cpuctl_update_args_t *args, struct thread *td) in update_amd()
448 update_via(int cpu, cpuctl_update_args_t *args, struct thread *td) in update_via()
[all …]

12345678910>>...35