Searched refs:valid_cnt (Results 1 – 1 of 1) sorted by relevance
54 valid_cnt: i32, field76 if self.valid_cnt != 0 { in poll()89 if self.valid_cnt as usize != PIPE_BUFF_SIZE { in poll()108 return self.valid_cnt as usize == PIPE_BUFF_SIZE; in buf_full()131 valid_cnt: 0, in new()174 return inode.valid_cnt > 0 || inode.writer == 0; in readable()209 while inode.valid_cnt == 0 { in read_at()234 let mut num = inode.valid_cnt as usize; in read_at()238 let mut end = (inode.valid_cnt as usize + inode.read_pos as usize) % PIPE_BUFF_SIZE; in read_at()240 if len < inode.valid_cnt as usize { in read_at()[all …]