Searched refs:read_pos (Results 1 – 1 of 1) sorted by relevance
28 read_pos: i32, field42 read_pos: 0, in new()106 let start = inode.read_pos as usize; in read_at()108 let mut end = (inode.valid_cnt as usize + inode.read_pos as usize) % PIPE_BUFF_SIZE; in read_at()111 end = (len + inode.read_pos as usize) % PIPE_BUFF_SIZE; in read_at()125 inode.read_pos = (inode.read_pos + num as i32) % PIPE_BUFF_SIZE as i32; in read_at()