Home
last modified time | relevance | path

Searched refs:td (Results 1 – 25 of 236) sorted by relevance

12345678910

/netbsd/src/sys/arch/sparc/dev/
Dts102.c306 struct tslot_data *td; in tslot_attach() local
370 td = &sc->sc_slot[slot]; in tslot_attach()
387 td->td_space[rnum] = hrang; in tslot_attach()
389 td->td_parent = sc; in tslot_attach()
390 td->td_pcmciat = tag; in tslot_attach()
391 td->td_softint = NULL; in tslot_attach()
392 td->td_regs = regs + slot * (TS102_REG_CARD_B_INT - in tslot_attach()
394 td->td_slot = slot; in tslot_attach()
396 TSPRINTF("resetting slot %d %d\n", slot, (int)td->td_regs); in tslot_attach()
397 tslot_reset(td, TS102_ARBITRARY_MAP_SIZE); in tslot_attach()
[all …]
/netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/
Ddmu_traverse.c76 static int traverse_dnode(traverse_data_t *td, const dnode_phys_t *dnp,
78 static void prefetch_dnode_metadata(traverse_data_t *td, const dnode_phys_t *,
84 traverse_data_t *td = arg; in traverse_zil_block() local
90 if (claim_txg == 0 && bp->blk_birth >= spa_first_txg(td->td_spa)) in traverse_zil_block()
93 SET_BOOKMARK(&zb, td->td_objset, ZB_ZIL_OBJECT, ZB_ZIL_LEVEL, in traverse_zil_block()
96 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, td->td_arg); in traverse_zil_block()
104 traverse_data_t *td = arg; in traverse_zil_record() local
117 SET_BOOKMARK(&zb, td->td_objset, lr->lr_foid, in traverse_zil_record()
120 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, in traverse_zil_record()
121 td->td_arg); in traverse_zil_record()
[all …]
/netbsd/src/usr.sbin/trpt/
Dtrpt.c246 struct tcp_debug *td = &tcp_debug[i]; in main() local
249 if (td->td_tcb == 0) in main()
252 if (tcp_pcbs[j] == td->td_tcb) in main()
255 tcp_pcbs[npcbs++] = td->td_tcb; in main()
281 struct tcp_debug *td; in dotrace() local
289 td = &tcp_debug[i]; in dotrace()
290 if (tcpcb && td->td_tcb != tcpcb) in dotrace()
292 ntime = ntohl(td->td_time); in dotrace()
293 switch (td->td_family) { in dotrace()
295 tcp_trace(td->td_act, td->td_ostate, in dotrace()
[all …]
/netbsd/src/sys/rump/librump/rumpkern/
Dthreads.c63 struct thrdesc *td = arg; in threadbouncer() local
64 struct lwp *l = td->newlwp; in threadbouncer()
68 f = td->f; in threadbouncer()
69 thrarg = td->arg; in threadbouncer()
85 kmem_intr_free(td, sizeof(*td)); in threadbouncer()
107 struct thrdesc *td; in rump_thread_allow() local
113 TAILQ_FOREACH(td, &newthr, entries) { in rump_thread_allow()
114 if (td->newlwp == l) { in rump_thread_allow()
115 td->runnable = 1; in rump_thread_allow()
144 struct thrdesc *td; in kthread_create() local
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dasn1_time_test.c115 struct testdata *td = &tbl[idx]; in test_table() local
118 atime.data = (unsigned char*)td->data; in test_table()
120 atime.type = td->type; in test_table()
123 if (!TEST_int_eq(ASN1_TIME_check(&atime), td->check_result)) { in test_table()
127 if (td->check_result == 0) in test_table()
130 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(&atime, td->t), 0)) { in test_table()
131 TEST_info("ASN1_TIME_cmp_time_t(%s vs %ld) compare failed", atime.data, (long)td->t); in test_table()
147 } else if (!((td->cmp_result == 0 && TEST_true((day == 0 && sec == 0))) || in test_table()
148 (td->cmp_result == -1 && TEST_true((day < 0 || sec < 0))) || in test_table()
149 (td->cmp_result == 1 && TEST_true((day > 0 || sec > 0))))) { in test_table()
[all …]
Ddhtest.c585 const rfc5114_td *td = NULL; in rfc5114_test() local
590 td = rfctd + i; in rfc5114_test()
592 if (!TEST_ptr(dhA = td->get_param()) in rfc5114_test()
593 || !TEST_ptr(dhB = td->get_param())) in rfc5114_test()
596 if (!TEST_ptr(priv_key = BN_bin2bn(td->xA, td->xA_len, NULL)) in rfc5114_test()
597 || !TEST_ptr(pub_key = BN_bin2bn(td->yA, td->yA_len, NULL)) in rfc5114_test()
601 if (!TEST_ptr(priv_key = BN_bin2bn(td->xB, td->xB_len, NULL)) in rfc5114_test()
602 || !TEST_ptr(pub_key = BN_bin2bn(td->yB, td->yB_len, NULL)) in rfc5114_test()
609 || !TEST_size_t_eq(td->Z_len, (size_t)szA) in rfc5114_test()
610 || !TEST_size_t_eq(td->Z_len, (size_t)szB)) in rfc5114_test()
[all …]
/netbsd/src/sys/netinet/
Dtcp_debug.c116 struct tcp_debug *td = &tcp_debug[tcp_debx++]; in tcp_trace() local
120 td->td_time = iptime(); in tcp_trace()
121 td->td_act = act; in tcp_trace()
122 td->td_ostate = ostate; in tcp_trace()
123 td->td_tcb = (void *)tp; in tcp_trace()
125 td->td_cb = *tp; in tcp_trace()
127 memset((void *)&td->td_cb, 0, sizeof (*tp)); in tcp_trace()
128 td->td_family = tp->t_family; in tcp_trace()
129 memset((void *)&td->td_ti, 0, sizeof (td->td_ti)); in tcp_trace()
131 memset((void *)&td->td_ti6, 0, sizeof (td->td_ti6)); in tcp_trace()
[all …]
/netbsd/src/external/cddl/osnet/dist/tools/ctf/cvt/
Dtdata.c286 tdata_label_add(tdata_t *td, const char *label, int idx) in tdata_label_add() argument
291 le->le_idx = (idx == -1 ? td->td_nextid - 1 : idx); in tdata_label_add()
293 slist_add(&td->td_labels, le, tdata_label_cmp); in tdata_label_add()
308 tdata_label_top(tdata_t *td) in tdata_label_top() argument
312 (void) list_iter(td->td_labels, tdata_label_top_cb, &top); in tdata_label_top()
326 tdata_label_find(tdata_t *td, char *label) in tdata_label_find() argument
332 ret = (labelent_t *)list_first(td->td_labels); in tdata_label_find()
338 if (!(ret = (labelent_t *)list_find(td->td_labels, &let, in tdata_label_find()
360 tdata_label_newmax(tdata_t *td, int newmax) in tdata_label_newmax() argument
362 (void) list_iter(td->td_labels, tdata_label_newmax_cb, &newmax); in tdata_label_newmax()
[all …]
Dfixup_tdescs.c58 fix_ptrptr_to_struct(tdata_t *td) in fix_ptrptr_to_struct() argument
96 p2->t_id = td->td_nextid++; in fix_ptrptr_to_struct()
101 p1->t_id = td->td_nextid++; in fix_ptrptr_to_struct()
112 fix_ptr_to_struct(tdata_t *td) in fix_ptr_to_struct() argument
145 ptr->t_id = td->td_nextid++; in fix_ptr_to_struct()
159 cvt_fixstabs(tdata_t *td) in cvt_fixstabs() argument
161 fix_ptrptr_to_struct(td); in cvt_fixstabs()
162 fix_ptr_to_struct(td); in cvt_fixstabs()
186 lookup_tdesc(tdata_t *td, char const *name) in lookup_tdesc() argument
189 iter_iidescs_by_name(td, name, matching_iidesc, &match); in lookup_tdesc()
[all …]
Dstabs.c120 resolve_nodes(tdata_t *td) in resolve_nodes() argument
124 (void) iitraverse_hash(td->td_iihash, &td->td_curvgen, resolve_cbs, in resolve_nodes()
125 NULL, NULL, td); in resolve_nodes()
181 stabs_read(tdata_t *td, Elf *elf, char *file) in stabs_read() argument
216 parse_init(td); in stabs_read()
349 iidesc_add(td->td_iihash, iidescp); in stabs_read()
358 iidesc_add(td->td_iihash, iidescp); in stabs_read()
377 resolve_nodes(td); in stabs_read()
379 parse_finish(td); in stabs_read()
381 cvt_fixstabs(td); in stabs_read()
[all …]
/netbsd/src/external/ibm-public/postfix/dist/mantools/
Dmakemanidx66 <tr><td colspan="2"> <hr> </td> </tr>
68 <tr><td align="center"> 1 </td> <td> Commands </td> </tr>
70 <tr><td align="center"> 3 </td> <td> Library routines </td> </tr>
72 <tr><td align="center"> 5 </td> <td> File formats </td> </tr>
74 <tr><td align="center"> 8 </td> <td> Daemons </td> </tr>
/netbsd/src/external/bsd/tre/dist/
DREADME.md184 <tr><td>AIX 4.3.2 - 5.3.0</td> <td>GCC, C for AIX compiler version 5</td></tr>
185 <tr><td>Compaq Tru64 UNIX V5.1A/B</td> <td>Compaq C V6.4-014 - V6.5-011</td></tr>
186 <tr><td>Cygwin 1.3 - 1.5</td> <td>GCC</td></tr>
187 <tr><td>Digital UNIX V4.0</td> <td>DEC C V5.9-005</td></tr>
188 <tr><td>FreeBSD 4 and above</td> <td>GCC</td></tr>
189 <tr><td>GNU/Linux systems on x86, x86_64, ppc64, s390</td><td>GCC</td></tr>
190 <tr><td>HP-UX 10.20- 11.00</td> <td>GCC, HP C Compiler</td></tr>
191 <tr><td>IRIX 6.5</td> <td>GCC, MIPSpro Compilers 7.3.1.3m</td></tr>
192 <tr><td>Max OS X</td></tr>
193 <tr><td>NetBSD 1.5 and above</td> <td>GCC, egcs</td></tr>
[all …]
/netbsd/src/lib/libedit/
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() argument
615 if ((spd = cfgetispeed(td)) == 0) in tty__getspeed()
616 spd = cfgetospeed(td); in tty__getspeed()
732 tty__getchar(struct termios *td, unsigned char *s) in tty__getchar() argument
736 s[C_INTR] = td->c_cc[VINTR]; in tty__getchar()
739 s[C_QUIT] = td->c_cc[VQUIT]; in tty__getchar()
742 s[C_ERASE] = td->c_cc[VERASE]; in tty__getchar()
[all …]
/netbsd/src/sys/fs/nfs/common/
Dnfs_commonkrpc.c177 struct thread *td = curthread; in newnfs_connect() local
192 origcred = td->td_ucred; in newnfs_connect()
198 td->td_ucred = nrp->nr_cred; in newnfs_connect()
200 td->td_ucred = cred; in newnfs_connect()
231 nrp->nr_soproto, td->td_ucred, td); in newnfs_connect()
233 td->td_ucred = origcred; in newnfs_connect()
264 td->td_ucred = origcred; in newnfs_connect()
367 td->td_ucred = origcred; in newnfs_connect()
482 struct thread *td, struct ucred *cred, u_int32_t prog, u_int32_t vers, in newnfs_request() argument
519 if (nmp != NULL && td != NULL && NFSHASINT(nmp)) { in newnfs_request()
[all …]
Dbootp_subr.c259 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) in bootpc_call() argument
649 error = sobind(bootp_so, (struct sockaddr *)sin, td); in bootpc_call()
706 bootpc_compose_query(ifctx, td); in bootpc_call()
742 auio.uio_td = td; in bootpc_call()
747 td); in bootpc_call()
[all …]
/netbsd/src/sys/fs/nfs/client/
Dnfs_clbio.c67 struct thread *td);
83 struct thread *td; in ncl_getpages() local
92 td = curthread; /* XXX */ in ncl_getpages()
118 (void)ncl_fsinfo(nmp, vp, cred, td); in ncl_getpages()
154 uio.uio_td = td; in ncl_getpages()
230 struct thread *td; in ncl_putpages() local
238 td = curthread; /* XXX */ in ncl_putpages()
255 (void)ncl_fsinfo(nmp, vp, cred, td); in ncl_putpages()
299 uio.uio_td = td; in ncl_putpages()
337 nfs_bioread_check_cons(struct vnode *vp, struct thread *td, struct ucred *cred) in nfs_bioread_check_cons() argument
[all …]
Dnfs_clvfsops.c284 struct thread *td; in nfs_statfs() local
292 td = curthread; in nfs_statfs()
306 error = nfsrpc_fsinfo(vp, &fs, td->td_ucred, td, &nfsva, in nfs_statfs()
313 error = nfsrpc_statfs(vp, &sb, &fs, td->td_ucred, td, &nfsva, in nfs_statfs()
319 td->td_ucred, td, &nfsva, NULL, NULL); in nfs_statfs()
350 error = nfscl_maperr(td, error, (uid_t)0, (gid_t)0); in nfs_statfs()
362 struct thread *td) in ncl_fsinfo() argument
368 error = nfsrpc_fsinfo(vp, &fs, cred, td, &nfsva, &attrflag, NULL); in ncl_fsinfo()
399 struct thread *td = curthread; in nfs_mountroot() local
430 td->td_ucred, td); in nfs_mountroot()
[all …]
/netbsd/src/external/bsd/atf/dist/tools/
Dtests-results.css99 table.summary td {
105 table.summary td.numeric p {
109 table.summary td.numeric-error p {
114 table.summary td.numeric-warning p {
123 table.summary tr.entry td p {
137 table.tcs-summary td {
150 table.tcs-summary td.numeric {
154 table.tcs-summary td.numeric p {
158 table.tcs-summary td.tp-numeric {
163 table.tcs-summary td.tp-numeric p {
[all …]
/netbsd/src/sys/dev/usb/
Duhci.c480 std->td.td_link = htole32(UHCI_PTR_T); in uhci_init()
481 std->td.td_status = htole32(0); /* inactive */ in uhci_init()
482 std->td.td_token = htole32(0); in uhci_init()
483 std->td.td_buffer = htole32(0); in uhci_init()
484 usb_syncmem(&std->dma, std->offs, sizeof(std->td), in uhci_init()
546 std->td.td_link = htole32(sqh->physaddr | UHCI_PTR_QH); in uhci_init()
547 std->td.td_status = htole32(UHCI_TD_IOS); /* iso, inactive */ in uhci_init()
548 std->td.td_token = htole32(0); in uhci_init()
549 std->td.td_buffer = htole32(0); in uhci_init()
550 usb_syncmem(&std->dma, std->offs, sizeof(std->td), in uhci_init()
[all …]
/netbsd/src/sys/ufs/chfs/
Dchfs_readinode.c142 struct chfs_tmp_dnode *td) in chfs_check_td_data() argument
149 struct chfs_node_ref *nref = td->node->nref; in chfs_check_td_data()
155 len = td->node->size; in chfs_check_td_data()
176 if (crc != td->data_crc) { in chfs_check_td_data()
177 dbg("crc failed, calculated: 0x%x, orig: 0x%x\n", crc, td->data_crc); in chfs_check_td_data()
200 chfs_check_td_node(struct chfs_mount *chmp, struct chfs_tmp_dnode *td) in chfs_check_td_node() argument
204 if (CHFS_REF_FLAGS(td->node->nref) != CHFS_UNCHECKED_NODE_MASK) in chfs_check_td_node()
207 ret = chfs_check_td_data(chmp, td); in chfs_check_td_node()
242 struct chfs_tmp_dnode *td) in chfs_add_tmp_dnode_to_tdi() argument
246 tdi->tmpnode = td; in chfs_add_tmp_dnode_to_tdi()
[all …]
/netbsd/src/external/bsd/ntp/dist/html/drivers/scripts/
Dfooter.txt3 <td width='33%' align='center'><img src='../icons/home.gif' align='middle'>\
4 <a href='../index.html'>Home Page</a></td>\
5 <td width='33%' ><img src='../icons/sitemap.png' align='middle'>\
6 <a href='../sitemap.html'>Site Map</a></td>\
7 <td width='33%' ><img src='../icons/mail2.gif' align='middle'>\
8 <a href='http://www.ntp.org/contact'>Contacts</a></td>\
/netbsd/src/external/bsd/ntp/dist/html/scripts/
Dfooter.txt3 <td width='33%' align='center'><img src='icons/home.gif' align='middle'>\
4 <a href='index.html'>Home Page</a></td>\
5 <td width='33%' align='center'><img src='icons/sitemap.png' align='middle'>\
6 <a href='sitemap.html'>Site Map</a></td>\
7 <td width='33%' align='center'><img src='icons/mail2.gif' align='middle'>\
8 <a href='http://www.ntp.org/contact'>Contacts</a></td>\
/netbsd/src/external/bsd/atf/dist/atf-c/detail/
Dsanity_test.c67 struct test_data *td = v; in do_test_child() local
69 switch (td->m_type) { in do_test_child()
71 INV(td->m_cond); in do_test_child()
75 PRE(td->m_cond); in do_test_child()
79 POST(td->m_cond); in do_test_child()
83 if (!td->m_cond) in do_test_child()
102 struct test_data td = { t, cond }; in do_test() local
106 RE(atf_process_fork(&child, do_test_child, &outsb, &errsb, &td)); in do_test()
/netbsd/src/external/bsd/am-utils/dist/conf/transp/
Dtransp_tli.c98 bind_resv_port(int td, u_short *pp) in bind_resv_port() argument
104 treq = (struct t_bind *) t_alloc(td, T_BIND, T_ADDR); in bind_resv_port()
109 tret = (struct t_bind *) t_alloc(td, T_BIND, T_ADDR); in bind_resv_port()
126 rc = t_bind(td, treq, tret); in bind_resv_port()
133 t_unbind(td); in bind_resv_port()
313 int td, rc = -1, port; in bind_resv_port_only_udp() local
348 td = t_open(nc->nc_device, O_RDWR, (struct t_info *) NULL); in bind_resv_port_only_udp()
351 if (td < 0) { in bind_resv_port_only_udp()
355 treq = (struct t_bind *) t_alloc(td, T_BIND, T_ADDR); in bind_resv_port_only_udp()
360 tret = (struct t_bind *) t_alloc(td, T_BIND, T_ADDR); in bind_resv_port_only_udp()
[all …]
/netbsd/src/sys/fs/nfs/nlm/
Dnlm_advlock.c111 nlm_msg(struct thread *td, const char *server, const char *msg, int error) in nlm_msg() argument
115 p = td ? td->td_proc : NULL; in nlm_msg()
131 nlm_down(struct nlm_feedback_arg *nf, struct thread *td, in nlm_down() argument
149 nlm_msg(td, nmp->nm_mountp->mnt_stat.f_mntfromname, msg, error); in nlm_down()
153 nlm_up(struct nlm_feedback_arg *nf, struct thread *td, in nlm_up() argument
161 nlm_msg(td, nmp->nm_mountp->mnt_stat.f_mntfromname, msg, 0); in nlm_up()
177 struct thread *td = curthread; in nlm_feedback() local
183 nlm_down(nf, td, "lockd not responding", 0); in nlm_feedback()
187 nlm_up(nf, td, "lockd is alive again"); in nlm_feedback()
200 struct thread *td = curthread; in nlm_advlock_internal() local
[all …]

12345678910