Home
last modified time | relevance | path

Searched defs:pipe_dev_s (Results 1 – 1 of 1) sorted by relevance

/third_party/NuttX/drivers/pipes/
Dpipe_common.h109 struct pipe_dev_s struct
111 char name[PATH_MAX + 1];
112 sem_t d_bfsem; /* Used to serialize access to d_buffer and indices */
113 sem_t d_rdsem; /* Empty buffer - Reader waits for data write */
114 sem_t d_wrsem; /* Full buffer - Writer waits for data read */
115 pipe_ndx_t d_wrndx; /* Index in d_buffer to save next byte written */
116 pipe_ndx_t d_rdndx; /* Index in d_buffer to return the next byte read */
117 pipe_ndx_t d_bufsize; /* allocated size of d_buffer in bytes */
141 struct pipe_dev_s *pipecommon_allocdev(size_t bufsize, const char *name); argument