/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)
|
gdtoa.c | 68 ptrdiff_t td = x - x0; local in function:bitstob 69 _DIAGASSERT(__type_fit(int, td)); 70 i = (int)td;
|
/src/sys/fs/nfs/client/ |
nfs_clkrpc.c | 153 struct thread *td = curthread; local in function:nfs_cbproc 159 nfscl_docb(nd, td); 219 nfscbd_nfsd(struct thread *td, struct nfsd_nfscbd_args *args)
|
nfs_clnode.c | 100 struct thread *td = curthread; /* XXX */ local in function:ncl_nget 119 td, &nvp, newnfs_vncmpf, nfhp); 176 td, &nvp, newnfs_vncmpf, np->n_fhp); 204 ncl_releasesillyrename(struct vnode *vp, struct thread *td) 219 (void) ncl_vinvalbuf(vp, 0, td, 1);
|
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...] |
nfs_clport.c | 132 struct componentname *cnp, struct thread *td, struct nfsnode **npp, 149 td, &nvp, newnfs_vncmpf, nfhp); 288 td, &nvp, newnfs_vncmpf, nfhp); 314 struct thread *td, struct nfsnode **npp) 335 error = vfs_hash_get(mntp, hash, (LK_EXCLUSIVE | LK_NOWAIT), td, &nvp, 349 vfs_hash_ref(mntp, hash, td, &nvp, newnfs_vncmpf, nfhp); 677 * (Can be any of the threads, since it is only used for td->td_proc.) 680 nfscl_getparent(struct thread *td) 685 if (td == NULL) 687 p = td->td_proc 704 struct thread *td; local in function:start_nfscl [all...] |
nfs_clvfsops.c | 284 struct thread *td; local in function:nfs_statfs 292 td = curthread; 306 error = nfsrpc_fsinfo(vp, &fs, td->td_ucred, td, &nfsva, 313 error = nfsrpc_statfs(vp, &sb, &fs, td->td_ucred, td, &nfsva, 319 td->td_ucred, td, &nfsva, NULL, NULL); 350 error = nfscl_maperr(td, error, (uid_t)0, (gid_t)0); 362 struct thread *td) 399 struct thread *td = curthread; local in function:nfs_mountroot 879 struct thread *td; local in function:nfs_mount 1647 struct thread *td; local in function:nfs_unmount 1747 struct thread *td; local in function:nfs_sync [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/sys/dev/ic/ |
hpet.c | 207 uint64_t td0, td, val, freq; local in function:hpet_tsc_freq 241 td = cpu_counter(); 245 freq = (td - td0) * 10000000 / val;
|
/src/sys/fs/nfs/common/ |
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)
|
nfs_commonport.c | 212 nfsrv_object_create(struct vnode *vp, struct thread *td) 217 (void) vfs_object_create(vp, td, td->td_ucred); 379 struct thread *td = curthread; local in function:newnfs_getcred 381 cred = crdup(td->td_ucred); 440 nfssvc_nfscommon(struct thread *td, struct nfssvc_args *uap) 444 error = nfssvc_call(td, uap, td->td_ucred);
|
/src/bin/csh/ |
time.c | 240 struct timeval td; local in function:pdeltat 242 timersub(t1, t0, &td); 244 (double)td.tv_sec + td.tv_usec / 1000000.0);
|
/src/lib/libc/net/ |
ip6opt.c | 633 ptrdiff_t td; local in function:inet6_opt_find 636 td = optp + optlen - (uint8_t *)extbuf; 637 _DIAGASSERT(__type_fit(int, td)); 638 return (int)td;
|
/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/fs/nfs/server/ |
nfs_nfsdkrpc.c | 321 struct thread *td = curthread; local in function:nfs_proc 382 nfsrvd_dorpc(nd, isdgram, tagstr, taglen, minorvers, td); 477 nfsrvd_nfsd(struct thread *td, struct nfsd_nfsd_args *args) 498 p = td->td_proc;
|
/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/dev/pci/ |
ld_twe.c | 98 struct twe_drive *td = &twe->sc_units[twea->twea_unit]; local in function:ld_twe_attach 111 ld->sc_secperunit = td->td_size; 118 typestr = twe_describe_code(twe_table_unittype, td->td_type); 120 snprintf(unktype, sizeof(unktype), "<0x%02x>", td->td_type); 123 switch (td->td_type) { 128 td->td_stripe); 131 "<stripe code 0x%02x> ", td->td_stripe);
|
/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/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/sys/net80211/ |
ieee80211_netbsd.c | 712 struct thread *td = curthread; local in function:ieee80211_load_module 714 if (suser(td) == 0 && securelevel_gt(td->td_ucred, 0) == 0) {
|
/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/ |
ohcivar.h | 48 ohci_td_t *td; member in struct:ohci_soft_td 49 struct ohci_soft_td *nexttd; /* mirrors nexttd in TD */
|
uhcivar.h | 41 * frame list points to a non-active TD. These, in turn, form the 100 * Extra information that we need for a TD. 103 uhci_td_t td; /* The real TD, must be first */ member in struct:uhci_soft_td 105 uhci_physaddr_t physaddr; /* TD's physical address. */ 106 usb_dma_t dma; /* TD's DMA infos */ 107 int offs; /* TD's offset in usb_dma_t */ 111 * we can pack a number of soft TD together and have the real TD well 138 uhci_soft_td_t *htd; /* pointer to dummy TD */ [all...] |
/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...] |