Home
last modified time | relevance | path

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

/drivers/tty/
Dn_tty.c143 static inline unsigned char *read_buf_addr(struct n_tty_data *ldata, size_t i) in read_buf_addr() function
324 *read_buf_addr(ldata, ldata->read_head) = c; in put_tty_queue()
1549 memcpy(read_buf_addr(ldata, head), cp, n); in n_tty_receive_buf_real_raw()
1556 memcpy(read_buf_addr(ldata, head), cp, n); in n_tty_receive_buf_real_raw()
2017 retval = copy_to_user(*b, read_buf_addr(ldata, tail), n); in copy_from_read_buf()
2020 tty_audit_add_data(tty, read_buf_addr(ldata, tail), n, in copy_from_read_buf()
2022 zero_buffer(tty, read_buf_addr(ldata, tail), n); in copy_from_read_buf()
2104 ret = tty_copy_to_user(tty, *b, read_buf_addr(ldata, tail), size); in canon_copy_from_read_buf()
2109 ret = tty_copy_to_user(tty, *b, read_buf_addr(ldata, tail), n); in canon_copy_from_read_buf()