Searched refs:read_pos (Results 1 – 1 of 1) sorted by relevance
13 unsigned int read_pos; member53 copy_to_user(buf + i, &pipe_ptr->buf[pipe_ptr->data.read_pos], sizeof(char)); in pipe_read()54 pipe_ptr->data.read_pos = (pipe_ptr->data.read_pos + 1) % PIPE_BUFF_SIZE; in pipe_read()118 pipe_ptr->data.read_pos = 0; in pipe_alloc()