Home
last modified time | relevance | path

Searched refs:echo_buf (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs120 echo_buf: [u8; NTTY_BUFSIZE], field
151 echo_buf: [0; NTTY_BUFSIZE], in new()
891 self.echo_buf[ntty_buf_mask(self.echo_head)] = c; in add_echo_byte()
1261 let c = self.echo_buf[ntty_buf_mask(tail)]; in echoes()
1270 let op = EchoOperation::from_u8(self.echo_buf[ntty_buf_mask(tail + 1)]); in echoes()
1306 let mut char_num = self.echo_buf[ntty_buf_mask(tail + 2)] as usize; in echoes()
1398 if self.echo_buf[ntty_buf_mask(tail)] == EchoOperation::Start.to_u8() { in echoes()
1399 if self.echo_buf[ntty_buf_mask(tail + 1)] == EchoOperation::EraseTab.to_u8() { in echoes()