Lines Matching refs:startOffset
28 FileRestriction(fssh_dev_t device, fssh_ino_t node, fssh_off_t startOffset, in FileRestriction()
33 startOffset(startOffset), in FileRestriction()
40 fssh_off_t startOffset; member
76 add_file_restriction(const char* fileName, fssh_off_t startOffset, in add_file_restriction() argument
93 restriction = new FileRestriction(device, node, startOffset, endOffset); in add_file_restriction()
105 lseek(fd, restriction->startOffset, SEEK_SET); in restricted_file_opened()
133 pos += restriction->startOffset; in restricted_file_restrict_io()
135 if (pos < restriction->startOffset || pos > restriction->endOffset) { in restricted_file_restrict_io()
156 st->fssh_st_size = restriction->endOffset - restriction->startOffset; in restricted_file_restrict_stat()
201 pos = restriction->startOffset + offset; in fssh_lseek()
205 if (pos < restriction->startOffset) { in fssh_lseek()
212 pos -= restriction->startOffset; in fssh_lseek()