Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs186 let tail = self.read_tail; in receive_buf_common() localVariable
188 let mut room = NTTY_BUFSIZE - (self.read_head - tail); in receive_buf_common()
196 overflow = self.icanon && self.canon_head == tail; in receive_buf_common()
482 let mut tail = self.canon_head; in receive_special_char() localVariable
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()
488 tail += 1; in receive_special_char()
663 let mut tail = self.read_head; in eraser() localVariable
665 while ntty_buf_mask(tail) != ntty_buf_mask(self.canon_head) { in eraser()
666 tail -= 1; in eraser()
[all …]
/DragonOS/kernel/src/libs/
H A Drbtree.rs601 tail: NodePtr<K, V>, field
649 if self.tail.is_null() { in next_back()
653 let prev = self.tail.prev(); in next_back()
654 let obj = unsafe { Box::from_raw(self.tail.0) }; in next_back()
656 self.tail = prev; in next_back()
680 tail: NodePtr<K, V>, field
689 tail: self.tail, in clone()
727 let (k, v) = unsafe { (&(*self.tail.0).key, &(*self.tail.0).value) }; in next_back()
728 self.tail = self.tail.prev(); in next_back()
752 tail: NodePtr<K, V>, field
[all …]
/DragonOS/kernel/crates/rbpf/
H A DREADME.md640 a high number of helpers, several kinds of maps, tail calls.
698 * Maybe one day, tail calls?