Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 1 of 1) sorted by relevance

/mm/
Dshmem.c2655 pgoff_t index, pgoff_t end, int whence) in shmem_seek_hole_data() argument
2669 if (whence == SEEK_DATA) in shmem_seek_hole_data()
2675 if (whence == SEEK_HOLE) { in shmem_seek_hole_data()
2687 (page && whence == SEEK_DATA) || in shmem_seek_hole_data()
2688 (!page && whence == SEEK_HOLE)) { in shmem_seek_hole_data()
2701 static loff_t shmem_file_llseek(struct file *file, loff_t offset, int whence) in shmem_file_llseek() argument
2708 if (whence != SEEK_DATA && whence != SEEK_HOLE) in shmem_file_llseek()
2709 return generic_file_llseek_size(file, offset, whence, in shmem_file_llseek()
2719 new_offset = shmem_seek_hole_data(mapping, start, end, whence); in shmem_file_llseek()
2724 else if (whence == SEEK_DATA) in shmem_file_llseek()