Lines Matching defs:whence
2687 pgoff_t index, pgoff_t end, int whence)
2701 if (whence == SEEK_DATA)
2707 if (whence == SEEK_HOLE) {
2719 (page && whence == SEEK_DATA) ||
2720 (!page && whence == SEEK_HOLE)) {
2733 static loff_t shmem_file_llseek(struct file *file, loff_t offset, int whence)
2740 if (whence != SEEK_DATA && whence != SEEK_HOLE)
2741 return generic_file_llseek_size(file, offset, whence,
2751 new_offset = shmem_seek_hole_data(mapping, start, end, whence);
2756 else if (whence == SEEK_DATA)