Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/tty/
Dn_tty.c117 size_t read_tail; member
136 return ldata->read_head - ldata->read_tail; in read_cnt()
224 return head - ldata->read_tail; in chars_in_buffer()
249 if (ldata->icanon && ldata->canon_head == ldata->read_tail) in n_tty_check_throttle()
325 ldata->read_head = ldata->canon_head = ldata->read_tail = 0; in reset_buffer_flags()
1713 size_t tail = smp_load_acquire(&ldata->read_tail); in n_tty_receive_buf_common()
1801 ldata->line_start = ldata->read_tail; in n_tty_set_termios()
1803 ldata->canon_head = ldata->read_tail; in n_tty_set_termios()
1935 return ldata->canon_head != ldata->read_tail; in input_available_p()
1937 return ldata->commit_head - ldata->read_tail >= amt; in input_available_p()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_perf.c545 u32 head, tail, read_tail; in oa_buffer_check_unlocked() local
574 read_tail = stream->oa_buffer.tail - gtt_offset; in oa_buffer_check_unlocked()
589 while (OA_TAKEN(tail, read_tail) >= report_size) { in oa_buffer_check_unlocked()