Searched refs:td (Results 76 - 100 of 1053) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/riscv/riscv/
H A Dtrap.c80 call_trapsignal(struct thread *td, int sig, int code, void *addr) argument
88 trapsignal(td, &ksi);
92 cpu_fetch_syscall_args(struct thread *td) argument
100 p = td->td_proc;
101 sa = &td->td_sa;
102 ap = &td->td_frame->tf_a[0];
104 sa->code = td->td_frame->tf_t[0];
123 td->td_retval[0] = 0;
124 td->td_retval[1] = 0;
156 struct thread *td; local
171 struct thread *td; local
324 struct thread *td; local
[all...]
H A Dstack_machdep.c64 stack_save_td(struct stack *st, struct thread *td) argument
68 if (TD_IS_SWAPPED(td))
70 if (TD_IS_RUNNING(td))
73 frame.sp = td->td_pcb->pcb_sp;
74 frame.fp = td->td_pcb->pcb_s[0];
75 frame.pc = td->td_pcb->pcb_ra;
81 stack_save_td_running(struct stack *st, struct thread *td) argument
/freebsd-11-stable/sys/amd64/amd64/
H A Dptrace_machdep.c54 cpu_ptrace_xstate(struct thread *td, int req, void *addr, int data) argument
68 fpugetregs(td);
69 savefpu = (char *)(get_pcb_user_save_td(td) + 1);
82 fpugetregs(td);
83 error = fpusetxstate(td, savefpu, data);
114 fpugetregs(td);
115 savefpu = (char *)(get_pcb_user_save_td(td));
128 error = fpusetregs(td, (struct savefpu *)savefpu,
143 cpu_ptrace_setbase(struct thread *td, int req, register_t r) argument
147 pcb = td
163 cpu32_ptrace(struct thread *td, int req, void *addr, int data) argument
227 cpu_ptrace(struct thread *td, int req, void *addr, int data) argument
[all...]
/freebsd-11-stable/sys/sys/
H A Dproc.h364 #define THREAD_LOCK_ASSERT(td, type) \
366 struct mtx *__m = (td)->td_lock; \
372 #define THREAD_LOCKPTR_ASSERT(td, lock) \
374 struct mtx *__m = (td)->td_lock; \
376 ("Thread %p lock %p does not match %p", td, __m, (lock))); \
379 #define TD_LOCKS_INC(td) ((td)->td_locks++)
380 #define TD_LOCKS_DEC(td) do { \
381 KASSERT(SCHEDULER_STOPPED_TD(td) || (td)
1121 struct thread *td; local
1138 td_get_sched(struct thread *td) argument
1146 td_softdep_cleanup(struct thread *td) argument
[all...]
H A Dosd.h76 #define osd_thread_set(td, slot, value) \
77 osd_set(OSD_THREAD, &(td)->td_osd, (slot), (value))
78 #define osd_thread_set_reserved(td, slot, rsv, value) \
79 osd_set_reserved(OSD_THREAD, &(td)->td_osd, (slot), (rsv), (value))
80 #define osd_thread_get(td, slot) \
81 osd_get(OSD_THREAD, &(td)->td_osd, (slot))
82 #define osd_thread_del(td, slot) do { \
83 KASSERT((td) == curthread, ("Not curthread.")); \
84 osd_del(OSD_THREAD, &(td)->td_osd, (slot)); \
86 #define osd_thread_call(td, metho
[all...]
H A Dfile.h98 struct thread *td);
100 struct ucred *active_cred, struct thread *td);
102 struct ucred *active_cred, struct thread *td);
104 struct ucred *active_cred, struct thread *td);
107 struct ucred *active_cred, struct thread *td);
108 typedef int fo_close_t(struct file *fp, struct thread *td);
110 struct ucred *active_cred, struct thread *td);
112 struct ucred *active_cred, struct thread *td);
115 off_t *sent, int flags, struct thread *td);
117 struct thread *td);
295 fo_read(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) argument
303 fo_write(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) argument
311 fo_truncate(struct file *fp, off_t length, struct ucred *active_cred, struct thread *td) argument
319 fo_ioctl(struct file *fp, u_long com, void *data, struct ucred *active_cred, struct thread *td) argument
327 fo_poll(struct file *fp, int events, struct ucred *active_cred, struct thread *td) argument
335 fo_stat(struct file *fp, struct stat *sb, struct ucred *active_cred, struct thread *td) argument
343 fo_close(struct file *fp, struct thread *td) argument
357 fo_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, struct thread *td) argument
365 fo_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, struct thread *td) argument
373 fo_sendfile(struct file *fp, int sockfd, struct uio *hdr_uio, struct uio *trl_uio, off_t offset, size_t nbytes, off_t *sent, int flags, struct thread *td) argument
383 fo_seek(struct file *fp, off_t offset, int whence, struct thread *td) argument
397 fo_mmap(struct file *fp, vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, vm_prot_t cap_maxprot, int flags, vm_ooffset_t foff, struct thread *td) argument
[all...]
/freebsd-11-stable/sys/netinet/
H A Dtcp_debug.c105 struct tcp_debug *td; local
108 td = &tcp_debug[tcp_debx++];
111 bzero(td, sizeof(*td));
115 td->td_family =
121 td->td_time = iptime();
123 td->td_act = act;
124 td->td_ostate = ostate;
125 td->td_tcb = (caddr_t)tp;
127 td
[all...]
/freebsd-11-stable/sys/powerpc/powerpc/
H A Daltivec.c47 save_vec_int(struct thread *td) argument
52 pcb = td->td_pcb;
87 enable_vec(struct thread *td) argument
93 pcb = td->td_pcb;
94 tf = trapframe(td);
100 td->td_pcb->pcb_veccpu = PCPU_GET(cpuid);
101 PCPU_SET(vecthread, td);
148 save_vec(struct thread *td) argument
152 pcb = td->td_pcb;
154 save_vec_int(td);
169 save_vec_nodrop(struct thread *td) argument
[all...]
/freebsd-11-stable/sys/arm/arm/
H A Dtrap-v4.c164 call_trapsignal(struct thread *td, int sig, u_long code) argument
171 trapsignal(td, &ksi);
179 struct thread *td; local
204 td = curthread;
205 p = td->td_proc;
212 td->td_pticks = 0;
213 td->td_frame = tf;
214 if (td->td_cowgen != td->td_proc->p_cowgen)
215 thread_cow_update(td);
403 dab_fatal(struct trapframe *tf, u_int fsr, u_int far, struct thread *td, struct ksig *ksig) argument
481 dab_align(struct trapframe *tf, u_int fsr, u_int far, struct thread *td, struct ksig *ksig) argument
527 dab_buserr(struct trapframe *tf, u_int fsr, u_int far, struct thread *td, struct ksig *ksig) argument
612 struct thread *td; local
[all...]
H A Dptrace_machdep.c38 cpu_ptrace(struct thread *td, int req, void *addr, int data) argument
48 get_vfpcontext(td, &vfp);
54 set_vfpcontext(td, &vfp);
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_stat.c163 svr4_sys_stat(td, uap)
164 struct thread *td;
172 CHECKALTEXIST(td, uap->path, &path);
174 error = kern_statat(td, 0, AT_FDCWD, path, UIO_SYSSPACE, &st, NULL);
181 (void) svr4_add_socket(td, uap->path, &st);
188 svr4_sys_lstat(td, uap)
189 struct thread *td;
197 CHECKALTEXIST(td, uap->path, &path);
199 error = kern_statat(td, AT_SYMLINK_NOFOLLOW, AT_FDCWD, path,
207 (void) svr4_add_socket(td, ua
[all...]
H A Dsvr4_fcntl.c255 fd_revoke(td, fd)
256 struct thread *td;
265 retval = td->td_retval;
277 if ((error = fgetvp(td, fd, &rights, &vp)) != 0)
287 error = mac_vnode_check_revoke(td->td_ucred, vp);
293 if ((error = VOP_GETATTR(vp, &vattr, td->td_ucred)) != 0)
296 if (td->td_ucred->cr_uid != vattr.va_uid &&
297 (error = priv_check(td, PRIV_VFS_ADMIN)) != 0)
312 fd_truncate(td, fd, flp)
313 struct thread *td;
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddmu_traverse.c77 static int traverse_dnode(traverse_data_t *td, const dnode_phys_t *dnp,
79 static void prefetch_dnode_metadata(traverse_data_t *td, const dnode_phys_t *,
85 traverse_data_t *td = arg; local
91 if (claim_txg == 0 && bp->blk_birth >= spa_min_claim_txg(td->td_spa))
94 SET_BOOKMARK(&zb, td->td_objset, ZB_ZIL_OBJECT, ZB_ZIL_LEVEL,
97 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, td->td_arg);
105 traverse_data_t *td = arg; local
118 SET_BOOKMARK(&zb, td
128 traverse_zil(traverse_data_t *td, zil_header_t *zh) argument
160 resume_skip_check(traverse_data_t *td, const dnode_phys_t *dnp, const zbookmark_phys_t *zb) argument
185 traverse_prefetch_metadata(traverse_data_t *td, const blkptr_t *bp, const zbookmark_phys_t *zb) argument
219 traverse_visitbp(traverse_data_t *td, const dnode_phys_t *dnp, const blkptr_t *bp, const zbookmark_phys_t *zb) argument
432 prefetch_dnode_metadata(traverse_data_t *td, const dnode_phys_t *dnp, uint64_t objset, uint64_t object) argument
450 traverse_dnode(traverse_data_t *td, const dnode_phys_t *dnp, uint64_t objset, uint64_t object) argument
531 traverse_data_t td = *td_main; local
558 traverse_data_t td; local
[all...]
/freebsd-11-stable/sys/arm64/arm64/
H A Dstack_machdep.c59 stack_save_td(struct stack *st, struct thread *td) argument
63 if (TD_IS_SWAPPED(td))
65 if (TD_IS_RUNNING(td))
68 frame.sp = td->td_pcb->pcb_sp;
69 frame.fp = td->td_pcb->pcb_x[29];
70 frame.pc = td->td_pcb->pcb_x[30];
76 stack_save_td_running(struct stack *st, struct thread *td) argument
/freebsd-11-stable/sys/amd64/include/
H A Dfpu.h56 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/vm/
H A Dvm_unix.c74 sys_obreak(struct thread *td, struct obreak_args *uap) argument
76 struct vmspace *vm = td->td_proc->p_vmspace;
84 datalim = lim_cur(td, RLIMIT_DATA);
85 lmemlim = lim_cur(td, RLIMIT_MEMLOCK);
86 vmemlim = lim_cur(td, RLIMIT_VMEM);
130 PROC_LOCK(td->td_proc);
131 error = racct_set(td->td_proc, RACCT_DATA, new - base);
133 PROC_UNLOCK(td->td_proc);
137 error = racct_set(td->td_proc, RACCT_VMEM,
140 racct_set_force(td
246 sys_ovadvise(struct thread *td, struct ovadvise_args *uap) argument
[all...]
/freebsd-11-stable/sys/mips/mips/
H A Dfreebsd32_machdep.c127 freebsd32_exec_setregs(struct thread *td, struct image_params *imgp, u_long stack) argument
129 exec_setregs(td, imgp, stack);
135 td->td_frame->sp -= 65536;
140 td->td_frame->sr &= ~MIPS_SR_UX;
144 set_regs32(struct thread *td, struct reg32 *regs) argument
152 return (set_regs(td, &r));
156 fill_regs32(struct thread *td, struct reg32 *regs) argument
162 error = fill_regs(td, &r);
173 set_fpregs32(struct thread *td, struct fpreg32 *fpregs) argument
181 return (set_fpregs(td,
185 fill_fpregs32(struct thread *td, struct fpreg32 *fpregs) argument
202 get_mcontext32(struct thread *td, mcontext32_t *mcp, int flags) argument
229 set_mcontext32(struct thread *td, mcontext32_t *mcp) argument
251 freebsd32_sigreturn(struct thread *td, struct freebsd32_sigreturn_args *uap) argument
285 freebsd32_getcontext(struct thread *td, struct freebsd32_getcontext_args *uap) argument
304 freebsd32_setcontext(struct thread *td, struct freebsd32_setcontext_args *uap) argument
325 freebsd32_swapcontext(struct thread *td, struct freebsd32_swapcontext_args *uap) argument
369 struct thread *td; local
468 freebsd32_sysarch(struct thread *td, struct freebsd32_sysarch_args *uap) argument
[all...]
H A Dvm_machdep.c196 cpu_fork_kthread_handler(struct thread *td, void (*func)(void *), void *arg) argument
202 td->td_pcb->pcb_context[PCB_REG_S0] = (register_t)(intptr_t)func;
203 td->td_pcb->pcb_context[PCB_REG_S1] = (register_t)(intptr_t)arg;
207 cpu_exit(struct thread *td) argument
212 cpu_thread_exit(struct thread *td) argument
215 if (PCPU_GET(fpcurthread) == td)
218 if (td->td_md.md_cop2)
219 memset(td->td_md.md_cop2, 0,
220 sizeof(*td->td_md.md_cop2));
221 if (td
228 cpu_thread_free(struct thread *td) argument
241 cpu_thread_clean(struct thread *td) argument
246 cpu_thread_swapin(struct thread *td) argument
264 cpu_thread_swapout(struct thread *td) argument
269 cpu_thread_alloc(struct thread *td) argument
286 cpu_set_syscall_retval(struct thread *td, int error) argument
361 cpu_copy_thread(struct thread *td, struct thread *td0) argument
421 cpu_set_upcall(struct thread *td, void (*entry)(void *), void *arg, stack_t *stack) argument
490 cpu_set_user_tls(struct thread *td, void *tls_base) argument
566 struct thread *td; local
[all...]
/freebsd-11-stable/sys/dev/usb/controller/
H A Dmusb_otg.c133 static int musbotg_channel_alloc(struct musbotg_softc *, struct musbotg_td *td, uint8_t);
134 static void musbotg_channel_free(struct musbotg_softc *, struct musbotg_td *td);
151 musbotg_channel_alloc(struct musbotg_softc *sc, struct musbotg_td *td, uint8_t is_tx) argument
156 ep = td->ep_no;
181 if (td->max_frame_size >
185 if (td->max_frame_size >
200 musbotg_channel_free(struct musbotg_softc *sc, struct musbotg_td *td) argument
203 DPRINTFN(1, "ep_no=%d\n", td->channel);
208 if (td == NULL)
210 if (td
379 musbotg_dev_ctrl_setup_rx(struct musbotg_td *td) argument
506 musbotg_host_ctrl_setup_tx(struct musbotg_td *td) argument
615 musbotg_dev_ctrl_data_rx(struct musbotg_td *td) argument
758 musbotg_dev_ctrl_data_tx(struct musbotg_td *td) argument
876 musbotg_host_ctrl_data_rx(struct musbotg_td *td) argument
1056 musbotg_host_ctrl_data_tx(struct musbotg_td *td) argument
1232 musbotg_dev_ctrl_status(struct musbotg_td *td) argument
1268 musbotg_host_ctrl_status_rx(struct musbotg_td *td) argument
1355 musbotg_host_ctrl_status_tx(struct musbotg_td *td) argument
1421 musbotg_dev_data_rx(struct musbotg_td *td) argument
1571 musbotg_dev_data_tx(struct musbotg_td *td) argument
1700 musbotg_host_data_rx(struct musbotg_td *td) argument
1924 musbotg_host_data_tx(struct musbotg_td *td) argument
2130 struct musbotg_td *td; local
2367 struct musbotg_td *td; local
2398 struct musbotg_td *td; local
2707 struct musbotg_td *td; local
2823 struct musbotg_td *td; local
4152 struct musbotg_td *td; local
[all...]
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dsys_machdep.c44 static int sparc_sigtramp_install(struct thread *td, char *args);
45 static int sparc_utrap_install(struct thread *td, char *args);
55 sysarch(struct thread *td, struct sysarch_args *uap) argument
65 if (IN_CAPABILITY_MODE(td)) {
73 if (KTRPOINT(td, KTR_CAPFAIL))
84 error = sparc_sigtramp_install(td, uap->parms);
87 error = sparc_utrap_install(td, uap->parms);
98 sparc_sigtramp_install(struct thread *td, char *args) argument
104 p = td->td_proc;
116 sparc_utrap_install(struct thread *td, cha argument
[all...]
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_file.c73 linux_creat(struct thread *td, struct linux_creat_args *args) argument
78 LCONVPATHEXIST(td, args->path, &path);
83 error = kern_openat(td, AT_FDCWD, path, UIO_SYSSPACE,
91 linux_common_open(struct thread *td, int dirfd, char *path, int l_flags, int mode) argument
94 struct proc *p = td->td_proc;
136 error = kern_openat(td, dirfd, path, UIO_SYSSPACE, bsd_flags, mode);
147 fd = td->td_retval[0];
148 if (fget(td, fd, cap_rights_init(&rights, CAP_IOCTL), &fp) == 0) {
150 fdrop(fp, td);
160 td
182 linux_openat(struct thread *td, struct linux_openat_args *args) argument
202 linux_open(struct thread *td, struct linux_open_args *args) argument
220 linux_lseek(struct thread *td, struct linux_lseek_args *args) argument
233 linux_llseek(struct thread *td, struct linux_llseek_args *args) argument
271 linux_getdents_error(struct thread *td, int fd, int err) argument
329 linux_getdents(struct thread *td, struct linux_getdents_args *args) argument
411 linux_getdents64(struct thread *td, struct linux_getdents64_args *args) argument
490 linux_readdir(struct thread *td, struct linux_readdir_args *args) argument
546 linux_access(struct thread *td, struct linux_access_args *args) argument
570 linux_faccessat(struct thread *td, struct linux_faccessat_args *args) argument
595 linux_unlink(struct thread *td, struct linux_unlink_args *args) argument
623 linux_unlinkat(struct thread *td, struct linux_unlinkat_args *args) argument
654 linux_chdir(struct thread *td, struct linux_chdir_args *args) argument
672 linux_chmod(struct thread *td, struct linux_chmod_args *args) argument
691 linux_fchmodat(struct thread *td, struct linux_fchmodat_args *args) argument
711 linux_mkdir(struct thread *td, struct linux_mkdir_args *args) argument
729 linux_mkdirat(struct thread *td, struct linux_mkdirat_args *args) argument
748 linux_rmdir(struct thread *td, struct linux_rmdir_args *args) argument
765 linux_rename(struct thread *td, struct linux_rename_args *args) argument
790 linux_renameat(struct thread *td, struct linux_renameat_args *args) argument
817 linux_symlink(struct thread *td, struct linux_symlink_args *args) argument
842 linux_symlinkat(struct thread *td, struct linux_symlinkat_args *args) argument
869 linux_readlink(struct thread *td, struct linux_readlink_args *args) argument
889 linux_readlinkat(struct thread *td, struct linux_readlinkat_args *args) argument
910 linux_truncate(struct thread *td, struct linux_truncate_args *args) argument
929 linux_truncate64(struct thread *td, struct linux_truncate64_args *args) argument
948 linux_ftruncate(struct thread *td, struct linux_ftruncate_args *args) argument
956 linux_link(struct thread *td, struct linux_link_args *args) argument
982 linux_linkat(struct thread *td, struct linux_linkat_args *args) argument
1024 linux_pread(struct thread *td, struct linux_pread_args *uap) argument
1047 linux_pwrite(struct thread *td, struct linux_pwrite_args *uap) argument
1054 linux_preadv(struct thread *td, struct linux_preadv_args *uap) argument
1082 linux_pwritev(struct thread *td, struct linux_pwritev_args *uap) argument
1110 linux_mount(struct thread *td, struct linux_mount_args *args) argument
1169 linux_oldumount(struct thread *td, struct linux_oldumount_args *args) argument
1181 linux_umount(struct thread *td, struct linux_umount_args *args) argument
1310 fcntl_common(struct thread *td, struct linux_fcntl_args *args) argument
1437 linux_fcntl(struct thread *td, struct linux_fcntl_args *args) argument
1450 linux_fcntl64(struct thread *td, struct linux_fcntl64_args *args) argument
1504 linux_chown(struct thread *td, struct linux_chown_args *args) argument
1523 linux_fchownat(struct thread *td, struct linux_fchownat_args *args) argument
1549 linux_lchown(struct thread *td, struct linux_lchown_args *args) argument
1589 linux_fadvise64(struct thread *td, struct linux_fadvise64_args *args) argument
1602 linux_fadvise64_64(struct thread *td, struct linux_fadvise64_64_args *args) argument
1616 linux_pipe(struct thread *td, struct linux_pipe_args *args) argument
1641 linux_pipe2(struct thread *td, struct linux_pipe2_args *args) argument
1673 linux_dup3(struct thread *td, struct linux_dup3_args *args) argument
1692 linux_fallocate(struct thread *td, struct linux_fallocate_args *args) argument
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_thr.c103 thr_create_initthr(struct thread *td, void *thunk) argument
109 if (args->tid != NULL && suword_lwpid(args->tid, td->td_tid))
112 return (set_mcontext(td, &args->ctx.uc_mcontext));
116 sys_thr_create(struct thread *td, struct thr_create_args *uap) argument
125 return (thread_create(td, NULL, thr_create_initthr, &args));
129 sys_thr_new(struct thread *td, struct thr_new_args *uap) argument
140 return (kern_thr_new(td, &param));
144 thr_new_initthr(struct thread *td, void *thunk) argument
158 suword_lwpid(param->child_tid, td->td_tid)) ||
160 suword_lwpid(param->parent_tid, td
173 kern_thr_new(struct thread *td, struct thr_param *param) argument
189 thread_create(struct thread *td, struct rtprio *rtp, int (*initialize_thread)(struct thread *, void *), void *thunk) argument
301 sys_thr_self(struct thread *td, struct thr_self_args *uap) argument
313 sys_thr_exit(struct thread *td, struct thr_exit_args *uap) argument
329 kern_thr_exit(struct thread *td) argument
390 sys_thr_kill(struct thread *td, struct thr_kill_args *uap) argument
437 sys_thr_kill2(struct thread *td, struct thr_kill2_args *uap) argument
494 sys_thr_suspend(struct thread *td, struct thr_suspend_args *uap) argument
512 kern_thr_suspend(struct thread *td, struct timespec *tsp) argument
556 sys_thr_wake(struct thread *td, struct thr_wake_args *uap) argument
580 sys_thr_set_name(struct thread *td, struct thr_set_name_args *uap) argument
[all...]
H A Dsys_generic.c152 STAILQ_ENTRY(selfd) sf_link; /* (k) fds owned by this td. */
190 sys_read(td, uap)
191 struct thread *td;
206 error = kern_readv(td, uap->fd, &auio);
223 sys_pread(struct thread *td, struct pread_args *uap) argument
226 return (kern_pread(td, uap->fd, uap->buf, uap->nbyte, uap->offset));
230 kern_pread(struct thread *td, int fd, void *buf, size_t nbyte, off_t offset) argument
244 error = kern_preadv(td, fd, &auio, offset);
250 freebsd6_pread(struct thread *td, struct freebsd6_pread_args *uap) argument
253 return (kern_pread(td, ua
268 sys_readv(struct thread *td, struct readv_args *uap) argument
282 kern_readv(struct thread *td, int fd, struct uio *auio) argument
308 sys_preadv(struct thread *td, struct preadv_args *uap) argument
437 sys_pwrite(struct thread *td, struct pwrite_args *uap) argument
444 kern_pwrite(struct thread *td, int fd, const void *buf, size_t nbyte, off_t offset) argument
465 freebsd6_pwrite(struct thread *td, struct freebsd6_pwrite_args *uap) argument
483 sys_writev(struct thread *td, struct writev_args *uap) argument
497 kern_writev(struct thread *td, int fd, struct uio *auio) argument
523 sys_pwritev(struct thread *td, struct pwritev_args *uap) argument
688 sys_ioctl(struct thread *td, struct ioctl_args *uap) argument
758 kern_ioctl(struct thread *td, int fd, u_long com, caddr_t data) argument
874 sys_pselect(struct thread *td, struct pselect_args *uap) argument
901 kern_pselect(struct thread *td, int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tvp, sigset_t *uset, int abi_nfdbits) argument
933 sys_select(struct thread *td, struct select_args *uap) argument
999 kern_select(struct thread *td, int nd, fd_set *fd_in, fd_set *fd_ou, fd_set *fd_ex, struct timeval *tvp, int abi_nfdbits) argument
1253 selrescan(struct thread *td, fd_mask **ibits, fd_mask **obits) argument
1332 sys_poll(struct thread *td, struct poll_args *uap) argument
1349 kern_poll(struct thread *td, struct pollfd *fds, u_int nfds, struct timespec *tsp, sigset_t *uset) argument
1445 sys_ppoll(struct thread *td, struct ppoll_args *uap) argument
1474 pollrescan(struct thread *td) argument
1637 selsocket(struct socket *so, int events, struct timeval *tvp, struct thread *td) argument
1691 selfdalloc(struct thread *td, void *cookie) argument
1847 seltdinit(struct thread *td) argument
1862 seltdwait(struct thread *td, sbintime_t sbt, sbintime_t precision) argument
1894 seltdfini(struct thread *td) argument
1916 seltdclear(struct thread *td) argument
1944 kern_posix_error(struct thread *td, int error) argument
[all...]
H A Dkern_condvar.c64 #define CV_ASSERT(cvp, lock, td) do { \
65 KASSERT((td) != NULL, ("%s: td NULL", __func__)); \
66 KASSERT(TD_IS_RUNNING(td), ("%s: not TDS_RUNNING", __func__)); \
111 struct thread *td; local
114 td = curthread;
117 if (KTRPOINT(td, KTR_CSW))
120 CV_ASSERT(cvp, lock, td);
125 if (SCHEDULER_STOPPED_TD(td))
147 if (KTRPOINT(td, KTR_CS
165 struct thread *td; local
215 struct thread *td; local
276 struct thread *td; local
338 struct thread *td; local
[all...]
/freebsd-11-stable/sys/dev/cpuctl/
H A Dcpuctl.c74 struct thread *td);
76 struct thread *td);
78 struct thread *td);
79 static int cpuctl_do_eval_cpu_features(int cpu, struct thread *td);
81 struct thread *td);
83 struct thread *td);
84 static int update_amd(int cpu, cpuctl_update_args_t *args, struct thread *td);
86 struct thread *td);
112 cpu_sched_is_bound(struct thread *td) argument
116 thread_lock(td);
126 set_cpu(int cpu, struct thread *td) argument
140 restore_cpu(int oldcpu, int is_bound, struct thread *td) argument
154 cpuctl_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td) argument
210 cpuctl_do_cpuid_count(int cpu, cpuctl_cpuid_count_args_t *data, struct thread *td) argument
236 cpuctl_do_cpuid(int cpu, cpuctl_cpuid_args_t *data, struct thread *td) argument
253 cpuctl_do_msr(int cpu, cpuctl_msr_args_t *data, u_long cmd, struct thread *td) argument
304 cpuctl_do_update(int cpu, cpuctl_update_args_t *data, struct thread *td) argument
352 update_intel(int cpu, cpuctl_update_args_t *args, struct thread *td) argument
415 update_amd(int cpu, cpuctl_update_args_t *args, struct thread *td) argument
449 update_via(int cpu, cpuctl_update_args_t *args, struct thread *td) argument
522 cpuctl_do_eval_cpu_features(int cpu, struct thread *td) argument
554 cpuctl_open(struct cdev *dev, int flags, int fmt __unused, struct thread *td) argument
[all...]

Completed in 166 milliseconds

1234567891011>>