Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs34 fn ntty_buf_mask(idx: usize) -> usize { in ntty_buf_mask() function
285 let mut head = ntty_buf_mask(self.read_head); in receive_buf_real_raw()
295 head = ntty_buf_mask(self.read_head); in receive_buf_real_raw()
486 while ntty_buf_mask(tail) != ntty_buf_mask(self.read_head) { in receive_special_char()
487 self.echo_char(self.read_buf[ntty_buf_mask(tail)], &termios); in receive_special_char()
502 self.read_flags.set(ntty_buf_mask(self.read_head), true); in receive_special_char()
503 self.read_buf[ntty_buf_mask(self.read_head)] = c; in receive_special_char()
515 self.read_flags.set(ntty_buf_mask(self.read_head), true); in receive_special_char()
516 self.read_buf[ntty_buf_mask(self.read_head)] = c; in receive_special_char()
539 self.read_buf[ntty_buf_mask(self.read_head)] = c; in receive_special_char()
[all …]