Home
last modified time | relevance | path

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

/system/dev/misc/pty/
A Dpty-fifo.c10 static_assert((PTY_FIFO_SIZE & (PTY_FIFO_SIZE - 1)) == 0, "fifo size not power of two");
12 #define PTY_FIFO_MASK (PTY_FIFO_SIZE - 1)
15 size_t avail = PTY_FIFO_SIZE - (fifo->head - fifo->tail); in pty_fifo_write()
25 avail = PTY_FIFO_SIZE - offset; in pty_fifo_write()
45 avail = PTY_FIFO_SIZE - offset; in pty_fifo_read()
A Dpty-fifo.h15 #define PTY_FIFO_SIZE (4096) macro
20 uint8_t data[PTY_FIFO_SIZE];
31 return (fifo->head - fifo->tail) == PTY_FIFO_SIZE; in pty_fifo_is_full()
A Dpty-core.c370 if (len > PTY_FIFO_SIZE) { in pty_server_send()
371 len = PTY_FIFO_SIZE; in pty_server_send()

Completed in 6 milliseconds