Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/ipc/
Dpipe.c13 unsigned int read_pos; member
53 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()