Home
last modified time | relevance | path

Searched defs:td (Results 1 – 25 of 242) sorted by relevance

12345678910

/dragonfly/sys/kern/
H A Dlwkt_thread.c152 _lwkt_dequeue(thread_t td) in _lwkt_dequeue()
183 _lwkt_enqueue(thread_t td) in _lwkt_enqueue()
426 thread_t td = arg; in lwkt_init_thread_remote() local
497 lwkt_hold(thread_t td) in lwkt_hold()
503 lwkt_rele(thread_t td) in lwkt_rele()
945 thread_t td; in lwkt_preempt() local
1111 thread_t td = curthread; in lwkt_set_interrupt_support_thread() local
1317 lwkt_schedule(thread_t td) in lwkt_schedule()
1378 lwkt_acquire(thread_t td) in lwkt_acquire()
1618 thread_t td = arg; in lwkt_setcpu_remote() local
[all …]
H A Dlwkt_token.c250 _lwkt_trytokref(lwkt_tokref_t ref, thread_t td, long mode) in _lwkt_trytokref()
435 _lwkt_reltokref(lwkt_tokref_t ref, thread_t td) in _lwkt_reltokref()
477 lwkt_getalltokens(thread_t td, int spinning) in lwkt_getalltokens()
541 lwkt_relalltokens(thread_t td) in lwkt_relalltokens()
567 _lwkt_getalltokens_sorted(thread_t td) in _lwkt_getalltokens_sorted()
657 thread_t td = curthread; in lwkt_gettoken() local
728 thread_t td = curthread; in lwkt_gettoken_shared() local
794 thread_t td = curthread; in lwkt_trytoken() local
834 thread_t td = curthread; in lwkt_reltoken() local
877 lwkt_cnttoken(lwkt_token_t tok, thread_t td) in lwkt_cnttoken()
[all …]
H A Dkern_acl.c69 struct thread *td = curthread; in vacl_set_acl() local
91 struct thread *td = curthread; in vacl_get_acl() local
109 struct thread *td = curthread; in vacl_delete() local
126 struct thread *td = curthread; in vacl_aclcheck() local
202 struct thread *td = curthread; in sys___acl_get_fd() local
221 struct thread *td = curthread; in sys___acl_set_fd() local
265 struct thread *td = curthread; in sys___acl_delete_fd() local
310 struct thread *td = curthread; in sys___acl_aclcheck_fd() local
H A Dkern_lock.c81 #define COUNT(td, x) (td)->td_locks += (x) argument
83 #define COUNT(td, x) do { } while (0) argument
110 thread_t td; in lockmgr_shared() local
289 thread_t td; in lockmgr_exclusive() local
504 thread_t td; in lockmgr_downgrade() local
581 thread_t td; in lockmgr_upgrade() local
748 thread_t td; in lockmgr_release() local
1339 lockstatus(struct lock *lkp, struct thread *td) in lockstatus()
1367 thread_t td = curthread; in lockowned() local
1407 struct thread *td = lkp->lk_lockholder; in lockmgr_printinfo() local
H A Dsubr_sleepqueue.c161 sleepq_setup_thread(struct thread *td) in sleepq_setup_thread()
166 sleepq_teardown_thread(struct thread *td) in sleepq_teardown_thread()
256 struct thread *td; in sleepq_add() local
295 struct thread *td; in sleepq_set_timeout_sbt() local
319 _sleepq_wait_begin(struct thread *td, struct sleepqueue_chain *sc, in _sleepq_wait_begin()
347 _sleepq_wait_complete(struct thread *td, struct sleepqueue_chain *sc, in _sleepq_wait_complete()
391 struct thread *td; in sleepq_wait() local
407 struct thread *td; in sleepq_wait_sig() local
426 struct thread *td; in sleepq_timedwait() local
445 struct thread *td; in sleepq_timedwait_sig() local
H A Duipc_syscalls.c96 struct thread *td = curthread; in kern_socket() local
152 struct thread *td = curthread; in kern_bind() local
192 struct thread *td = curthread; in kern_listen() local
281 struct thread *td = curthread; in kern_accept() local
565 struct thread *td = curthread; in kern_connect() local
674 struct thread *td = curthread; in kern_socketpair() local
771 struct thread *td = curthread; in kern_sendmsg() local
835 struct thread *td = curthread; in sys_sendto() local
876 struct thread *td = curthread; in sys_sendmsg() local
954 struct thread *td = curthread; in kern_recvmsg() local
[all …]
H A Dimgact_resident.c80 fill_xresident(struct vmresident *vr, struct xresident *in, struct thread *td) in fill_xresident()
126 struct thread *td; in sysctl_vm_resident() local
209 struct thread *td = curthread; in sys_exec_sys_register() local
259 struct thread *td = curthread; in sys_exec_sys_unregister() local
H A Dsys_generic.c122 struct thread *td = curthread; in sys_read() local
152 struct thread *td = curthread; in sys_extpread() local
187 struct thread *td = curthread; in sys_readv() local
218 struct thread *td = curthread; in sys_extpreadv() local
251 struct thread *td = curthread; in kern_preadv() local
280 struct thread *td = curthread; in dofileread() local
328 struct thread *td = curthread; in sys_write() local
359 struct thread *td = curthread; in sys_extpwrite() local
391 struct thread *td = curthread; in sys_writev() local
422 struct thread *td = curthread; in sys_extpwritev() local
[all …]
H A Dvfs_syscalls.c118 struct thread *td = curthread; in sys_mount() local
610 struct thread *td = curthread; in sys_unmount() local
1213 struct thread *td; in sys_quotactl() local
1251 struct thread *td = curthread; in sys_mountctl() local
1401 struct thread *td = curthread; in kern_statfs() local
1460 struct thread *td = curthread; in kern_fstatfs() local
1579 struct thread *td = curthread; in kern_fstatvfs() local
1644 struct thread *td; member
1652 struct thread *td = curthread; in sys_getfsstat() local
1736 struct thread *td; member
[all …]
H A Dkern_synch.c388 thread_t td = gd->gd_curthread; in _tsleep_interlock() local
461 _tsleep_remove(thread_t td) in _tsleep_remove()
486 tsleep_remove(thread_t td) in tsleep_remove()
514 struct thread *td = curthread; in tsleep() local
900 thread_t td = curthread; in lwkt_sleep() local
937 thread_t td = arg; in endtsleep() local
1002 struct thread *td; in _wakeup() local
1151 thread_t td = gd->gd_curthread; in wakeup() local
1308 thread_t td = lp->lwp_thread; in setrunnable() local
1439 thread_t td; in loadav_count_runnable() local
[all …]
H A Dkern_mutex.c87 thread_t td; in __mtx_lock_ex() local
238 thread_t td; in __mtx_lock_sh() local
752 thread_t td = curthread; in mtx_chain_link_ex() local
812 thread_t td = curthread; in mtx_chain_link_sh() local
886 thread_t td = curthread; in mtx_delete_link() local
1048 thread_t td = curthread; in mtx_abort_link() local
H A Dkern_descrip.c570 fexitcache(thread_t td) in fexitcache()
621 thread_t td = curthread; in readplimits() local
701 struct thread *td = curthread; in kern_fcntl() local
998 struct thread *td = curthread; in kern_dup() local
1366 struct thread *td = curthread; in kern_closefrom() local
1420 struct thread *td = curthread; in kern_close() local
1477 struct thread *td = curthread; in kern_shutdown() local
1508 struct thread *td = curthread; in kern_fstat() local
1544 struct thread *td = curthread; in sys_fpathconf() local
3121 thread_t td = curthread; in sys_flock() local
[all …]
H A Dvfs_default.c313 struct thread *td = curthread; in vop_compat_ncreate() local
393 struct thread *td = curthread; in vop_compat_nmkdir() local
472 struct thread *td = curthread; in vop_compat_nmknod() local
550 struct thread *td = curthread; in vop_compat_nlink() local
625 struct thread *td = curthread; in vop_compat_nsymlink() local
709 struct thread *td = curthread; in vop_compat_nwhiteout() local
796 struct thread *td = curthread; in vop_compat_nremove() local
866 struct thread *td = curthread; in vop_compat_nrmdir() local
954 struct thread *td = curthread; in vop_compat_nrename() local
1335 struct thread *td; in vop_stdallocate() local
/dragonfly/contrib/tcsh-6/
H A Ded.term.c696 tty_getty(int fd, ttydata_t *td) in tty_getty()
727 tty_setty(int fd, ttydata_t *td) in tty_setty()
758 tty_getchar(ttydata_t *td, unsigned char *s) in tty_getchar()
898 tty_setchar(ttydata_t *td, unsigned char *s) in tty_setchar()
1038 tty_getspeed(ttydata_t *td) in tty_getspeed()
1061 tty_gettabs(ttydata_t *td) in tty_gettabs()
1071 tty_geteightbit(ttydata_t *td) in tty_geteightbit()
1081 tty_cooked_mode(ttydata_t *td) in tty_cooked_mode()
1145 tty_cooked_mode(void *td) in tty_cooked_mode()
/dragonfly/sys/sys/
H A Dthread2.h38 crit_enter_raw(thread_t td) in crit_enter_raw()
46 crit_exit_raw(thread_t td) in crit_exit_raw()
60 _lwkt_token_held_any(lwkt_token_t tok, thread_t td) in _lwkt_token_held_any()
78 _lwkt_token_held_excl(lwkt_token_t tok, thread_t td) in _lwkt_token_held_excl()
110 #define __DEBUG_CRIT_ENTER(td) argument
111 #define __DEBUG_CRIT_EXIT(td) argument
135 _debug_crit_enter(thread_t td, const char *id) in _debug_crit_enter()
144 _debug_crit_exit(thread_t td, const char *id) in _debug_crit_exit()
249 crit_test(thread_t td) in crit_test()
264 lwkt_getpri(thread_t td) in lwkt_getpri()
[all …]
/dragonfly/sys/netproto/smb/
H A Dsmb_trantcp.c98 nb_intr(struct nbpcb *nbp, struct thread *td) in nb_intr()
145 nb_connect_in(struct nbpcb *nbp, struct sockaddr_in *to, struct thread *td) in nb_connect_in()
201 nbssn_rq_request(struct nbpcb *nbp, struct thread *td) in nbssn_rq_request()
278 u_int8_t *rpcodep, int flags, struct thread *td) in nbssn_recvhdr()
315 u_int8_t *rpcodep, struct thread *td) in nbssn_recv()
382 smb_nbst_create(struct smb_vc *vcp, struct thread *td) in smb_nbst_create()
397 smb_nbst_done(struct smb_vc *vcp, struct thread *td) in smb_nbst_done()
413 smb_nbst_bind(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td) in smb_nbst_bind()
491 smb_nbst_disconnect(struct smb_vc *vcp, struct thread *td) in smb_nbst_disconnect()
511 smb_nbst_send(struct smb_vc *vcp, struct mbuf *m0, struct thread *td) in smb_nbst_send()
[all …]
/dragonfly/sys/platform/pc64/x86_64/
H A Dtrap.c305 struct thread *td = lp->lwp_thread; in userexit() local
399 struct thread *td = gd->gd_curthread; in trap() local
837 trap_handle_userenter(struct thread *td) in trap_handle_userenter()
862 thread_t td = curthread; in trap_pfault() local
1115 thread_t td = curthread; in in_kstack_guard() local
1127 thread_t td = curthread; in dblfault_handler() local
1160 struct thread *td = curthread; in syscall2() local
1391 struct thread *td; in sys_xsyscall() local
1523 struct thread *td = curthread; in set_vkernel_fp() local
H A Dnpx.c360 thread_t td; in npxdna() local
514 thread_t td = curthread; in npxpush() local
554 thread_t td = curthread; in npxpop() local
612 thread_t td = curthread; in kernel_fpu_begin() local
632 thread_t td = curthread; in kernel_fpu_end() local
/dragonfly/sys/platform/vkernel64/x86_64/
H A Dtrap.c268 struct thread *td = lp->lwp_thread; in userexit() local
336 struct thread *td = gd->gd_curthread; in user_trap() local
591 struct thread *td = gd->gd_curthread; in kern_trap() local
790 thread_t td = curthread; in trap_pfault() local
1015 struct thread *td = curthread; in syscall2() local
1226 struct thread *td; in sys_xsyscall() local
1457 struct thread *td = curthread; in set_vkernel_fp() local
H A Dexception.c79 thread_t td = gd->gd_curthread; in ipisig() local
113 thread_t td = gd->gd_curthread; in stopsig() local
147 thread_t td = gd->gd_curthread; in kqueuesig() local
170 thread_t td = gd->gd_curthread; in timersig() local
/dragonfly/sys/net/ipfw3_basic/
H A Dip_fw3_sync.c163 struct thread *td; in ip_fw3_ctl_sync_edge_conf() local
236 struct thread *td; in ip_fw3_ctl_sync_edge_start() local
272 struct thread *td; in ip_fw3_ctl_sync_centre_start() local
317 struct thread *td; in ip_fw3_ctl_sync_centre_test() local
441 struct thread *td; in ip_fw3_sync_send_state() local
/dragonfly/sys/bus/u4b/controller/
H A Duhci.c135 uhci_td_t *td; member
1072 uhci_td_t *td; in uhci_non_isoc_done_sub() local
1248 uhci_td_t *td; in uhci_check_transfer_sub() local
1309 uhci_td_t *td; in uhci_check_transfer() local
1522 uhci_td_t *td; in uhci_setup_standard_chain_sub() local
1664 uhci_td_t *td; in uhci_setup_standard_chain() local
1915 uhci_td_t *td; in uhci_device_bulk_start() local
1973 uhci_td_t *td; in uhci_device_ctrl_start() local
2066 uhci_td_t *td; in uhci_device_intr_start() local
2102 uhci_td_t *td; in uhci_device_isoc_open() local
[all …]
/dragonfly/sys/vfs/nfs/
H A Dnfs_serv.c209 struct thread *td, struct mbuf **mrq) in nfsrv3_access()
279 struct thread *td, struct mbuf **mrq) in nfsrv_getattr()
333 struct thread *td, struct mbuf **mrq) in nfsrv_setattr()
488 struct thread *td, struct mbuf **mrq) in nfsrv_lookup()
793 struct thread *td, struct mbuf **mrq) in nfsrv_read()
998 struct thread *td, struct mbuf **mrq) in nfsrv_write()
1217 struct thread *td, struct mbuf **mrq) in nfsrv_writegather()
2407 struct thread *td, struct mbuf **mrq) in nfsrv_link()
3233 struct thread *td, struct mbuf **mrq) in nfsrv_readdirplus()
3970 struct thread *td, struct mbuf **mrq) in nfsrv_null()
[all …]
/dragonfly/sys/platform/vkernel64/platform/
H A Dmachintr.c125 thread_t td = gd->mi.gd_curthread; in splz() local
172 thread_t td = gd->mi.gd_curthread; in signalintr() local
219 cpu_interrupt_running(struct thread *td) in cpu_interrupt_running()
/dragonfly/contrib/libedit/src/
H A Dtty.c455 #define tty__gettabs(td) ((((td)->c_oflag & TAB3) == TAB3) ? 0 : 1) argument
456 #define tty__geteightbit(td) (((td)->c_cflag & CSIZE) == CS8) argument
457 #define tty__cooked_mode(td) ((td)->c_lflag & ICANON) argument
611 tty__getspeed(struct termios *td) in tty__getspeed()
732 tty__getchar(struct termios *td, unsigned char *s) in tty__getchar()
814 tty__setchar(struct termios *td, unsigned char *s) in tty__setchar()

12345678910