Home
last modified time | relevance | path

Searched refs:td (Results 176 – 200 of 305) sorted by relevance

12345678910>>...13

/dragonfly/sys/kern/
H A Dkern_fork.c122 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 Dkern_prot.c975 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 Dsubr_gtaskqueue.c429 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 Dusched_dfly.c330 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 Dsh.time.c688 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 Dhammer2_subr.c386 thread_t td = curthread; in hammer2_signal_check() local
389 if (td->td_lwp) { in hammer2_signal_check()
H A Dhammer2_ccms.h168 thread_t td; /* if excl lock (count < 0) */ member
/dragonfly/sys/bus/u4b/
H A Dusb_dev.c1025 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 Dusb_dynamic.h43 int fflag, struct thread *td);
H A Dusb_dynamic.c80 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 Din6.c382 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 Dhammer2_subr.c425 thread_t td = curthread; in hammer2_signal_check()
428 if (td->td_lwp) { in hammer2_signal_check()
/dragonfly/games/fortune/tools/
H A DTroff.mac12 .tl 'Fortune Database'\\*(Se'\*(td'
/dragonfly/sys/net/
H A Dzlib.c3700 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 Dsmbfs.h101 int smbfs_doio(struct vnode *vp, struct bio *bio, struct ucred *cr, struct thread *td);
/dragonfly/etc/etc.x86_64/
H A Ddisktab168 :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 Dbusdma_machdep.c847 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 Dmmcsd.c84 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 Devtr.h144 struct evtr_thread *td; member
/dragonfly/sys/opencrypto/
H A Dcryptodev.c851 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 Dsglist.h95 struct thread *td);
/dragonfly/sys/vfs/ext2fs/
H A Dext2_extents.c209 struct ucred *cred, struct thread *td) in ext4_ext_remove_space() argument
H A Dext2_extents.h127 struct ucred *cred, struct thread *td);
/dragonfly/contrib/flex/src/
H A Dflex.skl3099 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 Dnfs_kerb.c71 int flag, caddr_t argp, struct thread *td) in nfs_clientd() argument

12345678910>>...13