Searched refs:valid_cnt (Results 1 – 1 of 1) sorted by relevance
12 volatile unsigned int valid_cnt; member39 while (pipe_ptr->data.valid_cnt == 0) in pipe_read()47 for (i = 0; i < pipe_ptr->data.valid_cnt; i++) in pipe_read()56 pipe_ptr->data.valid_cnt = pipe_ptr->data.valid_cnt - i; 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()82 if (i - pipe_ptr->data.valid_cnt == count) in pipe_write()89 pipe_ptr->data.valid_cnt += count; in pipe_write()120 pipe_ptr->data.valid_cnt = 0; in pipe_alloc()