| /dragonfly/contrib/gdb-7/gdb/ |
| HD | ser-base.c | 67 reschedule (struct serial *scb) in reschedule() argument 69 if (serial_is_async_p (scb)) in reschedule() 73 switch (scb->async_state) in reschedule() 76 if (scb->bufcnt == 0) in reschedule() 80 delete_file_handler (scb->fd); in reschedule() 81 next_state = create_timer (0, push_event, scb); in reschedule() 85 if (scb->bufcnt == 0) in reschedule() 87 add_file_handler (scb->fd, fd_event, scb); in reschedule() 92 next_state = create_timer (0, push_event, scb); in reschedule() 96 if (scb->bufcnt == 0) in reschedule() [all …]
|
| HD | serial.c | 171 struct serial *scb; in serial_for_fd() local 173 for (scb = scb_base; scb; scb = scb->next) in serial_for_fd() 174 if (scb->fd == fd) in serial_for_fd() 175 return scb; in serial_for_fd() 185 struct serial *scb; in serial_open() local 211 scb = XMALLOC (struct serial); in serial_open() 213 scb->ops = ops; in serial_open() 215 scb->bufcnt = 0; in serial_open() 216 scb->bufp = scb->buf; in serial_open() 217 scb->error_fd = -1; in serial_open() [all …]
|
| HD | ser-unix.c | 79 static int hardwire_open (struct serial *scb, const char *name); 80 static void hardwire_raw (struct serial *scb); 81 static int wait_for (struct serial *scb, int timeout); 82 static int hardwire_readchar (struct serial *scb, int timeout); 83 static int do_hardwire_readchar (struct serial *scb, int timeout); 85 static int hardwire_setbaudrate (struct serial *scb, int rate); 86 static void hardwire_close (struct serial *scb); 87 static int get_tty_state (struct serial *scb, 89 static int set_tty_state (struct serial *scb, 91 static serial_ttystate hardwire_get_tty_state (struct serial *scb); [all …]
|
| HD | serial.h | 49 extern int serial_is_open (struct serial *scb); 61 extern void serial_close (struct serial *scb); 65 extern void serial_ref (struct serial *scb); 69 extern void serial_unref (struct serial *scb); 86 extern void serial_un_fdopen (struct serial *scb); 105 extern int serial_readchar (struct serial *scb, int timeout); 110 extern int serial_write (struct serial *scb, const char *str, int len); 133 extern int serial_send_break (struct serial *scb); 137 extern void serial_raw (struct serial *scb); 142 extern serial_ttystate serial_get_tty_state (struct serial *scb); [all …]
|
| HD | ser-base.h | 26 extern int generic_readchar (struct serial *scb, int timeout, 27 int (*do_readchar) (struct serial *scb, 29 extern int ser_base_flush_output (struct serial *scb); 30 extern int ser_base_flush_input (struct serial *scb); 31 extern int ser_base_send_break (struct serial *scb); 32 extern void ser_base_raw (struct serial *scb); 33 extern serial_ttystate ser_base_get_tty_state (struct serial *scb); 34 extern serial_ttystate ser_base_copy_tty_state (struct serial *scb, 36 extern int ser_base_set_tty_state (struct serial *scb, 38 extern void ser_base_print_tty_state (struct serial *scb, [all …]
|
| HD | ser-tcp.c | 86 wait_for_connect (struct serial *scb, int *polls) in wait_for_connect() argument 120 if (scb) in wait_for_connect() 125 FD_SET (scb->fd, &rset); in wait_for_connect() 137 n = select (scb->fd + 1, &rset, &wset, &eset, &t); in wait_for_connect() 156 net_open (struct serial *scb, const char *name) in net_open() argument 210 scb->fd = socket (PF_INET, SOCK_DGRAM, 0); in net_open() 212 scb->fd = socket (PF_INET, SOCK_STREAM, 0); in net_open() 214 if (scb->fd == -1) in net_open() 219 ioctl (scb->fd, FIONBIO, &ioarg); in net_open() 223 n = connect (scb->fd, (struct sockaddr *) &sockaddr, sizeof (sockaddr)); in net_open() [all …]
|
| HD | ser-pipe.c | 36 static int pipe_open (struct serial *scb, const char *name); 37 static void pipe_close (struct serial *scb); 49 pipe_open (struct serial *scb, const char *name) in pipe_open() argument 144 scb->fd = pdes[0]; in pipe_open() 145 scb->error_fd = err_pdes[0]; in pipe_open() 146 scb->state = state; in pipe_open() 155 pipe_close (struct serial *scb) in pipe_close() argument 157 struct pipe_state *state = scb->state; in pipe_close() 159 close (scb->fd); in pipe_close() 160 scb->fd = -1; in pipe_close() [all …]
|
| HD | ser-tcp.h | 25 extern int net_open (struct serial *scb, const char *name); 26 extern void net_close (struct serial *scb); 27 extern int net_read_prim (struct serial *scb, size_t count); 28 extern int net_write_prim (struct serial *scb, const void *buf, size_t count); 29 extern int ser_tcp_send_break (struct serial *scb);
|
| HD | ser-unix.h | 23 extern int ser_unix_read_prim (struct serial *scb, size_t count); 24 extern int ser_unix_write_prim (struct serial *scb, const void *buf,
|
| HD | remote.c | 11504 remote_async_serial_handler (struct serial *scb, void *context) in remote_async_serial_handler() argument
|
| /dragonfly/sys/netinet/ |
| HD | tcp_sack.c | 76 static int insert_block(struct scoreboard *scb, 87 struct scoreboard *scb = &tp->scb; in tcp_sack_tcpcb_init() local 89 scb->nblocks = 0; in tcp_sack_tcpcb_init() 90 TAILQ_INIT(&scb->sackblocks); in tcp_sack_tcpcb_init() 91 scb->lastfound = NULL; in tcp_sack_tcpcb_init() 100 sack_block_lookup(struct scoreboard *scb, tcp_seq seq, struct sackblock **sb) in sack_block_lookup() argument 103 struct sackblock *hint = scb->lastfound; in sack_block_lookup() 106 if (TAILQ_EMPTY(&scb->sackblocks)) { in sack_block_lookup() 113 cur = TAILQ_FIRST(&scb->sackblocks); in sack_block_lookup() 115 prev = TAILQ_LAST(&scb->sackblocks, sackblock_list); in sack_block_lookup() [all …]
|
| HD | tcp_var.h | 283 struct scoreboard scb; /* sack scoreboard */ member 691 int tcp_sack_bytes_below(const struct scoreboard *scb, tcp_seq seq); 692 void tcp_sack_destroy(struct scoreboard *scb); 701 tcp_sack_has_sacked(const struct scoreboard *scb, u_int amount); 708 tcp_sack_islost(const struct scoreboard *scb, tcp_seq seq); 709 void tcp_sack_update_lostseq(struct scoreboard *scb, tcp_seq snd_una, 712 void tcp_sack_revert_scoreboard(struct scoreboard *scb, tcp_seq snd_una, 714 void tcp_sack_save_scoreboard(struct scoreboard *scb); 716 void tcp_sack_skip_sacked(struct scoreboard *scb, tcp_seq *prexmt);
|
| HD | tcp_timer.c | 487 tcp_sack_save_scoreboard(&tp->scb); in tcp_save_congestion_state() 514 tcp_sack_revert_scoreboard(&tp->scb, tp->snd_una); in tcp_revert_congestion_state()
|
| HD | tcp_output.c | 234 nsacked = tcp_sack_bytes_below(&tp->scb, tp->snd_nxt); in tcp_output() 283 tcp_sack_skip_sacked(&tp->scb, &tp->snd_nxt); in tcp_output()
|
| HD | tcp_input.c | 313 tcp_sack_has_sacked(&tp->scb, ownd - tp->t_maxseg))) 368 tcp_sack_update_lostseq(&tp->scb, tp->snd_una, in tcp_ncr_update_rxtthresh() 3592 tcp_sack_islost(&tp->scb, tp->snd_una)) in tcp_recv_dupack() 3605 tcp_sack_islost(&tp->scb, tp->snd_una)) { in tcp_recv_dupack()
|
| HD | tcp_subr.c | 1039 tcp_sack_destroy(&tp->scb); in tcp_close()
|
| /dragonfly/sys/bus/u4b/ |
| HD | usb_controller.h | 48 typedef void (usb_bus_mem_cb_t)(struct usb_bus *bus, usb_bus_mem_sub_cb_t *scb);
|
| /dragonfly/contrib/gdb-7/gdb/python/ |
| HD | python.c | 799 gdbpy_run_events (struct serial *scb, void *context) in gdbpy_run_events() argument
|
| /dragonfly/contrib/gcc-4.7/gcc/doc/ |
| HD | md.texi | 3384 scb register. 3387 cnt + lcb + scb register.
|