Lines Matching refs:pos
25 extern "C" ssize_t _kern_readv(int fd, off_t pos, const struct iovec *vecs, size_t count);
26 extern "C" ssize_t _kern_writev(int fd, off_t pos, const struct iovec *vecs, size_t count);
58 fssh_off_t pos = -1;
60 if (FSShell::restricted_file_restrict_io(fd, pos, length) < 0)
72 fssh_readv_pos(int fd, fssh_off_t pos, const struct fssh_iovec *vec, int count)
79 if (FSShell::restricted_file_restrict_io(fd, pos, length) < 0)
83 return readv_pos(fd, pos, systemVecs, count);
85 return _kern_readv(fd, pos, systemVecs, count);
97 fssh_off_t pos = -1;
99 if (FSShell::restricted_file_restrict_io(fd, pos, length) < 0)
111 fssh_writev_pos(int fd, fssh_off_t pos, const struct fssh_iovec *vec, int count)
118 if (FSShell::restricted_file_restrict_io(fd, pos, length) < 0)
122 return writev_pos(fd, pos, systemVecs, count);
124 return _kern_writev(fd, pos, systemVecs, count);