Lines Matching refs:kb
2165 u8 *kb = kbuf; in n_tty_read() local
2189 else if (canon_copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2190 return kb - kbuf; in n_tty_read()
2192 if (copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2193 return kb - kbuf; in n_tty_read()
2202 return kb - kbuf; in n_tty_read()
2242 if (kb != kbuf) in n_tty_read()
2248 *kb++ = cs; in n_tty_read()
2291 if (canon_copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2295 if (packet && kb == kbuf) { in n_tty_read()
2296 *kb++ = TIOCPKT_DATA; in n_tty_read()
2309 if (copy_from_read_buf(tty, &kb, &nr) && kb - kbuf >= minimum) { in n_tty_read()
2313 return kb - kbuf; in n_tty_read()
2319 if (kb - kbuf >= minimum) in n_tty_read()
2337 if (kb - kbuf) in n_tty_read()
2338 retval = kb - kbuf; in n_tty_read()