| /src/sys/rump/librump/rumpkern/ |
| threads.c | 63 struct thrdesc *td = arg; local in function:threadbouncer 64 struct lwp *l = td->newlwp; 68 f = td->f; 69 thrarg = td->arg; 85 kmem_intr_free(td, sizeof(*td)); 107 struct thrdesc *td; local in function:rump_thread_allow 113 TAILQ_FOREACH(td, &newthr, entries) { 114 if (td->newlwp == l) { 115 td->runnable = 1 144 struct thrdesc *td; local in function:kthread_create 287 struct thrdesc *td = arg; local in function:lwpbouncer 326 struct thrdesc *td; local in function:lwp_create 354 struct thrdesc *td; local in function:lwp_exit [all...] |
| /src/sys/netinet/ |
| tcp_debug.c | 116 struct tcp_debug *td = &tcp_debug[tcp_debx++]; local in function:tcp_trace 120 td->td_time = iptime(); 121 td->td_act = act; 122 td->td_ostate = ostate; 123 td->td_tcb = (void *)tp; 125 td->td_cb = *tp; 127 memset((void *)&td->td_cb, 0, sizeof (*tp)); 128 td->td_family = tp->t_family; 129 memset((void *)&td->td_ti, 0, sizeof (td->td_ti)) [all...] |
| /src/usr.sbin/trpt/ |
| trpt.c | 246 struct tcp_debug *td = &tcp_debug[i]; local in function:main 249 if (td->td_tcb == 0) 252 if (tcp_pcbs[j] == td->td_tcb) 255 tcp_pcbs[npcbs++] = td->td_tcb; 281 struct tcp_debug *td; local in function:dotrace 289 td = &tcp_debug[i]; 290 if (tcpcb && td->td_tcb != tcpcb) 292 ntime = ntohl(td->td_time); 293 switch (td->td_family) { 295 tcp_trace(td->td_act, td->td_ostate [all...] |
| /src/sys/arch/sparc/dev/ |
| ts102.c | 306 struct tslot_data *td; local in function:tslot_attach 370 td = &sc->sc_slot[slot]; 387 td->td_space[rnum] = hrang; 389 td->td_parent = sc; 390 td->td_pcmciat = tag; 391 td->td_softint = NULL; 392 td->td_regs = regs + slot * (TS102_REG_CARD_B_INT - 394 td->td_slot = slot; 396 TSPRINTF("resetting slot %d %d\n", slot, (int)td->td_regs); 397 tslot_reset(td, TS102_ARBITRARY_MAP_SIZE) 464 struct tslot_data *td = (struct tslot_data *)paa->pch; local in function:tslot_print 478 struct tslot_data *td = (struct tslot_data *)pch; local in function:tslot_io_alloc 505 struct tslot_data *td = (struct tslot_data *)pch; local in function:tslot_io_map 539 struct tslot_data *td = (struct tslot_data *)pch; local in function:tslot_io_unmap 560 struct tslot_data *td = (struct tslot_data *)pch; local in function:tslot_mem_alloc 587 struct tslot_data *td = (struct tslot_data *)pch; local in function:tslot_mem_map 622 struct tslot_data *td = (struct tslot_data *)pch; local in function:tslot_slot_disable 657 struct tslot_data *td = (struct tslot_data *)pch; local in function:tslot_slot_enable 740 struct tslot_data *td; local in function:tslot_event_thread 809 struct tslot_data *td; local in function:tslot_intr 944 struct tslot_data *td = (struct tslot_data *)pch; local in function:tslot_intr_disestablish 967 struct tslot_data *td = (struct tslot_data *)pch; local in function:tslot_intr_establish 982 struct tslot_data *td = arg; local in function:tslot_intr_dispatch 999 struct tslot_data *td = (struct tslot_data *)pch; local in function:tslot_slot_settype [all...] |
| /src/sys/fs/nfs/common/ |
| krpc.h | 14 struct mbuf **data, struct sockaddr **from, struct lwp *td); 17 u_int prog, u_int vers, u_int16_t *portp, struct lwp *td);
|
| nfs_nfssvc.c | 79 sys_nfssvc(struct thread *td, struct nfssvc_args *uap) 89 error = priv_check(td, PRIV_NFS_DAEMON); 96 error = (*nfsd_call_nfsserver)(td, uap); 99 error = (*nfsd_call_nfscl)(td, uap); 104 error = (*nfsd_call_nfscommon)(td, uap); 111 error = (*nfsd_call_nfsd)(td, uap);
|
| nfs_commonkrpc.c | 177 struct thread *td = curthread; local in function:newnfs_connect 192 origcred = td->td_ucred; 198 td->td_ucred = nrp->nr_cred; 200 td->td_ucred = cred; 231 nrp->nr_soproto, td->td_ucred, td); 233 td->td_ucred = origcred; 264 td->td_ucred = origcred; 367 td->td_ucred = origcred; 482 struct thread *td, struct ucred *cred, u_int32_t prog, u_int32_t vers [all...] |
| nfs_lock.c | 74 static int nfslockdans(struct thread *td, struct lockd_ans *ansp); 88 nfslock_open(struct cdev *dev, int oflags, int devtype, struct thread *td) 92 error = priv_check(td, PRIV_NFS_LOCKD); 109 nfslock_close(struct cdev *dev, int fflag, int devtype, struct thread *td) 240 struct thread *td; local in function:nfs_dolock 248 td = curthread; 249 p = td->td_proc; 299 cru2x(td->td_ucred, &msg.lm_cred); 359 nfslockdans(struct thread *td, struct lockd_ans *ansp)
|
| bootp_subr.c | 259 int *fhsizep, struct nfs_args *args, struct lwp *td); 272 struct lwp *td); 288 struct lwp *td); 291 struct lwp *td); 294 struct bootpc_globalcontext *gctx, struct lwp *td); 595 bootpc_call(struct bootpc_globalcontext *gctx, struct lwp *td) 649 error = sobind(bootp_so, (struct sockaddr *)sin, td); 706 bootpc_compose_query(ifctx, td); 742 auio.uio_td = td; 747 td); 1596 struct lwp *td; local in function:bootpc_init [all...] |
| /src/lib/libc/compat/sys/ |
| compat_getdents.c | 89 ptrdiff_t td = (((char *)(void *)odp) - buf); local in function:getdents 90 _DIAGASSERT(__type_fit(int, td)); 91 return (int)td;
|
| /src/lib/libc/gdtoa/ |
| gmisc.c | 66 ptrdiff_t td = x1 - b->x; local in function:rshift 67 _DIAGASSERT(__type_fit(int, td)); 68 if ((b->wds = (int)td) == 0)
|
| /src/lib/libedit/ |
| tty.c | 455 #define tty__gettabs(td) ((((td)->c_oflag & TAB3) == TAB3) ? 0 : 1) 456 #define tty__geteightbit(td) (((td)->c_cflag & CSIZE) == CS8) 457 #define tty__cooked_mode(td) ((td)->c_lflag & ICANON) 611 tty__getspeed(struct termios *td) 615 if ((spd = cfgetispeed(td)) == 0) 616 spd = cfgetospeed(td); 732 tty__getchar(struct termios *td, unsigned char *s [all...] |
| /src/sys/fs/nfs/client/ |
| nfs_clbio.c | 67 struct thread *td); 83 struct thread *td; local in function:ncl_getpages 92 td = curthread; /* XXX */ 118 (void)ncl_fsinfo(nmp, vp, cred, td); 154 uio.uio_td = td; 230 struct thread *td; local in function:ncl_putpages 238 td = curthread; /* XXX */ 255 (void)ncl_fsinfo(nmp, vp, cred, td); 299 uio.uio_td = td; 337 nfs_bioread_check_cons(struct vnode *vp, struct thread *td, struct ucred *cred 409 struct thread *td; local in function:ncl_bioread 710 struct thread *td = uiop->uio_td; local in function:nfs_directio_write 845 struct thread *td = uio->uio_td; local in function:ncl_write [all...] |
| /src/sys/ufs/chfs/ |
| chfs_readinode.c | 142 struct chfs_tmp_dnode *td) 149 struct chfs_node_ref *nref = td->node->nref; 155 len = td->node->size; 176 if (crc != td->data_crc) { 177 dbg("crc failed, calculated: 0x%x, orig: 0x%x\n", crc, td->data_crc); 200 chfs_check_td_node(struct chfs_mount *chmp, struct chfs_tmp_dnode *td) 204 if (CHFS_REF_FLAGS(td->node->nref) != CHFS_UNCHECKED_NODE_MASK) 207 ret = chfs_check_td_data(chmp, td); 242 struct chfs_tmp_dnode *td) 246 tdi->tmpnode = td; 793 struct chfs_tmp_dnode *td; local in function:chfs_get_data_nodes [all...] |
| /src/sys/dev/usb/ |
| uhci.c | 472 * Allocate a TD, inactive, that hangs from the last QH. 480 std->td.td_link = htole32(UHCI_PTR_T); 481 std->td.td_status = htole32(0); /* inactive */ 482 std->td.td_token = htole32(0); 483 std->td.td_buffer = htole32(0); 484 usb_syncmem(&std->dma, std->offs, sizeof(std->td), 546 std->td.td_link = htole32(sqh->physaddr | UHCI_PTR_QH); 547 std->td.td_status = htole32(UHCI_TD_IOS); /* iso, inactive */ 548 std->td.td_token = htole32(0); 549 std->td.td_buffer = htole32(0) 915 uhci_soft_td_t *td; local in function:uhci_dump_tds [all...] |
| /src/sys/arch/sh3/include/ |
| pmap.h | 76 #define PMAP_PREFER(pa, va, sz, td) pmap_prefer((pa), (va), (td))
|
| /src/sys/arch/sun2/include/ |
| pmap.h | 54 #define PMAP_PREFER(fo, ap, sz, td) pmap_prefer((fo), (ap), (td))
|
| /src/sys/arch/sun3/include/ |
| pmap3.h | 54 #define PMAP_PREFER(fo, ap, sz, td) pmap_prefer((fo), (ap), (td))
|
| /src/sys/arch/hppa/include/ |
| pmap.h | 123 #define PMAP_PREFER(o,h,s,td) pmap_prefer((o), (h), (td)) 126 pmap_prefer(vaddr_t fo, vaddr_t *va, int td) 131 if (td) {
|
| /src/sys/arch/sparc64/include/ |
| pmap.h | 202 #define PMAP_PREFER(fo, va, sz, td) pmap_prefer((fo), (va), (td)) 204 pmap_prefer(vaddr_t fo, vaddr_t *va, int td) 212 if (td) {
|
| /src/usr.sbin/makefs/ |
| makefs.h | 286 struct timeval end, td; \ 288 timersub(&end, &(x), &td); \ 290 (d), (long long)td.tv_sec, \ 291 (long)td.tv_usec); \
|
| /src/sys/dev/tc/ |
| tcds.c | 129 const struct tcds_device *td; local in function:tcds_lookup 131 for (td = tcds_devices; td->td_name != NULL; td++) 132 if (strncmp(td->td_name, modname, TC_ROM_LLEN) == 0) 133 return (td); 153 const struct tcds_device *td; local in function:tcdsattach 161 td = tcds_lookup(ta->ta_modname); 162 if (td == NULL) 166 if (td->td_flags & TCDSF_BASEBOARD [all...] |
| /src/usr.bin/ftp/ |
| progressbar.c | 130 struct timeval td; local in function:progressmeter 246 timersub(&now, &start, &td); 247 elapsed = td.tv_sec + (td.tv_usec / 1000000.0); 308 struct timeval now, td, wait; local in function:ptransfer 320 timersub(&now, &start, &td); 321 elapsed = td.tv_sec + (td.tv_usec / 1000000.0);
|
| /src/sys/fs/nfs/nlm/ |
| nlm_advlock.c | 111 nlm_msg(struct thread *td, const char *server, const char *msg, int error) 115 p = td ? td->td_proc : NULL; 131 nlm_down(struct nlm_feedback_arg *nf, struct thread *td, 149 nlm_msg(td, nmp->nm_mountp->mnt_stat.f_mntfromname, msg, error); 153 nlm_up(struct nlm_feedback_arg *nf, struct thread *td, 161 nlm_msg(td, nmp->nm_mountp->mnt_stat.f_mntfromname, msg, 0); 177 struct thread *td = curthread; local in function:nlm_feedback 183 nlm_down(nf, td, "lockd not responding", 0); 187 nlm_up(nf, td, "lockd is alive again") 200 struct thread *td = curthread; local in function:nlm_advlock_internal 456 struct thread *td = curthread; local in function:nlm_reclaim_free_lock 493 struct thread *td = curthread; local in function:nlm_client_recover_lock [all...] |
| /src/sys/ufs/ffs/ |
| ffs_alloc.c | 1616 ffs_blkfree_td(struct fs *fs, struct discardopdata *td) 1618 struct mount *mp = spec_node_getmountedfs(td->devvp); 1622 while (td->size) { 1623 todo = uimin(td->size, 1624 ffs_lfragtosize(fs, (fs->fs_frag - ffs_fragnum(fs, td->bno)))); 1631 ffs_blkfree_cg(fs, td->devvp, td->bno, todo); 1633 td->bno += ffs_numfrags(fs, todo); 1634 td->size -= todo; 1641 struct discardopdata *td = (void *)wk local in function:ffs_discardcb 1700 struct discardopdata *td = NULL; local in function:ffs_discard_finish 1740 struct discardopdata *td; local in function:ffs_blkfree [all...] |