/freebsd-11-stable/sys/mips/mips/ |
H A D | sys_machdep.c | 52 sysarch(struct thread *td, struct sysarch_args *uap) argument 59 td->td_md.md_tls = uap->parms; 62 tlsbase = td->td_md.md_tls;
|
/freebsd-11-stable/sys/net/ |
H A D | bpf_zerocopy.h | 49 int bpf_zerocopy_ioctl_getzmax(struct thread *td, struct bpf_d *d, 51 int bpf_zerocopy_ioctl_rotzbuf(struct thread *td, struct bpf_d *d, 53 int bpf_zerocopy_ioctl_setzbuf(struct thread *td, struct bpf_d *d,
|
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_ipc.c | 114 ibcs2_msgget(struct thread *td, void *v) argument 121 return sys_msgget(td, &ap); 132 ibcs2_msgctl(struct thread *td, void *v) argument 141 error = kern_msgctl(td, uap->msqid, IPC_STAT, &bs); 152 return (kern_msgctl(td, uap->msqid, IPC_SET, &bs)); 154 return (kern_msgctl(td, uap->msqid, IPC_RMID, NULL)); 169 ibcs2_msgrcv(struct thread *td, void *v) argument 179 return (sys_msgrcv(td, &ap)); 191 ibcs2_msgsnd(struct thread *td, void *v) argument 200 return (sys_msgsnd(td, 314 ibcs2_semctl(struct thread *td, void *v) argument 358 ibcs2_semget(struct thread *td, void *v) argument 377 ibcs2_semop(struct thread *td, void *v) argument 454 ibcs2_shmat(struct thread *td, void *v) argument 473 ibcs2_shmctl(struct thread *td, void *v) argument 511 ibcs2_shmdt(struct thread *td, void *v) argument 528 ibcs2_shmget(struct thread *td, void *v) argument [all...] |
H A D | ibcs2_isc.c | 51 ibcs2_isc(struct thread *td, struct ibcs2_isc_args *uap) argument 53 struct trapframe *tf = td->td_frame; 62 error = (*callp->sy_call)(td, (void *)uap);
|
/freebsd-11-stable/sys/arm64/include/ |
H A D | pcpu.h | 61 struct thread *td; local 63 __asm __volatile("ldr %0, [x18]" : "=&r"(td)); 64 return (td);
|
/freebsd-11-stable/sys/kern/ |
H A D | sys_capability.c | 98 sys_cap_enter(struct thread *td, struct cap_enter_args *uap) argument 103 if (IN_CAPABILITY_MODE(td)) 107 p = td->td_proc; 121 sys_cap_getmode(struct thread *td, struct cap_getmode_args *uap) argument 125 i = IN_CAPABILITY_MODE(td) ? 1 : 0; 132 sys_cap_enter(struct thread *td, struct cap_enter_args *uap) argument 139 sys_cap_getmode(struct thread *td, struct cap_getmode_args *uap) argument 218 kern_cap_rights_limit(struct thread *td, int fd, cap_rights_t *rights) argument 223 fdp = td->td_proc->p_fd; 248 sys_cap_rights_limit(struct thread *td, struc argument 291 sys___cap_rights_get(struct thread *td, struct __cap_rights_get_args *uap) argument 393 kern_cap_ioctls_limit(struct thread *td, int fd, u_long *cmds, size_t ncmds) argument 426 sys_cap_ioctls_limit(struct thread *td, struct cap_ioctls_limit_args *uap) argument 452 sys_cap_ioctls_get(struct thread *td, struct cap_ioctls_get_args *uap) argument 527 sys_cap_fcntls_limit(struct thread *td, struct cap_fcntls_limit_args *uap) argument 562 sys_cap_fcntls_get(struct thread *td, struct cap_fcntls_get_args *uap) argument 592 sys_cap_rights_limit(struct thread *td, struct cap_rights_limit_args *uap) argument 599 sys___cap_rights_get(struct thread *td, struct __cap_rights_get_args *uap) argument 606 sys_cap_ioctls_limit(struct thread *td, struct cap_ioctls_limit_args *uap) argument 613 sys_cap_ioctls_get(struct thread *td, struct cap_ioctls_get_args *uap) argument 620 sys_cap_fcntls_limit(struct thread *td, struct cap_fcntls_limit_args *uap) argument 627 sys_cap_fcntls_get(struct thread *td, struct cap_fcntls_get_args *uap) argument [all...] |
H A D | uipc_sem.c | 112 static int kern_sem_wait(struct thread *td, semid_t id, int tryflag, 117 static int ksem_create(struct thread *td, const char *path, 121 static int ksem_get(struct thread *td, semid_t id, cap_rights_t *rightsp, 158 struct thread *td) 194 struct thread *td) 219 struct thread *td) 248 ksem_closef(struct file *fp, struct thread *td) argument 428 ksem_create_copyout_semid(struct thread *td, semid_t *semidp, int fd, argument 458 ksem_create(struct thread *td, const char *name, semid_t *semidp, mode_t mode, argument 473 fdp = td 157 ksem_stat(struct file *fp, struct stat *sb, struct ucred *active_cred, struct thread *td) argument 193 ksem_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, struct thread *td) argument 218 ksem_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, struct thread *td) argument 580 ksem_get(struct thread *td, semid_t id, cap_rights_t *rightsp, struct file **fpp) argument 611 sys_ksem_init(struct thread *td, struct ksem_init_args *uap) argument 628 sys_ksem_open(struct thread *td, struct ksem_open_args *uap) argument 645 sys_ksem_unlink(struct thread *td, struct ksem_unlink_args *uap) argument 679 sys_ksem_close(struct thread *td, struct ksem_close_args *uap) argument 706 sys_ksem_post(struct thread *td, struct ksem_post_args *uap) argument 746 sys_ksem_wait(struct thread *td, struct ksem_wait_args *uap) argument 759 sys_ksem_timedwait(struct thread *td, struct ksem_timedwait_args *uap) argument 787 sys_ksem_trywait(struct thread *td, struct ksem_trywait_args *uap) argument 794 kern_sem_wait(struct thread *td, semid_t id, int tryflag, struct timespec *abstime) argument 865 sys_ksem_getvalue(struct thread *td, struct ksem_getvalue_args *uap) argument 901 sys_ksem_destroy(struct thread *td, struct ksem_destroy_args *uap) argument 954 freebsd32_ksem_init(struct thread *td, struct freebsd32_ksem_init_args *uap) argument 962 freebsd32_ksem_open(struct thread *td, struct freebsd32_ksem_open_args *uap) argument 972 freebsd32_ksem_timedwait(struct thread *td, struct freebsd32_ksem_timedwait_args *uap) argument [all...] |
H A D | kern_dtrace.c | 93 kdtrace_thread_ctor(void *arg __unused, struct thread *td) argument 96 td->td_dtrace = malloc(KDTRACE_THREAD_SIZE, M_KDTRACE, M_WAITOK|M_ZERO); 100 kdtrace_thread_dtor(void *arg __unused, struct thread *td) argument 103 if (td->td_dtrace != NULL) { 104 free(td->td_dtrace, M_KDTRACE); 105 td->td_dtrace = NULL;
|
H A D | kern_umtx.c | 198 #define UPRI(td) (((td)->td_user_pri >= PRI_MIN_TIMESHARE &&\ 199 (td)->td_user_pri <= PRI_MAX_TIMESHARE) ?\ 200 PRI_MAX_TIMESHARE : (td)->td_user_pri) 277 static int do_unlock_pp(struct thread *td, struct umutex *m, uint32_t flags, 279 static void umtx_thread_cleanup(struct thread *td); 695 umtxq_check_susp(struct thread *td) argument 704 if ((td->td_flags & TDF_NEEDSUSPCHK) == 0) 707 p = td->td_proc; 710 ((p->p_flag & P_TRACED) && (td 891 struct thread *td = curthread; local 945 do_wait(struct thread *td, void *addr, u_long id, struct _umtx_time *timeout, int compat32, int is_private) argument 999 kern_umtx_wake(struct thread *td, void *uaddr, int n_wake, int is_private) argument 1018 do_lock_normal(struct thread *td, struct umutex *m, uint32_t flags, struct _umtx_time *timeout, int mode) argument 1173 do_unlock_normal(struct thread *td, struct umutex *m, uint32_t flags, bool rb) argument 1235 do_wake_umutex(struct thread *td, struct umutex *m) argument 1287 do_wake2_umutex(struct thread *td, struct umutex *m, uint32_t flags) argument 1402 umtx_pi_adjust_thread(struct umtx_pi *pi, struct thread *td) argument 1488 umtx_propagate_priority(struct thread *td) argument 1637 umtx_pi_adjust(struct thread *td, u_char oldpri) argument 1663 struct thread *td, *td1; local 1795 do_lock_pi(struct thread *td, struct umutex *m, uint32_t flags, struct _umtx_time *timeout, int try) argument 1979 do_unlock_pi(struct thread *td, struct umutex *m, uint32_t flags, bool rb) argument 2099 do_lock_pp(struct thread *td, struct umutex *m, uint32_t flags, struct _umtx_time *timeout, int try) argument 2247 do_unlock_pp(struct thread *td, struct umutex *m, uint32_t flags, bool rb) argument 2330 do_set_ceiling(struct thread *td, struct umutex *m, uint32_t ceiling, uint32_t *old_ceiling) argument 2425 do_lock_umutex(struct thread *td, struct umutex *m, struct _umtx_time *timeout, int mode) argument 2463 do_unlock_umutex(struct thread *td, struct umutex *m, bool rb) argument 2485 do_cv_wait(struct thread *td, struct ucond *cv, struct umutex *m, struct timespec *timeout, u_long wflags) argument 2576 do_cv_signal(struct thread *td, struct ucond *cv) argument 2605 do_cv_broadcast(struct thread *td, struct ucond *cv) argument 2633 do_rw_rdlock(struct thread *td, struct urwlock *rwlock, long fflag, struct _umtx_time *timeout) argument 2814 do_rw_wrlock(struct thread *td, struct urwlock *rwlock, struct _umtx_time *timeout) argument 3003 do_rw_unlock(struct thread *td, struct urwlock *rwlock) argument 3102 do_sem_wait(struct thread *td, struct _usem *sem, struct _umtx_time *timeout) argument 3158 do_sem_wake(struct thread *td, struct _usem *sem) argument 3195 do_sem2_wait(struct thread *td, struct _usem2 *sem, struct _umtx_time *timeout) argument 3276 do_sem2_wake(struct thread *td, struct _usem2 *sem) argument 3349 __umtx_op_unimpl(struct thread *td, struct _umtx_op_args *uap) argument 3356 __umtx_op_wait(struct thread *td, struct _umtx_op_args *uap) argument 3374 __umtx_op_wait_uint(struct thread *td, struct _umtx_op_args *uap) argument 3392 __umtx_op_wait_uint_private(struct thread *td, struct _umtx_op_args *uap) argument 3410 __umtx_op_wake(struct thread *td, struct _umtx_op_args *uap) argument 3418 __umtx_op_nwake_private(struct thread *td, struct _umtx_op_args *uap) argument 3439 __umtx_op_wake_private(struct thread *td, struct _umtx_op_args *uap) argument 3446 __umtx_op_lock_umutex(struct thread *td, struct _umtx_op_args *uap) argument 3465 __umtx_op_trylock_umutex(struct thread *td, struct _umtx_op_args *uap) argument 3472 __umtx_op_wait_umutex(struct thread *td, struct _umtx_op_args *uap) argument 3491 __umtx_op_wake_umutex(struct thread *td, struct _umtx_op_args *uap) argument 3498 __umtx_op_unlock_umutex(struct thread *td, struct _umtx_op_args *uap) argument 3505 __umtx_op_set_ceiling(struct thread *td, struct _umtx_op_args *uap) argument 3512 __umtx_op_cv_wait(struct thread *td, struct _umtx_op_args *uap) argument 3530 __umtx_op_cv_signal(struct thread *td, struct _umtx_op_args *uap) argument 3537 __umtx_op_cv_broadcast(struct thread *td, struct _umtx_op_args *uap) argument 3544 __umtx_op_rw_rdlock(struct thread *td, struct _umtx_op_args *uap) argument 3563 __umtx_op_rw_wrlock(struct thread *td, struct _umtx_op_args *uap) argument 3583 __umtx_op_rw_unlock(struct thread *td, struct _umtx_op_args *uap) argument 3591 __umtx_op_sem_wait(struct thread *td, struct _umtx_op_args *uap) argument 3610 __umtx_op_sem_wake(struct thread *td, struct _umtx_op_args *uap) argument 3618 __umtx_op_wake2_umutex(struct thread *td, struct _umtx_op_args *uap) argument 3625 __umtx_op_sem2_wait(struct thread *td, struct _umtx_op_args *uap) argument 3658 __umtx_op_sem2_wake(struct thread *td, struct _umtx_op_args *uap) argument 3828 umtx_shm_create_reg(struct thread *td, const struct umtx_key *key, struct umtx_shm_reg **res) argument 3872 umtx_shm_alive(struct thread *td, void *addr) argument 3908 umtx_shm(struct thread *td, void *addr, u_int flags) argument 3962 __umtx_op_shm(struct thread *td, struct _umtx_op_args *uap) argument 3969 umtx_robust_lists(struct thread *td, struct umtx_robust_lists_params *rbp) argument 3979 __umtx_op_robust_lists(struct thread *td, struct _umtx_op_args *uap) argument 4031 sys__umtx_op(struct thread *td, struct _umtx_op_args *uap) argument 4097 __umtx_op_wait_compat32(struct thread *td, struct _umtx_op_args *uap) argument 4115 __umtx_op_lock_umutex_compat32(struct thread *td, struct _umtx_op_args *uap) argument 4134 __umtx_op_wait_umutex_compat32(struct thread *td, struct _umtx_op_args *uap) argument 4153 __umtx_op_cv_wait_compat32(struct thread *td, struct _umtx_op_args *uap) argument 4171 __umtx_op_rw_rdlock_compat32(struct thread *td, struct _umtx_op_args *uap) argument 4190 __umtx_op_rw_wrlock_compat32(struct thread *td, struct _umtx_op_args *uap) argument 4209 __umtx_op_wait_uint_private_compat32(struct thread *td, struct _umtx_op_args *uap) argument 4228 __umtx_op_sem_wait_compat32(struct thread *td, struct _umtx_op_args *uap) argument 4248 __umtx_op_sem2_wait_compat32(struct thread *td, struct _umtx_op_args *uap) argument 4285 __umtx_op_nwake_private32(struct thread *td, struct _umtx_op_args *uap) argument 4313 __umtx_op_robust_lists_compat32(struct thread *td, struct _umtx_op_args *uap) argument 4368 freebsd32_umtx_op(struct thread *td, struct freebsd32_umtx_op_args *uap) argument 4380 umtx_thread_init(struct thread *td) argument 4388 umtx_thread_fini(struct thread *td) argument 4398 umtx_thread_alloc(struct thread *td) argument 4422 struct thread *td; local 4445 umtx_thread_exit(struct thread *td) argument 4452 umtx_read_uptr(struct thread *td, uintptr_t ptr, uintptr_t *res) argument 4478 umtx_read_rb_list(struct thread *td, struct umutex *m, uintptr_t *rb_list) argument 4492 umtx_handle_rb(struct thread *td, uintptr_t rbp, uintptr_t *rb_list, bool inact) argument 4512 umtx_cleanup_rb_list(struct thread *td, uintptr_t rb_list, uintptr_t *rb_inact, const char *name) argument 4544 umtx_thread_cleanup(struct thread *td) argument [all...] |
/freebsd-11-stable/share/examples/kld/cdev/module/ |
H A D | cdev.c | 101 mydev_open(struct cdev *dev, int flag, int otyp, struct thread *td) argument 103 struct proc *procp = td->td_proc; 113 mydev_close(struct cdev *dev, int flag, int otyp, struct thread *td) argument 115 struct proc *procp = td->td_proc; 124 struct thread *td) 127 struct proc *procp = td->td_proc; 123 mydev_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int mode, struct thread *td) argument
|
/freebsd-11-stable/sys/compat/svr4/ |
H A D | svr4_signal.c | 261 svr4_sys_sigaction(td, uap) 262 struct thread *td; 273 DPRINTF(("@@@ svr4_sys_sigaction(%d, %d, %d)\n", td->td_proc->p_pid, 293 error = kern_sigaction(td, SVR4_SVR42BSD_SIG(uap->signum), nbsap, &obsa, 303 svr4_sys_sigaltstack(td, uap) 304 struct thread *td; 318 error = kern_sigaltstack(td, nbssp, &obss); 330 svr4_sys_signal(td, uap) 331 struct thread *td; 338 p = td [all...] |
/freebsd-11-stable/contrib/flex/ |
H A D | tables.h | 71 int yytbl_data_destroy (struct yytbl_data *td); 74 int yytbl_data_fwrite (struct yytbl_writer *wr, struct yytbl_data *td);
|
/freebsd-11-stable/sys/arm64/arm64/ |
H A D | vfp.c | 75 vfp_discard(struct thread *td) argument 78 if (PCPU_GET(fpcurthread) == td) 85 vfp_save_state(struct thread *td, struct pcb *pcb) argument 92 KASSERT(td == NULL || td->td_pcb == pcb, ("Invalid vfp pcb")); 94 if (td == NULL) 95 td = curthread; 104 KASSERT(PCPU_GET(fpcurthread) == td,
|
/freebsd-11-stable/sys/netsmb/ |
H A D | smb_tran.h | 52 int (*tr_create)(struct smb_vc *vcp, struct thread *td); 53 int (*tr_done)(struct smb_vc *vcp, struct thread *td); 54 int (*tr_bind)(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td); 55 int (*tr_connect)(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td); 56 int (*tr_disconnect)(struct smb_vc *vcp, struct thread *td); 57 int (*tr_send)(struct smb_vc *vcp, struct mbuf *m0, struct thread *td); 58 int (*tr_recv)(struct smb_vc *vcp, struct mbuf **mpp, struct thread *td); 65 int (*tr_poll)(struct smb_vc *vcp, struct thread *td);
|
/freebsd-11-stable/sys/nfs/ |
H A D | krpc.h | 13 struct mbuf **data, struct sockaddr **from, struct thread *td); 16 u_int prog, u_int vers, u_int16_t *portp, struct thread *td);
|
/freebsd-11-stable/sys/vm/ |
H A D | vm_zeroidle.c | 147 struct thread *td; local 152 td = FIRST_THREAD_IN_PROC(p); 153 thread_lock(td); 156 td->td_flags |= TDF_NOLOAD; 157 sched_class(td, PRI_IDLE); 158 sched_prio(td, PRI_MAX_IDLE); 159 sched_add(td, SRQ_BORING); 160 thread_unlock(td);
|
/freebsd-11-stable/sys/dev/streams/ |
H A D | streams.c | 182 streamsopen(struct cdev *dev, int oflags, int devtype, struct thread *td) argument 190 if (td->td_dupfd >= 0) 233 return svr4_ptm_alloc(td); 239 if ((error = falloc(td, &fp, &fd, 0)) != 0) 243 error = socreate(family, &so, type, protocol, td->td_ucred, td); 245 fdclose(td, fp, fd); 246 fdrop(fp, td); 265 fdrop(fp, td); 266 td 326 svr4_soo_close(struct file *fp, struct thread *td) argument [all...] |
/freebsd-11-stable/sys/arm/arm/ |
H A D | undefined.c | 143 struct thread *td; local 146 td = (curthread == NULL) ? &thread0 : curthread; 154 trapsignal(td, &ksi); 186 struct thread *td; local 212 td = curthread == NULL ? &thread0 : curthread; 225 trapsignal(td, &ksi); 226 userret(td, frame); 284 trapsignal(td, &ksi); 285 userret(td, frame); 296 td [all...] |
H A D | machdep_kdb.c | 97 fill_regs(struct thread *td, struct reg *regs) argument 99 struct trapframe *tf = td->td_frame; 109 fill_fpregs(struct thread *td, struct fpreg *regs) argument 116 set_regs(struct thread *td, struct reg *regs) argument 118 struct trapframe *tf = td->td_frame; 130 set_fpregs(struct thread *td, struct fpreg *regs) argument 136 fill_dbregs(struct thread *td, struct dbreg *regs) argument 144 set_dbregs(struct thread *td, struct dbreg *regs) argument
|
/freebsd-11-stable/sys/compat/cloudabi/ |
H A D | cloudabi_random.c | 36 cloudabi_sys_random_get(struct thread *td, argument 49 .uio_td = td
|
/freebsd-11-stable/sys/compat/freebsd32/ |
H A D | freebsd32_capability.c | 52 freebsd32_cap_ioctls_limit(struct thread *td, argument 81 return (kern_cap_ioctls_limit(td, uap->fd, cmds, ncmds)); 85 freebsd32_cap_ioctls_get(struct thread *td, argument 102 fdp = td->td_proc->p_fd; 126 td->td_retval[0] = INT_MAX; 128 td->td_retval[0] = fdep->fde_nioctls; 139 freebsd32_cap_ioctls_limit(struct thread *td, argument 147 freebsd32_cap_ioctls_get(struct thread *td, argument
|
/freebsd-11-stable/sys/i386/linux/ |
H A D | linux_machdep.c | 101 linux_execve(struct thread *td, struct linux_execve_args *args) argument 107 LCONVPATHEXIST(td, args->path, &newpath); 118 error = linux_common_execve(td, &eargs); 128 linux_ipc(struct thread *td, struct linux_ipc_args *args) argument 138 return (linux_semop(td, &a)); 146 return (linux_semget(td, &a)); 158 return (linux_semctl(td, &a)); 167 return (linux_msgsnd(td, &a)); 190 return (linux_msgrcv(td, &a)); 197 return (linux_msgget(td, 253 linux_old_select(struct thread *td, struct linux_old_select_args *args) argument 277 linux_set_cloned_tls(struct thread *td, void *desc) argument 333 linux_set_upcall_kse(struct thread *td, register_t stack) argument 348 linux_mmap2(struct thread *td, struct linux_mmap2_args *args) argument 364 linux_mmap(struct thread *td, struct linux_mmap_args *args) argument 386 linux_mprotect(struct thread *td, struct linux_mprotect_args *uap) argument 393 linux_ioperm(struct thread *td, struct linux_ioperm_args *args) argument 406 linux_iopl(struct thread *td, struct linux_iopl_args *args) argument 422 linux_modify_ldt(struct thread *td, struct linux_modify_ldt_args *uap) argument 485 linux_sigaction(struct thread *td, struct linux_sigaction_args *args) argument 528 linux_sigsuspend(struct thread *td, struct linux_sigsuspend_args *args) argument 545 linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap) argument 569 linux_pause(struct thread *td, struct linux_pause_args *args) argument 586 linux_sigaltstack(struct thread *td, struct linux_sigaltstack_args *uap) argument 619 linux_ftruncate64(struct thread *td, struct linux_ftruncate64_args *args) argument 632 linux_set_thread_area(struct thread *td, struct linux_set_thread_area_args *args) argument 732 linux_get_thread_area(struct thread *td, struct linux_get_thread_area_args *args) argument 782 linux_mq_open(struct thread *td, struct linux_mq_open_args *args) argument 792 linux_mq_unlink(struct thread *td, struct linux_mq_unlink_args *args) argument 802 linux_mq_timedsend(struct thread *td, struct linux_mq_timedsend_args *args) argument 812 linux_mq_timedreceive(struct thread *td, struct linux_mq_timedreceive_args *args) argument 822 linux_mq_notify(struct thread *td, struct linux_mq_notify_args *args) argument 832 linux_mq_getsetattr(struct thread *td, struct linux_mq_getsetattr_args *args) argument [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_rcu.c | 268 struct thread *td = curthread; local 289 thread_unlock(td); 291 thread_lock(td); 294 sched_prio(td, prio); 301 * pointed to by TDQ_LOCKPTR(td). Else a 304 thread_unlock(td); 305 thread_lock(td); 314 sched_prio(td, 0); 315 sched_bind(td, record->cpuid); 322 struct thread *td; local [all...] |
/freebsd-11-stable/sys/netinet/ |
H A D | sctp_syscalls.c | 116 sys_sctp_peeloff(td, uap) 117 struct thread *td; 131 error = getsock_cap(td, uap->sd, cap_rights_init(&rights, CAP_PEELOFF), 149 error = falloc(td, &nfp, &fd, 0); 152 td->td_retval[0] = fd; 191 fdclose(td, nfp, fd); 199 fdrop(nfp, td); 200 fdrop(headfp, td); 209 sys_sctp_generic_sendmsg (td, uap) 210 struct thread *td; [all...] |
/freebsd-11-stable/sys/dev/usb/controller/ |
H A D | at91dci.c | 302 at91dci_setup_rx(struct at91dci_softc *sc, struct at91dci_td *td) argument 310 csr = AT91_UDP_READ_4(sc, td->status_reg); 312 DPRINTFN(5, "csr=0x%08x rem=%u\n", csr, td->remainder); 325 td->did_stall = 0; 331 if (count != td->remainder) { 343 td->fifo_reg, (void *)&req, sizeof(req)); 346 usbd_copy_in(td->pc, 0, &req, sizeof(req)); 348 td->offset = sizeof(req); 349 td->remainder = 0; 368 AT91_UDP_WRITE_4(sc, td 389 at91dci_data_rx(struct at91dci_softc *sc, struct at91dci_td *td) argument 513 at91dci_data_tx(struct at91dci_softc *sc, struct at91dci_td *td) argument 596 at91dci_data_tx_sync(struct at91dci_softc *sc, struct at91dci_td *td) argument 649 struct at91dci_td *td; local 709 struct at91dci_td *td; local 879 struct at91dci_td *td; local 905 struct at91dci_td *td; local 1128 struct at91dci_td *td; local 2282 struct at91dci_td *td; local [all...] |