/netbsd-src/sys/kern/ |
H A D | tty.c | 129 #define CONNECTED(tp) (ISSET(tp->t_state, TS_CARR_ON) || \ argument 244 tty_set_qsize(struct tty *tp, int newsize) in tty_set_qsize() 360 ttylock(struct tty *tp) in ttylock() 367 ttyunlock(struct tty *tp) in ttyunlock() 374 ttylocked(struct tty *tp) in ttylocked() 381 ttyopen(struct tty *tp, int dialout, int nonblock) in ttyopen() 436 ttylopen(dev_t device, struct tty *tp) in ttylopen() 457 ttycancel(struct tty *tp) in ttycancel() 473 ttyclose(struct tty *tp) in ttyclose() 533 tty_acquire(struct tty *tp) in tty_acquire() [all …]
|
/netbsd-src/sys/net/ |
H A D | if_tun.c | 171 struct tun_softc *tp; in tun_find_unit() local 192 struct tun_softc *tp; in tun_find_zunit() local 208 tun_init(struct tun_softc * tp,int unit) tun_init() argument 222 tun_fini(struct tun_softc * tp) tun_fini() argument 237 struct tun_softc *tp; tun_alloc() local 246 tun_recycle(struct tun_softc * tp) tun_recycle() argument 253 tun_free(struct tun_softc * tp) tun_free() argument 263 struct tun_softc *tp; tun_clone_create() local 283 tunattach0(struct tun_softc * tp) tunattach0() argument 309 struct tun_softc *tp = (void *)ifp; tun_clone_destroy() local 350 struct tun_softc *tp; tunopen() local 391 struct tun_softc *tp; tunclose() local 444 tun_enable(struct tun_softc * tp,const struct ifaddr * ifa) tun_enable() argument 500 struct tun_softc *tp = (struct tun_softc *)(ifp->if_softc); tun_ioctl() local 557 struct tun_softc *tp = ifp->if_softc; tun_output() local 660 struct tun_softc *tp = cookie; tun_i_softintr() local 670 struct tun_softc *tp = cookie; tun_o_softintr() local 683 struct tun_softc *tp; tunioctl() local 788 struct tun_softc *tp; tunread() local 854 struct tun_softc *tp; tunwrite() local 1007 struct tun_softc *tp = ifp->if_softc; tunstart() local 1031 struct tun_softc *tp; tunpoll() local 1066 struct tun_softc *tp = kn->kn_hook; filt_tunrdetach() local 1076 struct tun_softc *tp = kn->kn_hook; filt_tunread() local 1109 struct tun_softc *tp; tunkqfilter() local [all...] |
/netbsd-src/sys/arch/x86/x86/ |
H A D | x86_tlb.c | 92 #define TP_GET_COUNT(tp) ((tp)->tp_store[TP_COUNT] & PAGE_MASK) argument 93 #define TP_GET_USERPMAP(tp) ((tp)->tp_store[TP_USERPMAP] & 1) argument 94 #define TP_GET_GLOBAL(tp) ((tp)->tp_store[TP_GLOBAL] & 1) argument 95 #define TP_GET_DONE(tp) (atomic_load_relaxed(&(tp)->tp_store[TP_DONE]) & 1) argument 96 #define TP_GET_VA(tp, i) ((tp)->tp_store[(i)] & ~PAGE_MASK) argument 98 #define TP_INC_COUNT(tp) ((tp)->tp_store[TP_COUNT]++) argument 99 #define TP_SET_ALLVA(tp) ((tp)->tp_store[TP_COUNT] |= TP_ALLVA) argument 100 #define TP_SET_VA(tp, c, va) ((tp)->tp_store[(c)] |= ((va) & ~PAGE_MASK)) argument 102 #define TP_SET_USERPMAP(tp) ((tp)->tp_store[TP_USERPMAP] |= 1) argument 103 #define TP_SET_GLOBAL(tp) ((tp)->tp_store[TP_GLOBAL] |= 1) argument [all …]
|
/netbsd-src/sys/netinet/ |
H A D | tcp_congctl.c | 318 tcp_congctl_select(struct tcpcb *tp, const char *name) in tcp_congctl_select() 363 tcp_congctl_release(struct tcpcb *tp) in tcp_congctl_release() 428 tcp_common_congestion_exp(struct tcpcb *tp, int betaa, int betab) in tcp_common_congestion_exp() 458 tcp_reno_congestion_exp(struct tcpcb *tp) in tcp_reno_congestion_exp() 465 tcp_reno_do_fast_retransmit(struct tcpcb *tp, const struct tcphdr *th) in tcp_reno_do_fast_retransmit() 504 tcp_reno_fast_retransmit(struct tcpcb *tp, const struct tcphdr *th) in tcp_reno_fast_retransmit() 520 tcp_reno_slow_retransmit(struct tcpcb *tp) in tcp_reno_slow_retransmit() 564 tcp_reno_fast_retransmit_newack(struct tcpcb *tp, in tcp_reno_fast_retransmit_newack() 589 tcp_reno_newack(struct tcpcb *tp, const struct tcphdr *th) in tcp_reno_newack() 657 tcp_newreno_fast_retransmit(struct tcpcb *tp, const struct tcphdr *th) in tcp_newreno_fast_retransmit() [all …]
|
H A D | tcp_sack.c | 169 sack_allochole(struct tcpcb *tp) in sack_allochole() 188 sack_inserthole(struct tcpcb *tp, tcp_seq start, tcp_seq end, in sack_inserthole() 208 sack_removehole(struct tcpcb *tp, struct sackhole *hole) in sack_removehole() 226 tcp_new_dsack(struct tcpcb *tp, tcp_seq seq, u_int32_t len) in tcp_new_dsack() 241 tcp_sack_option(struct tcpcb *tp, const struct tcphdr *th, const u_char *cp, in tcp_sack_option() 403 tcp_del_sackholes(struct tcpcb *tp, const struct tcphdr *th) in tcp_del_sackholes() 428 tcp_free_sackholes(struct tcpcb *tp) in tcp_free_sackholes() 444 tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt) in tcp_sack_output() 473 tcp_sack_adjust(struct tcpcb *tp) in tcp_sack_adjust() 510 tcp_sack_numblks(const struct tcpcb *tp) in tcp_sack_numblks() [all …]
|
H A D | tcp_usrreq.c | 157 tcp_debug_capture(struct tcpcb *tp, int req) in tcp_debug_capture() 166 tcp_debug_trace(struct socket *so, struct tcpcb *tp, int ostate, int req) in tcp_debug_trace() 175 change_keepalive(struct socket *so, struct tcpcb *tp) in change_keepalive() 204 tcp_fill_info(struct tcpcb *tp, struct tcp_info *ti) in tcp_fill_info() 262 struct tcpcb *tp; in tcp_ctloutput() local 447 struct tcpcb *tp; in tcp_attach() local 505 struct tcpcb *tp; in tcp_detach() local 522 struct tcpcb *tp; in tcp_accept() local 561 struct tcpcb *tp; in tcp_bind() local 604 struct tcpcb *tp; in tcp_listen() local [all …]
|
/netbsd-src/external/bsd/atf/dist/atf-c/ |
H A D | tp.c | 54 find_tc(const atf_tp_t *tp, const char *ident) in find_tc() 80 atf_tp_init(atf_tp_t *tp, const char *const *config) in atf_tp_init() 106 atf_tp_fini(atf_tp_t *tp) in atf_tp_fini() 126 atf_tp_get_config(const atf_tp_t *tp) in atf_tp_get_config() 132 atf_tp_has_tc(const atf_tp_t *tp, const char *id) in atf_tp_has_tc() 139 atf_tp_get_tc(const atf_tp_t *tp, const char *id) in atf_tp_get_tc() 147 atf_tp_get_tcs(const atf_tp_t *tp) in atf_tp_get_tcs() 180 atf_tp_add_tc(atf_tp_t *tp, atf_tc_t *tc) in atf_tp_add_tc() 198 atf_tp_run(const atf_tp_t *tp, const char *tcname, const char *resfile) in atf_tp_run() 209 atf_tp_cleanup(const atf_tp_t *tp, const char *tcname) in atf_tp_cleanup()
|
/netbsd-src/sys/dev/hpc/ |
H A D | biconsdev.c | 117 struct tty *tp = &biconsdev_tty[0]; in biconsdevattach() local 144 biconsdev_output(struct tty *tp) in biconsdev_output() 173 struct tty *tp = &biconsdev_tty[0]; in biconsdevopen() local 201 struct tty *tp = &biconsdev_tty[0]; in biconsdevclose() local 213 struct tty *tp = &biconsdev_tty[0]; in biconsdevread() local 222 struct tty *tp = &biconsdev_tty[0]; in biconsdevwrite() local 231 struct tty *tp = &biconsdev_tty[0]; in biconsdevpoll() local 240 struct tty *tp = &biconsdev_tty[0]; in biconsdevtty() local 248 struct tty *tp = &biconsdev_tty[0]; in biconsdevioctl() local
|
/netbsd-src/sys/dev/arcbios/ |
H A D | arcbios_tty.c | 85 struct tty *tp; in arcbios_ttyopen() local 139 struct tty *tp = arcbios_tty[unit]; in arcbios_ttyclose() local 150 struct tty *tp = arcbios_tty[minor(dev)]; in arcbios_ttyread() local 158 struct tty *tp = arcbios_tty[minor(dev)]; in arcbios_ttywrite() local 166 struct tty *tp = arcbios_tty[minor(dev)]; in arcbios_ttypoll() local 175 struct tty *tp = arcbios_tty[unit]; in arcbios_ttyioctl() local 185 arcbios_tty_param(struct tty *tp, struct termios *t) in arcbios_tty_param() 192 arcbios_tty_start(struct tty *tp) in arcbios_tty_start() 213 arcbios_ttystop(struct tty *tp, int flag) in arcbios_ttystop() 246 struct tty *tp = v; in arcbios_tty_poll() local
|
/netbsd-src/sys/arch/alpha/alpha/ |
H A D | promcons.c | 99 struct tty *tp; in promopen() local 158 struct tty *tp = prom_tty[unit]; in promclose() local 169 struct tty *tp = prom_tty[minor(dev)]; in promread() local 177 struct tty *tp = prom_tty[minor(dev)]; in promwrite() local 185 struct tty *tp = prom_tty[minor(dev)]; in prompoll() local 194 struct tty *tp = prom_tty[unit]; in promioctl() local 204 promparam(struct tty *tp, struct termios *t) in promparam() 211 promstart(struct tty *tp) in promstart() 231 promstop(struct tty *tp, int flag) in promstop() 245 struct tty *tp = v; in promtimeout() local
|
/netbsd-src/share/examples/refuse/virtdir/ |
H A D | virtdir.c | 68 mkdirs(virtdir_t *tp, const char *path, size_t size) in mkdirs() 115 virtdir_init(virtdir_t *tp, const char *rootdir, struct stat *d, struct stat *f, struct stat *l) in virtdir_init() 134 virtdir_add(virtdir_t *tp, const char *name, size_t size, uint8_t type, const char *tgt, size_t tgt… in virtdir_add() 170 virtdir_del(virtdir_t *tp, const char *name, size_t size) in virtdir_del() 187 virtdir_find(virtdir_t *tp, const char *name, size_t namelen) in virtdir_find() 200 virtdir_offset(virtdir_t *tp, virt_dirent_t *dp) in virtdir_offset() 208 openvirtdir(virtdir_t *tp, const char *d) in openvirtdir() 251 virtdir_find_tgt(virtdir_t *tp, const char *tgt, size_t tgtlen) in virtdir_find_tgt() 268 virtdir_drop(virtdir_t *tp) in virtdir_drop() 283 virtdir_rootdir(virtdir_t *tp) in virtdir_rootdir() [all …]
|
/netbsd-src/external/bsd/iscsi/dist/src/initiator/ |
H A D | virtdir.c | 68 mkdirs(virtdir_t *tp, const char *path, size_t size) in mkdirs() 117 virtdir_init(virtdir_t *tp, const char *rootdir, struct stat *d, struct stat *f, struct stat *l) in virtdir_init() 136 virtdir_add(virtdir_t *tp, const char *name, size_t size, uint8_t type, const char *tgt, size_t tgt… in virtdir_add() 172 virtdir_del(virtdir_t *tp, const char *name, size_t size) in virtdir_del() 189 virtdir_find(virtdir_t *tp, const char *name, size_t namelen) in virtdir_find() 202 virtdir_offset(virtdir_t *tp, virt_dirent_t *dp) in virtdir_offset() 210 openvirtdir(virtdir_t *tp, const char *d) in openvirtdir() 253 virtdir_find_tgt(virtdir_t *tp, const char *tgt, size_t tgtlen) in virtdir_find_tgt() 270 virtdir_drop(virtdir_t *tp) in virtdir_drop() 285 virtdir_rootdir(virtdir_t *tp) in virtdir_rootdir() [all …]
|
/netbsd-src/external/bsd/nsd/dist/ |
H A D | xfrd-tcp.c | 81 setup_ssl(struct xfrd_tcp_pipeline* tp, struct xfrd_tcp_set* tcp_set, in setup_ssl() 116 ssl_handshake(struct xfrd_tcp_pipeline* tp) in ssl_handshake() 247 clear_pipeline_entry(struct xfrd_tcp_pipeline* tp, rbnode_type* node) in clear_pipeline_entry() 263 xfrd_tcp_pipeline_cleanup(struct xfrd_tcp_pipeline* tp) in xfrd_tcp_pipeline_cleanup() 273 xfrd_tcp_pipeline_init(struct xfrd_tcp_pipeline* tp) in xfrd_tcp_pipeline_init() 288 struct xfrd_tcp_pipeline* tp = (struct xfrd_tcp_pipeline*) in xfrd_tcp_pipeline_create() local 313 xfrd_tcp_pipeline_lookup_id(struct xfrd_tcp_pipeline* tp, uint16_t id) in xfrd_tcp_pipeline_lookup_id() 328 xfrd_tcp_pipeline_insert_id(struct xfrd_tcp_pipeline* tp, uint16_t id, in xfrd_tcp_pipeline_insert_id() 347 xfrd_tcp_pipeline_remove_id(struct xfrd_tcp_pipeline* tp, uint16_t id) in xfrd_tcp_pipeline_remove_id() 364 xfrd_tcp_pipeline_skip_id(struct xfrd_tcp_pipeline* tp, uint16_t id) in xfrd_tcp_pipeline_skip_id() [all …]
|
/netbsd-src/sys/dev/ir/ |
H A D | irframe_tty.c | 267 irframetopen(dev_t dev, struct tty *tp) in irframetopen() 335 irframetclose(struct tty *tp, int flag) in irframetclose() 371 irframetioctl(struct tty *tp, u_long cmd, void *data, int flag, in irframetioctl() 415 irframetstart(struct tty *tp) in irframetstart() 500 irframetinput(int c, struct tty *tp) in irframetinput() 584 struct tty *tp = h; in irframet_open() local 604 struct tty *tp = h; in irframet_close() local 625 struct tty *tp = h; in irframet_read() local 676 irt_putc(struct tty *tp, int c) in irt_putc() 712 struct tty *tp = h; in irframet_write() local [all …]
|
/netbsd-src/external/ibm-public/postfix/dist/src/util/ |
H A D | argv.c | 432 static ARGV *test_argv_populate(const TEST_CASE *tp, ARGV *argvp) in test_argv_populate() 445 static ARGV *test_argv_sort(const TEST_CASE *tp, ARGV *argvp) in test_argv_sort() 454 static ARGV *test_argv_sort_uniq(const TEST_CASE *tp, ARGV *argvp) in test_argv_sort_uniq() 467 static ARGV *test_argv_good_truncate(const TEST_CASE *tp, ARGV *argvp) in test_argv_good_truncate() 476 static ARGV *test_argv_bad_truncate(const TEST_CASE *tp, ARGV *argvp) in test_argv_bad_truncate() 485 static ARGV *test_argv_good_insert(const TEST_CASE *tp, ARGV *argvp) in test_argv_good_insert() 494 static ARGV *test_argv_bad_insert1(const TEST_CASE *tp, ARGV *argvp) in test_argv_bad_insert1() 503 static ARGV *test_argv_bad_insert2(const TEST_CASE *tp, ARGV *argvp) in test_argv_bad_insert2() 512 static ARGV *test_argv_good_replace(const TEST_CASE *tp, ARGV *argvp) in test_argv_good_replace() 521 static ARGV *test_argv_bad_replace1(const TEST_CASE *tp, ARGV *argvp) in test_argv_bad_replace1() [all …]
|
/netbsd-src/usr.sbin/tpctl/ |
H A D | tp.c | 50 tp_init(struct tp *tp, int fd) in tp_init() 96 tp_setrawmode(struct tp *tp) in tp_setrawmode() 107 tp_setcalibcoords(struct tp *tp, struct wsmouse_calibcoords *calibcoords) in tp_setcalibcoords() 113 tp_flush(struct tp *tp) in tp_flush() 141 tp_get(struct tp *tp, int *x, int *y, int (*cancel)(void *), void *data) in tp_get() 181 tp_waitup(struct tp *tp, int msec, int (*cancel)(void*), void *data) in tp_waitup()
|
/netbsd-src/external/ibm-public/postfix/dist/src/global/ |
H A D | tok822_tree.c | 167 TOK822 *tok822_cut_before(TOK822 *tp) in tok822_cut_before() 180 TOK822 *tok822_cut_after(TOK822 *tp) in tok822_cut_after() 193 TOK822 *tok822_unlink(TOK822 *tp) in tok822_unlink() 225 TOK822 *tp; in tok822_sub_prepend() local 264 TOK822 *tok822_free_tree(TOK822 *tp) in tok822_free_tree() 281 TOK822 *tp; in tok822_apply() local 297 TOK822 *tp; in tok822_grep() local
|
H A D | tok822_parse.c | 161 #define SKIP(tp, cond) { \ argument 166 #define MOVE_COMMENT_AND_CONTINUE(tp, right) { \ argument 173 #define SKIP_MOVE_COMMENT(tp, cond, right) { \ argument 203 TOK822 *tp; in tok822_internalize() local 275 TOK822 *tp; in tok822_externalize() local 410 static int tok822_append_space(TOK822 *tp) in tok822_append_space() 433 TOK822 *tp; in tok822_scan_limit() local 488 TOK822 *tp; in tok822_parse_limit() local 569 static void tok822_quote_atom(TOK822 *tp) in tok822_quote_atom() 589 static const char *tok822_comment(TOK822 *tp, const char *str) in tok822_comment() [all …]
|
/netbsd-src/sys/arch/vax/vax/ |
H A D | gencons.c | 105 struct tty *tp; in gencnopen() local 143 struct tty *tp = gc_softc[minor(dev)].gencn_tty; in gencnclose() local 160 struct tty *tp = gc_softc[minor(dev)].gencn_tty; in gencnread() local 168 struct tty *tp = gc_softc[minor(dev)].gencn_tty; in gencnwrite() local 176 struct tty *tp = gc_softc[minor(dev)].gencn_tty; in gencnpoll() local 184 struct tty *tp = gc_softc[minor(dev)].gencn_tty; in gencnioctl() local 194 gencnstart(struct tty *tp) in gencnstart() 222 struct tty *tp = sc->gencn_tty; in gencnrint() local 252 struct tty *tp = sc->gencn_tty; in gencntint() local 264 gencnparam(struct tty *tp, struct termios *t) in gencnparam()
|
/netbsd-src/sys/dev/qbus/ |
H A D | dl.c | 282 struct tty *tp = sc->sc_tty; in dlrint() local 322 struct tty *tp = sc->sc_tty; in dlxint() local 333 struct tty *tp; in dlopen() local 375 struct tty *tp = sc->sc_tty; in dlclose() local 389 struct tty *tp = sc->sc_tty; in dlread() local 398 struct tty *tp = sc->sc_tty; in dlwrite() local 407 struct tty *tp = sc->sc_tty; in dlpoll() local 416 struct tty *tp = sc->sc_tty; in dlioctl() local 458 dlstop(struct tty *tp, int flag) in dlstop() 468 dlstart(struct tty *tp) in dlstart() [all …]
|
/netbsd-src/sys/arch/sun2/dev/ |
H A D | pcons.c | 133 struct tty *tp; in pconsopen() local 170 struct tty *tp = sc->of_tty; in pconsclose() local 183 struct tty *tp = sc->of_tty; in pconsread() local 192 struct tty *tp = sc->of_tty; in pconswrite() local 201 struct tty *tp = sc->of_tty; in pconspoll() local 210 struct tty *tp = sc->of_tty; in pconsioctl() local 229 pconsstart(struct tty *tp) in pconsstart() 255 pconsparam(struct tty *tp, struct termios *t) in pconsparam() 268 struct tty *tp = sc->of_tty; in pcons_poll() local
|
/netbsd-src/sys/arch/sparc64/dev/ |
H A D | pcons.c | 135 struct tty *tp; in pconsopen() local 172 struct tty *tp = sc->of_tty; in pconsclose() local 185 struct tty *tp = sc->of_tty; in pconsread() local 194 struct tty *tp = sc->of_tty; in pconswrite() local 203 struct tty *tp = sc->of_tty; in pconspoll() local 212 struct tty *tp = sc->of_tty; in pconsioctl() local 229 pconsstart(struct tty *tp) in pconsstart() 255 pconsparam(struct tty *tp, struct termios *t) in pconsparam() 267 struct tty *tp = sc->of_tty; in pcons_poll() local
|
/netbsd-src/sys/arch/sun3/dev/ |
H A D | kd.c | 118 struct tty *tp; in kd_init() local 147 struct tty *tp; in kdopen() local 198 struct tty *tp; kdclose() local 219 struct tty *tp; kdread() local 231 struct tty *tp; kdwrite() local 243 struct tty *tp; kdpoll() local 255 struct tty *tp; kdioctl() local 277 kdparam(struct tty * tp,struct termios * t) kdparam() argument 290 kdstart(struct tty * tp) kdstart() argument 336 struct tty *tp = tpaddr; kd_later() local 353 kd_putfb(struct tty * tp) kd_putfb() argument 409 struct tty *tp; kd_cons_input() local [all...] |
/netbsd-src/sys/arch/mips/adm5120/dev/ |
H A D | uart.c | 129 struct tty *tp; in uart_attach() local 203 struct tty *tp = sc->sc_tty; in uart_open() local 235 struct tty *tp = sc->sc_tty; in uart_close() local 247 struct tty *tp = sc->sc_tty; in uart_read() local 256 struct tty *tp = sc->sc_tty; in uart_write() local 265 struct tty *tp = sc->sc_tty; in uart_poll() local 274 struct tty *tp = sc->sc_tty; in uart_ioctl() local 284 uart_param(struct tty *tp, struct termios *t) in uart_param() 300 uart_start(struct tty *tp) in uart_start() 321 uart_stop(struct tty *tp, int flag) in uart_stop() [all …]
|
/netbsd-src/bin/ksh/ |
H A D | table.c | 33 tinit(tp, ap, tsize) in tinit() argument 46 texpand(tp, nsize) in texpand() argument 82 mytsearch(tp, n, h) in mytsearch() argument 105 tenter(tp, n, h) in tenter() argument 154 ksh_twalk(ts, tp) in ksh_twalk() argument 182 tsort(tp) in tsort() argument 206 tprintinfo(tp) in tprintinfo() argument
|