Searched refs:read_pos (Results 1 – 1 of 1) sorted by relevance
55 read_pos: i32, field132 read_pos: 0, in new()236 let start = inode.read_pos 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()241 end = (len + inode.read_pos as usize) % PIPE_BUFF_SIZE; in read_at()255 inode.read_pos = (inode.read_pos + num as i32) % PIPE_BUFF_SIZE as i32; in read_at()