Lines Matching refs:whence
669 static loff_t seek_hole_data(struct file *file, loff_t offset, int whence) in seek_hole_data() argument
686 if (whence == SEEK_DATA) in seek_hole_data()
698 if ((length == 0 && whence == SEEK_HOLE) || in seek_hole_data()
699 (length && whence == SEEK_DATA)) in seek_hole_data()
727 if ((length == 0 && whence == SEEK_HOLE) || in seek_hole_data()
728 (length && whence == SEEK_DATA)) { in seek_hole_data()
739 if (whence == SEEK_DATA) in seek_hole_data()
750 static loff_t squashfs_llseek(struct file *file, loff_t offset, int whence) in squashfs_llseek() argument
754 switch (whence) { in squashfs_llseek()
756 return generic_file_llseek(file, offset, whence); in squashfs_llseek()
759 offset = seek_hole_data(file, offset, whence); in squashfs_llseek()