Searched refs:PIPE_BUFF_SIZE (Results 1 – 1 of 1) sorted by relevance
22 #define PIPE_BUFF_SIZE (1024 - sizeof(struct pipe_data_t)) macro27 char buf[PIPE_BUFF_SIZE];54 pipe_ptr->data.read_pos = (pipe_ptr->data.read_pos + 1) % PIPE_BUFF_SIZE; in pipe_read()72 while (pipe_ptr->data.valid_cnt + count >= PIPE_BUFF_SIZE) in pipe_write()80 for (i = pipe_ptr->data.valid_cnt; i < PIPE_BUFF_SIZE; i++) in pipe_write()87 pipe_ptr->data.write_pos = (pipe_ptr->data.write_pos + 1) % PIPE_BUFF_SIZE; in pipe_write()121 memset(pipe_ptr->buf, 0, PIPE_BUFF_SIZE); in pipe_alloc()