Searched refs:NTTY_BUFSIZE (Results 1 – 1 of 1) sorted by relevance
29 pub const NTTY_BUFSIZE: usize = 4096; constant32 pub const ECHO_DISCARD_WATERMARK: usize = NTTY_BUFSIZE - (ECHO_BLOCK + 32);35 return idx & (NTTY_BUFSIZE - 1); in ntty_buf_mask()119 read_buf: [u8; NTTY_BUFSIZE],120 echo_buf: [u8; NTTY_BUFSIZE],122 read_flags: StaticBitmap<NTTY_BUFSIZE>,150 read_buf: [0; NTTY_BUFSIZE], in new()151 echo_buf: [0; NTTY_BUFSIZE], in new()166 let i = i & (NTTY_BUFSIZE - 1); in read_at()188 let mut room = NTTY_BUFSIZE - (self.read_head - tail); in receive_buf_common()[all …]