/dragonfly/sys/kern/ |
H A D | kern_fork.c | 122 struct thread *td; in wake_umtx_threads() local 125 td = lp->lwp_thread; in wake_umtx_threads() 126 if (td && (td->td_flags & TDF_TSLEEPQ) && in wake_umtx_threads() 127 (td->td_wdomain & PDOMAIN_MASK) == PDOMAIN_UMTX) { in wake_umtx_threads() 128 wakeup_domain(td->td_wchan, PDOMAIN_UMTX); in wake_umtx_threads()
|
H A D | kern_prot.c | 975 priv_check(struct thread *td, int priv) 977 if (td->td_lwp != NULL) 978 return priv_check_cred(td->td_ucred, priv, 0); 1274 struct thread *td = curthread; in sys_setlogin() local 1280 cred = td->td_ucred; in sys_setlogin() 1281 p = td->td_proc; in sys_setlogin()
|
H A D | subr_gtaskqueue.c | 429 struct thread *td; in _gtaskqueue_start_threads() local 466 td = tq->tq_threads[i]; in _gtaskqueue_start_threads() 467 lwkt_setpri_initial(td, pri); in _gtaskqueue_start_threads() 468 lwkt_schedule(td); in _gtaskqueue_start_threads()
|
H A D | usched_dfly.c | 330 thread_t td; in dfly_acquire_curproc() local 333 td = lp->lwp_thread; in dfly_acquire_curproc() 340 if (__predict_true((td->td_flags & TDF_TSLEEPQ) == 0 && in dfly_acquire_curproc() 349 crit_enter_quick(td); in dfly_acquire_curproc() 350 if (td->td_flags & TDF_TSLEEPQ) in dfly_acquire_curproc() 351 tsleep_remove(td); in dfly_acquire_curproc() 575 crit_exit_quick(td); in dfly_acquire_curproc()
|
/dragonfly/contrib/tcsh-6/ |
H A D | sh.time.c | 688 timeval_t td; in pdeltat() local 690 tvsub(&td, t1, t0); in pdeltat() 691 xprintf("%lld.%03ld", (long long)td.tv_sec, (long)td.tv_usec / 1000L); in pdeltat()
|
/dragonfly/sys/vfs/hammer2/ |
H A D | hammer2_subr.c | 386 thread_t td = curthread; in hammer2_signal_check() local 389 if (td->td_lwp) { in hammer2_signal_check()
|
H A D | hammer2_ccms.h | 168 thread_t td; /* if excl lock (count < 0) */ member
|
/dragonfly/sys/bus/u4b/ |
H A D | usb_dev.c | 1025 struct thread *td) in usb_ioctl_f_sub() argument 1044 f->async_p = USB_TD_GET_PROC(td); in usb_ioctl_f_sub() 1076 struct thread *td = curthread; in usb_ioctl() local 1105 err = usb_ioctl_f_sub(f, cmd, addr, td); in usb_ioctl() 1109 err = usb_ioctl_f_sub(f, cmd, addr, td); in usb_ioctl() 1411 usb_poll(struct cdev* dev, int events, struct thread* td) 1462 selrecord(td, &f->selinfo); 1501 selrecord(td, &f->selinfo); 1800 struct thread *td = curthread; /* XXX: curthread the correct choice? */ in usb_static_ioctl() local 1818 err = usb_quirk_ioctl_p(cmd, data, fflag, td); in usb_static_ioctl()
|
H A D | usb_dynamic.h | 43 int fflag, struct thread *td);
|
H A D | usb_dynamic.c | 80 usb_quirk_ioctl_w(unsigned long cmd, caddr_t data, int fflag, struct thread *td) in usb_quirk_ioctl_w() argument
|
/dragonfly/sys/netinet6/ |
H A D | in6.c | 382 in6_control(u_long cmd, caddr_t data, struct ifnet *ifp, struct thread *td) in in6_control() argument 455 msg.nm_td = td; in in6_control() 460 return in6_control_internal(cmd, data, ifp, td); in in6_control() 476 struct thread *td) in in6_control_internal() argument 486 if (caps_priv_check_td(td, SYSCAP_RESTRICTEDROOT) == 0) in in6_control_internal() 498 return in6_lifaddr_ioctl(cmd, data, ifp, td); in in6_control_internal() 862 error = ifp->if_ioctl(ifp, cmd, data, td->td_proc->p_ucred); in in6_control_internal() 1380 struct thread *td) in in6_lifaddr_ioctl() argument 1489 ifp, td); in in6_lifaddr_ioctl() 1611 (caddr_t)&ifra, ifp, td); in in6_lifaddr_ioctl()
|
/dragonfly/usr.sbin/makefs/hammer2/ |
H A D | hammer2_subr.c | 425 thread_t td = curthread; in hammer2_signal_check() 428 if (td->td_lwp) { in hammer2_signal_check()
|
/dragonfly/games/fortune/tools/ |
H A D | Troff.mac | 12 .tl 'Fortune Database'\\*(Se'\*(td'
|
/dragonfly/sys/net/ |
H A D | zlib.c | 3700 inflate_trees_free(s->sub.decode.td, z); 3775 inflate_huft *tl, *td; local 3785 s->sub.decode.td = Z_NULL; 3931 inflate_huft *tl, *td; local 3955 inflate_trees_free(td, z); 3967 s->sub.decode.td = td; 4476 inflate_trees_free(*td, z); 4528 inflate_huft * FAR *td) argument 4568 *td = fixed_td; 4700 c->dtree = td; [all …]
|
/dragonfly/sys/vfs/smbfs/ |
H A D | smbfs.h | 101 int smbfs_doio(struct vnode *vp, struct bio *bio, struct ucred *cr, struct thread *td);
|
/dragonfly/etc/etc.x86_64/ |
H A D | disktab | 168 :pd#216000:od#53200:td=4.2BSD:bd#4096:fd#512: \ 176 :pd#21000:od#63000:bd#8192:fd#1024:td=4.2BSD: \ 184 :pd#201600:od#100800:bd#8192:fd#1024:td=4.2BSD: \
|
/dragonfly/sys/platform/vkernel64/platform/ |
H A D | busdma_machdep.c | 847 struct thread *td; in bus_dmamap_load_uio() local 849 td = uio->uio_td; in bus_dmamap_load_uio() 850 KASSERT(td != NULL && td->td_proc != NULL, in bus_dmamap_load_uio() 852 pmap = vmspace_pmap(td->td_proc->p_vmspace); in bus_dmamap_load_uio()
|
/dragonfly/sys/dev/disk/mmcsd/ |
H A D | mmcsd.c | 84 struct thread *td; member 156 kthread_create(mmcsd_task, sc, &sc->td, "mmc/sd card task"); in mmcsd_attach() 279 kthread_create(mmcsd_task, sc, &sc->td, "mmc/sd card task"); in mmcsd_resume()
|
/dragonfly/lib/libevtr/ |
H A D | evtr.h | 144 struct evtr_thread *td; member
|
/dragonfly/sys/opencrypto/ |
H A D | cryptodev.c | 851 struct thread *td = curthread; in cryptoioctl() local 862 KKASSERT(td->td_lwp); in cryptoioctl() 863 error = falloc(td->td_lwp, &f, &fd); in cryptoioctl() 874 fsetfd(td->td_proc->p_fd, f, fd); in cryptoioctl()
|
/dragonfly/sys/sys/ |
H A D | sglist.h | 95 struct thread *td);
|
/dragonfly/sys/vfs/ext2fs/ |
H A D | ext2_extents.c | 209 struct ucred *cred, struct thread *td) in ext4_ext_remove_space() argument
|
H A D | ext2_extents.h | 127 struct ucred *cred, struct thread *td);
|
/dragonfly/contrib/flex/src/ |
H A D | flex.skl | 3099 struct yytbl_data td; 3104 memset (&td, 0, sizeof (struct yytbl_data)); 3106 if (yytbl_read16 (&td.td_id, rd) != 0 3107 || yytbl_read16 (&td.td_flags, rd) != 0 3108 || yytbl_read32 (&td.td_hilen, rd) != 0 3131 if ((td.td_flags & YYTD_STRUCT)) 3132 bytes = sizeof(struct yy_trans_info) * td.td_lolen * (td.td_hilen ? td.td_hilen : 1); 3134 bytes = td.td_lolen * (td.td_hilen ? td.td_hilen : 1) * dmap->dm_sz; 3147 if ((td.td_flags & YYTD_STRUCT) != 0) 3156 len = yytbl_calc_total_len (&td); [all …]
|
/dragonfly/sys/vfs/nfs/ |
H A D | nfs_kerb.c | 71 int flag, caddr_t argp, struct thread *td) in nfs_clientd() argument
|